Hi everyone,
I went through a couple of articles over the net to understand worker process and application pools but somehow i am having troubles understanding them.
Can someone help me understand in simple words what is an application pool and how the app pools contain worker process.
does our .net application run in a worker process ?
When a client requests for a asp.net resource, the request goes to the worker process which in turn provides the response ?
Thanks
Loading

Sam HobbsPosted Oct 11, 2011, 1:34 PM
The term application has a different meaning for IIS. Since a server can have hundreds of sessions, it would be too innefficient for each one to have a separate process / address space. So in IIS, ASP applications share processes and address spaces with others.
The problem with that is that since they are in the same address space, the sessions can address memory for other sessions and that is a potential security problem. So Windows has a way to keep the various sessions separate from each other, but I forget what that is called.
You use the term "worker process". I also don't know what Microsoft calls them. Whatever they are called, each one is called an application in the traditional definition of application. In my article, I explain that there is one and only one application for each process / address space. In the case of an IIS worker process, each one can have very many IIS "applications".
VulpesPosted Oct 11, 2011, 12:20 PM
Vipul KelkarPosted Oct 11, 2011, 11:49 AM
Can i create multiple application pools and each one have a worker process so that if one fails the other would keep the application up and running ?
VulpesPosted Oct 11, 2011, 11:47 AM
Vipul KelkarPosted Oct 11, 2011, 11:44 AM
So does this mean that we have multiple application pools and we have multiple instances of the worker process running on a server. An app pool can have only ONE worker process running inside it ?? And this worker process may be running either a single application or multiple application.
correct me i may be getting it wrong
VulpesPosted Oct 11, 2011, 9:44 AM