The following is eight ways to improve the performance efficiency of the IIS 5.0 website server: 1. The continuous function of HTTP can improve the effectiveness of 15 to 20%. 2. Do not enable records to improve 5 to 8% of the execution efficiency. 3. Use [independent] handler to lose 20% of execution efficiency. 4. Increase the number of saved documents to the memory, improve the effectiveness of Active Server Pages. 5. Do not use CGI 6. Add IIS 5.0 computer CPU number. 7. Do not enable ASP detection. 8. The static web page uses HTTP compression, which can reduce the amount of transmission of 20%. Simply introduce the following 1. When the HTTP continues to enable HTTP, the connection-alive is enabled, the connection between the IIS and the browser does not disconnect, and can improve the execution efficiency until the browser closes the connection. . Because of the "Keep-Alive" status, it is necessary to re-establish a new connection every time the client request, so the efficiency of the server will be improved. This feature is a preset function of HTTP 1.0, and HTTP 1.0 plus Keep-Alive Header can also provide the HTTP's persistent function.
2. Enable HTTP's persistence can improve 15 to 20% of execution efficiency. How to enable HTTP's persistent effect? The steps are as follows: In the [Internet Service Administrator], select the entire IIS computer, or the web station, on the [Main Directory] page of [Content], check [HTTP's continuous action] option. 3. Do not enable records that do not enable records can improve 5 to 8% of the execution efficiency. How to set up not enable record? The steps are as follows: In the [Internet Service Administrator], choose the entire IIS computer, or the web station, on the [Profile] page of [Content], does not check the [Enable Record] option. Setting a non-stand-alone handler Use [independent] handler to lose 20% of execution efficiency, the so-called "independent" system refers to the [Main Directory], [Virtual Directory] page Application Protection Options to [ Too high (independent)]. Therefore [Application Protection] is set to [low (IIS handler)], the execution efficiency is high, the setting screen is as follows: How to set a non-"independent" handler? The steps are as follows: In the [Internet Service Administrator], choose the entire IIS computer, web station, or start directory of the application. In [Content] [Main Directory], [Virtual Directory] page, set the Application Protection Option to [Low (IIS Processor)]. 4, adjust the cache memory
IIS 5.0 temporarily stores the static web information in the cache memory; IIS 4.0 temporarily stores the static web information in the file. Adjusting Cache memory saves files can improve execution efficiency. After the ASP instruction document is executed, it will be presented in a cache memory to improve the performance performance. Increase the number of saved documents of the quick memory, improve the effectiveness of Active Server Pages. You can set all the number of quick-optic memory files performed throughout the IIS computer, "Independence" Web Station, or "Independ" application. How to set up a cache function? The steps are as follows: In the [Internet Service Administrator], select the entire IIS computer, "Independence" Web Station, or the "Independence" application start directory. When [Contents] [Main Catalog], [Virtual Directory] page, press [Set] button, you can set [Instruction Board Commission Memory]. How to set the number of cache memory files? The steps are as follows: In the [Internet Service Administrator], choose the entire IIS computer, or the start directory of the web station. Press the [Setting] button in [Server Expansion "page in [Content]. You can set the number of cache memory files. 5. Do not use the CGI program to use the CGI program, because the processor must constrain and destroy, there is poor execution efficiency. In general, the performance efficiency is as follows:
Static web page (STIC): 100
ISAPI: 50
ASP: 10
CGI: 1
In other words, ASP may be 10 times faster than CGI, so do not use CGI program to improve IIS's execution efficiency.
In terms of flexibility: ASP> CGI> ISAPI> Static web page (static).
In terms of security: ASP (independent) = ISAPI (independent) = CGI> ASP (non-independent) = ISAPI (non-independent) = static web page (STIC).
6, increasing the number of IIS 5.0 computer CPUs According to Microsoft's test report, increase the number of IIS4.0 computer CPUs, how much execution is improved; however, increases the number of IIS 5.0 computer CPUs, execution efficiency will be almost proportionally, in other words The IIS 5.0 computer execution efficiency of two CPUs is almost twice that of a CPU computer. The IIS 5.0 computer execution efficiency of four CPUs is almost four times that of a CPU computer. IIS 5.0 temporarily stores the static web information in the cache memory; IIS 4.0 temporarily stores the static web information in the file. Adjusting Cache memory saves files can improve execution efficiency. 7. Enabling an ASP URF function Do not enable ASP detection to improve execution efficiency. How do you do not enable ASP detection? The steps are as follows: In [Internet Service Administrator], select the web platform, or the start directory of the application, press the right click to select [Content], press [Main Directory], [Directory] or [Directory] page, press [ Settings] button, select [Application Device] page, do not check [Enable ASP Server Device Instruction Data], [Enable ASP User Directive Default] option. 8, static web pages use HTTP compressed static web pages with HTTP compression, approximately 20% of the transfer amount. HTTP compression is enabled or off, which is set for the entire IIS server. The user ends uses IE 5.0 browser to connect to the HTTP compression IIS 5.0 web server that has enabled HTTP compressed IIS 5.0. How do I enable HTTP compression? The steps are as follows: To enable HTTP compression, the method is in [Internet Service Administrator], select [Content] below [Content], and select [WWW service] below [Main content]. Then press the [Edit] button, on the [Service] page, select [Compressed Static Archive] to compress static files, do not select [Compressed Application Profile]. Dynamically generated content files (compressed application files) can also be compressed, but it is recommended to consume additional CPU processing time. If the% Processor Time is 80%, it is recommended not to compress. Second, I have to say it, it is to remove some unnecessary services.