473,404 Members | 2,137 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,404 software developers and data experts.

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
5 3934
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

9
by: Abhishek Srivastava | last post by:
Hello All, 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...
2
by: Chris Langston | last post by:
I have a Web Server running IIS 5 or 6 on Windows 2K and Windows 2003 Server that is experiencing strange shutdown problems. We are using ASP.NET v1.1 and our application is written in VB.NET ...
2
by: Lars Netzel | last post by:
Hi We have an ASP.NET application running on a Live server and we have had some problems with the Application pool beeing recycled due to heavy load on the server. The load is really not that...
2
by: jeff29_b | last post by:
I am trying to figure why my HttpApplication object is periodically dropping out. I am running on windows 2003 with an app pool w3wp.exe process. The perfmon for the process says that the process...
4
by: Frank Walsh | last post by:
Hi, I'm experiencing a problem when my asp.net 1.1 application starts. It appears that when the application has not been used for 12 hours or so...I experience a much longer load time then if...
4
by: Diffident | last post by:
Hello All, IIS 6.0 - I have an application which resides in its own application pool. Does anyone know if we can create multiple application pools for the same application? If we can create...
3
by: Nalaka | last post by:
Hi, Can you tell me what type a things in asp.net code can crash... "application pool". Any example would do.... I was under imresiion that code cannot crash the app pool. Any direction is...
4
by: Dave | last post by:
I have a global.asax file with Application_Start defined and create some static data there and in another module used in the asp.net application and I realize that static data is shared amongst...
1
by: nicerun | last post by:
I'm using the Application_Start event at Global.asax.cs to invoke thread that do some job. I know that Application_Start event occurs when the very first request to Web Application received. -...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.