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 :))