467,925 Members | 1,991 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 467,925 developers. It's quick & easy.

Application pool and Worker process

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

Dec 1 '05 #1
  • viewed: 3657
Share:
5 Replies
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

--

MY ASP.Net tutorials
http://www.openmymind.net/

"J-T" <J-*@nospam.com> wrote in message
news:eM*************@TK2MSFTNGP15.phx.gbl...
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

Dec 1 '05 #2
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
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl...
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

--

MY ASP.Net tutorials
http://www.openmymind.net/

"J-T" <J-*@nospam.com> wrote in message
news:eM*************@TK2MSFTNGP15.phx.gbl...
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


Dec 1 '05 #3
yup

Karl

--

MY ASP.Net tutorials
http://www.openmymind.net/

"J-T" <Re**@Reza.Com> wrote in message
news:OI*************@TK2MSFTNGP10.phx.gbl...
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
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl...
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

--

MY ASP.Net tutorials
http://www.openmymind.net/

"J-T" <J-*@nospam.com> wrote in message
news:eM*************@TK2MSFTNGP15.phx.gbl...
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



Dec 1 '05 #4
J-T
>>No. That's the point of tha ApplicationPool, all applications within the
pool share the same worker process.

What if we create a web garden? then there are multiple worker processes in
one application pool,right?

Thanks

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:uw**************@TK2MSFTNGP11.phx.gbl... yup

Karl

--

MY ASP.Net tutorials
http://www.openmymind.net/

"J-T" <Re**@Reza.Com> wrote in message
news:OI*************@TK2MSFTNGP10.phx.gbl...
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
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl...
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

--

MY ASP.Net tutorials
http://www.openmymind.net/

"J-T" <J-*@nospam.com> wrote in message
news:eM*************@TK2MSFTNGP15.phx.gbl...
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




Dec 1 '05 #5
Yes, I believe so.

Karl

--

MY ASP.Net tutorials
http://www.openmymind.net/

"J-T" <J-*@nospam.com> wrote in message
news:uT**************@TK2MSFTNGP14.phx.gbl...
No. That's the point of tha ApplicationPool, all applications within the
pool share the same worker process.


What if we create a web garden? then there are multiple worker processes
in one application pool,right?

Thanks

"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:uw**************@TK2MSFTNGP11.phx.gbl...
yup

Karl

--

MY ASP.Net tutorials
http://www.openmymind.net/

"J-T" <Re**@Reza.Com> wrote in message
news:OI*************@TK2MSFTNGP10.phx.gbl...
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
"Karl Seguin" <karl REMOVE @ REMOVE openmymind REMOVEMETOO . ANDME net>
wrote in message news:%2****************@TK2MSFTNGP12.phx.gbl...
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

--

MY ASP.Net tutorials
http://www.openmymind.net/

"J-T" <J-*@nospam.com> wrote in message
news:eM*************@TK2MSFTNGP15.phx.gbl...
>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
>
>
>



Dec 5 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

2 posts views Thread by Lars Netzel | last post: by
2 posts views Thread by jeff29_b | last post: by
4 posts views Thread by Frank Walsh | last post: by
4 posts views Thread by Diffident | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.