IIS6 architecture model and process relationship, iis6 Architecture Model

Source: Internet
Author: User

IIS6 architecture model and process relationship, iis6 Architecture Model

Relationship between IIS6 architecture model and process

The architecture model of IIS 6 consists of the following three components:HTTP. SYS,W3SVCAndW3Core. As a brand new architecture, IIS6.0 has the following new features worth noting:

HTTP. SYS. New kernel listening mode

IIS6.0 New Application Isolation Mode-Working Process Isolation Mode

Application pool

Worker Process

Web Management Service (W3SVC)

The IIS 6 Architecture Model prevents users' applications from accessing or modifying key operating system data. It provides two processor access modes:User Mode)AndKernel Mode). As shown in:

Generally, the User program runs in User mode, while the operating system code runs in Kernel Mode. The Kernel Mode code allows access to all system memory and all CPU commands.

Comparison between IIS5 and IIS6 architecture models

In terms of Performance, IIS5 runs IIS and application in different processes, although they adopt Asynchronous Communication Based on Named Pipe, however, the impact of inter-process-based communication on performance cannot be fundamentally solved.

Considering the Reliability,IIS5Only one worker process can be run on one machine. Each Application runs in the same process. Although Application Domain-based isolation can provide certain Reliability, once the entire process crashes, all applications are affected. Therefore, we sometimes need to provide Process-based isolation.

Based on the Reliability Improvement, IIS 6 introduces the Application Pool.

ApplicationPool is an application container. in IIS 6, we can create several Application pools. When creating a Web Application, we specify an existing application Pool for it.

At runtime, an Application Pool corresponds to a Worker Process: w3wp.exe.

For IIS 6, multiple Worker processes can be run on the same machine at the same time. Each Application domain in each Worker Process corresponds to one Application. In this way, Application in the IIS 6 architecture model can not only provide Application Domain-level isolation, but also place different applications in different Application pools to implement Process-level isolation.

In IIS 5.x, inetinfo.exe monitors and distributes requests in User Mode. in IIS 6, this job is transplanted to the kernel Mode,All of this is handled by a new component: http. sys..

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.