Methods to improve IIS execution efficiency are as follows: 1. Enabling HTTP's continuous effects can improve 15 to 20% of execution efficiency. 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 save files to the memory, improve the effectiveness of Active Server Pages. 5. Do not use the CGI program. 6. Add the number of IIS 5.0 CPUs. 7. Do not enable ASP detection. 8. The static web page uses HTTP compression, which can reduce the amount of transmission of 20%. Brief introduction is as follows. When HTTP continues to enable HTTP, when Keep-alive, the connection between IIS and the browser does not disconnect, and improve execution efficiency until the browser is closed when the browser closes. Because of the "Keep-Alive" state, it is not 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. The continuous function of HTTP can improve 15 to 20% of the 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. Do not enable records that do not enable records can improve 5 to 8% of 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)]. Adjusting Cache Memory IIS 5.0 Temporates static web information to cache memory; IIS 4.0 temporarily stores static web information in the file. Adjusting Cache memory saves files can improve execution efficiency. After the ASP instruction file is executed, it will be temporarily stored in a cache memory to improve the performance performance. Increase the number of saved files to the 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. Do not use the CGI program to use the CGI program because the processor must constrain and destroy, causing poor execution efficiency. In general, performing efficiency is as follows: 2 Static web page (static): 100 2 ISAPI: 50 2 ASP: 10 2 CGI: 1 In other words, the ASP may be 10 times faster than CGI, so do not use the CGI program to improve IIS effectiveness. 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). Add IIS 5.0 computer CPU number According to Microsoft's test report, increase the number of IIS 4.0 computers CPU, do not improve how much; but increase the number of IIS 5.0 computer CPUs, execution efficiency will be provided almost proportionally, in other words, two The CPU's IIS 5.0 computer execution is almost twice that of a CPU computer. The four CPU IIS 5.0 computers 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. Do not enable an ASP detection (not to 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. The static web page uses HTTP compressed static web pages with HTTP compression, approximately 20% of the transfer. HTTP compression is enabled or off, which is set for the entire IIS server. The user ends with the IE 5.0 browser to connect to the HTTP compressed IIS 5.0 web server with HTTP compression. 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. Author: Joe canopy Technology Excerpt from: http: //www.7i24.com