你的位置:首页 > 软件开发 > ASP.net > IIS app pools, worker processes, app domains

IIS app pools, worker processes, app domains

发布时间:2015-06-05 00:00:27
Copy from http://stackoverflow.com/questions/14105345/iis-app-pools-worker-processes-app-domains I try to say them with other words.I ...

Copy from  http://stackoverflow.com/questions/14105345/iis-app-pools-worker-processes-app-domains

 

I try to say them with other words.

In a server you can have many get='_blank'>asp.net sites that runs together. Each one site is an app domain.

You must assign to each of them one application pool. Many application domains (sites) can have the same application pool, and because they have the same application pool they run under the same processes, and under the same account - and they have the same settings of the pool. If this pool restarts, then all sites under that pools restarts.

Now each pool can have one or more worker process. Each worker process is a different program that's run your site, have their alone static variables, they different start stop calls etc. Different worker process are not communicate together, and the only way to exchange data is from common files or a common database. If you have more than one worker process and one of them make long time calculations, then the other can take care to handle the internet calls and show content.

When you assign many worker process to a single pool then you make the called web garden and your site is like to be run from more than one computer if a computer is one processing machine.

Each worker process can have many threads.

How the more worker process affect you:

原标题:IIS app pools, worker processes, app domains

关键词:IIS

IIS
*特别声明:以上内容来自于网络收集,著作权属原作者所有,如有侵权,请联系我们: admin#shaoqun.com (#换成@)。