IIS6 architecture model: Application Pools introduction, iis6pools
1. Overview
If your server is upgraded from Windows 5.0 to Windows, IIS is also upgraded to IIS6.0. In this case, IIS runs in IIS5.0 Isolation Mode.
If your server is newly installed with windows2003, IIS runs in Working Process Isolation Mode.
Therefore,There are two application isolation modes in IIS6.0: IIS5 Isolation Mode and work process Isolation Mode.
2. Purpose of Application Isolation
As a web application running platform, many web applications run in IIS, and the stability of each web application varies. To ensure high IIS stability and reliability,Each web application running in IIS must be independent of each other.. The crash of a web application will not cause the crash of other web applications or the crash of the entire IIS.
3. Working Process Isolation Mode
The New Application Isolation Mode provided by IIS6.0. Shows its composition structure:
In IIS6.0, the work process Isolation Mode mainly has the following points::
In kernel mode, the HTTP. SYS driver is implemented to listen to http requests.
The wwwservice is independent from the inetinfo.exe process and runs in a new process.SVCHost.exe.
Cmd> tasklist/svc
The WWW Service is only responsible for creating and managing the application pool.
The HTTP. SYS Driver communicates directly with the WorkerProcess in the application pool.
One or more web applications can be run in an application pool and managed by one or more worker processes.
In the WorkerProcess, the original WWW service function is implemented: to receive HTTP requests forwarded by http. SYS. The WWW Service will no longer be responsible for this part of work. Observe the svchost.exe process: