Iis7 Getting Started: (3) Difference between CGI application and FastCGI Application

Source: Internet
Author: User

Preface:

As always, IIS supports 3rd-party script support by providing the pluggable module, such as PHP. In iis7, there is a new change in CGI support, that is, two CGI support modules are provided at the same time, namely: cgimodule (CGI. DLL) and fastcgimodule (iisfcgi. DLL ). For the differences between ISAPI and CGI, see http://www.cnblogs.com/winston/archive/2008/08/05/1260670.html.

So what is the difference between CGI and FastCGI?

 

Body:

The simple difference between CGI and FastCGI can be described as follows:

1. In CGI Mode, a new CGI application process is created for each request to process the request.

2 In FastCGI mode, CGI application process can be reused. That is to say, if the first request arrives at the server, the corresponding CGI application process, such as cgi-php.exe (if it is a PHP request) will be created ). The request will be processed by the cgi-php.exe, and the new cgi-php.exe will not be created, thus saving expensive server resources. This mode draws on the advantages of ISAPI.

Of course, the actual situation is that, by default, up to four CGI application processes (somewhat similar to IIS6 and above web Garden) can be created to improve system concurrency :))

 

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.