Application pool and Worker process

J

J-T

I guess I'm a litte bit confused about app pool and worker process.

In IIS 6.0 We have a concept of worker processes and application pools. As I
understand it, we can have multiple worker process per appliction pool. Each
worker process is dedicated to a pool. If I assign only one application to a
applicaton pool then:

1) Can I have multiple worker processes assigned to that pool? If yes,what
is the advantage of doing so?

2) if the answer to the above question is yes,Will my application be
processed by many worker processes?

3) let's assume there are three worker processes in my application pool and
each one is for one application -App1,App2,App3 -How do I share an object
between all these three application ? about the state I guess I have to use
an state management tool from outside ,but about application variables I am
not sure.


Thanks a lot for your time
 
K

Karl Seguin

No. That's the point of tha ApplicationPool, all applications within the
pool share the same worker process.

Despite sharing the same worker process, they reside in different
AppDomains. The main way to communicate between AppDomains is to use .NET
remoting.

You should take a quick look at:
http://odetocode.com/Articles/305.aspx

Karl
 
J

J-T

Thanks for your reply,

So from what you've said ,if I assign 3 apps to a single application pool
,they are all in one worker process ,but in differnt App domains,right?
(ofcourse if they are written by .Net as the article states)

Thanks
 
J

J-T

No. That's the point of tha ApplicationPool, all applications within the
What if we create a web garden? then there are multiple worker processes in
one application pool,right?

Thanks
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,992
Messages
2,570,220
Members
46,805
Latest member
ClydeHeld1

Latest Threads

Top