Com+ vs IIS vs StandAlone

dotnet framework

    Next

  • 1. Another arraylist cleanup question
    I have a class AddressBook, with string variables. public class AddressBook { int ID; string name; string address; string email; /* Addressbook functions */ } And in another class i fill arraylist adressList with object of AddressBook. for(int i= 0;i <100; i++) { AddressBook address = new AddressBook(); address.FillObject();// Fills the data addressList.Add(masterSymbol); } Which is the best way of clearing memory. I understand addressList.Clear() will only clear the arraylist not memory alocated for objects. do i have to do something like this foreach (AddressBook address in addressList) { address = null; } addressList.Clear(); Thanks in advance Max
  • 2. what's the cost of casting an object to an interface
    in relation to number of interfaces that object implements. I have a weired design idea that needs classes to implement a lot(say tens) of interfaces. I an wondering how .net searches for the right one when an object is cast to an interface in the runtime. Is it a linear search, a binary search or a hashtable search?

Com+ vs IIS vs StandAlone

Postby Brent » Fri, 01 Dec 2006 11:10:19 GMT

As im sure most of you are aware of you can not host .Net services without 
IIS. This where my question comes in on what is the best practice on objects 
that you know will have to scale. With my understanding of .Net, if you host 
the process directly from a service, then every hit to the object is going 
to create a new object.. So if your getting 100,000 hits per minute (i know 
this is high but im using it as an example) then there will be 100,000 
objects created and destroyed. I assuming if i didn't work like this then it 
would be like apartment threading and only one call could happen at a time 
and there would be blocking. A lot of these objects will be in memory at the 
same time. Is my understanding of how things work lax or is this really is 
what going to happen? I would assume this would scale really poorly. This 
example could be a web service or say something you exposed with WCF.

My understanding of how IIS works is very limited. I'm sure that IIS has 
some time of redudancy threading to help the situation above. Am i right or 
am i wrong? So if you host under IIS would it scale any better?

Last comes com+. Which has facilities like object pooling & connection 
pooling and ect that i would think would allow these services to scale the 
best. Am i wrong?

So i guess the overall question is what is the differences between how each 
of these solutions would scale?  Which solution would be the best? Would 
there big a big difference

For simplicity lets leave server farms and clustering out of this.

Any help would be appreciated.

thanks,
Brent 



Similar Threads:

1.Standalone vs IIS vs COM+?

As im sure most of you are aware of you can not host .Net services without
IIS. This where my question comes in on what is the best practice on objects
that you know will have to scale. With my understanding of .Net, if you host
the process directly from a service, then every hit to the object is going
to create a new object.. So if your getting 100,000 hits per minute (i know
this is high but im using it as an example) then there will be 100,000
objects created and destroyed. I assuming if i didn't work like this then it
would be like apartment threading and only one call could happen at a time
and there would be blocking. A lot of these objects will be in memory at the
same time. Is my understanding of how things work lax or is this really is
what going to happen? I would assume this would scale really poorly. This
example could be a web service or say something you exposed with WCF.

My understanding of how IIS works is very limited. I'm sure that IIS has
some time of redudancy threading to help the situation above. Am i right or
am i wrong? So if you host under IIS would it scale any better?

Last comes com+. Which has facilities like object pooling & connection
pooling and ect that i would think would allow these services to scale the
best. Am i wrong?

So i guess the overall question is what is the differences between how each
of these solutions would scale?  Which solution would be the best? Would
there big a big difference

For simplicity lets leave server farms and clustering out of this.

Any help would be appreciated.

thanks,
Brent


2.ADplus vs IISState vs Debug Diag vs win dbg

Hi All,
I have a (asp,com,asp.net) solution that working in IIS with low
protection.

And crashes IIS once every 2-3 days.

Application has to for some reason run in low protection.

Its some asp or com component code that is causing it.

SO what is the difference between ADplus , IISState , Debug Diag , win
dbg.

which one is suitable to use in this case and why?

could some also explain how to approach this problem?should i deploy
all com and .net assemblies with bebug symbols?
Thanks
Sidd

3.dcom vs com+ vs remoting

Hello.

I am doing a research on dcom, com+ and remoting.

We are about to develop a web application consisting 3 tiers ( web server,
application server, db server )

We are going to develop front end in asp.net and ms sql in the back end.

The middle tier mostly will be grabbing data from the db and give the result
to the front end.

I'd like to know what would be the better way to do this.

Should I use only one object in the middle tier that communicate to all the
threads requested from the web server? ( i'd like to know the pres and
cons )

I heard that dcom is better than com+ in particular situation so I'd like to
know in what situation remoting would be the best fit in the middle tier and
why

Thanx in advance


4.COM object released on VS Web Server, but not on IIS

I have developed a Web Service that uses a COM Interop (PDFCreator). It is 
released (FinalReleaseComObject(object)) without any problem when executed 
using the Visual Studio Web Server, but when I run the web service using 
IIS, the task remains active on the Windows Task Manager.

Is there any explanation / solution?

Regards,

Alfons
 XXXX@XXXXX.COM  


5.ISA 2k vs IIS vs SUS

6. IIS time-taken vs Firebug Net panel vs Fiddler

7. IIS 5.1 installed after VS6, VS.2003, VS.2005

8. Cassini vs IIS for Web Projects in VS 05



Return to dotnet framework

 

Who is online

Users browsing this forum: No registered users and 77 guest