|
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 | |
Share:
|
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 | | |
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
| | |
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
| | |
>>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
| | |
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 > > >
| | This discussion thread is closed Replies have been disabled for this discussion. Similar topics
9 posts
views
Thread by Abhishek Srivastava |
last post: by
|
2 posts
views
Thread by Chris Langston |
last post: by
|
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
|
3 posts
views
Thread by Nalaka |
last post: by
|
4 posts
views
Thread by Dave |
last post: by
|
1 post
views
Thread by nicerun |
last post: by
| | | | | | | | | | |