The following are eight ways to improve the efficiency of IIS 5.0 web server execution:
1. The persistence of enabling HTTP can improve 15~20%. Execution efficiency.
2. Not enabling logging can improve execution efficiency by 5 to 8%.
3. Using [independent] handlers can lose 20% of execution efficiency.
4. Increase the number of saved files in the cache memory to improve the performance of Active Server Pages.
5. Do not use CGI programs.
6. Increase the number of CPUs in IIS 5.0.
7. Do not enable ASP debugging.
8. Static web pages use HTTP compression, which can reduce the amount of transmission by about 20%.
Brief introduction of
1. Enable HTTP persistence
When HTTP persistence (Keep-Alive) is enabled, the connection between IIS and browser will not be broken. Lines can improve execution efficiency until the connection is broken when the browser is closed. Because the "Keep-Alive" state is maintained, there is no need to re-establish a new connection every time the client requests, so the efficiency of the server will be improved.
This feature is a default feature of HTTP 1.1. HTTP 1.0 plus Keep-Alive header can also provide HTTP persistence.
2, enabling the continuous role of HTTP can improve the performance of 15 to 20%.
How to enable the persistence of HTTP? The steps are as follows:
In [Internet Service Administrator], select the entire IIS computer or Web site. On the [Home] page of [Content], check the [HTTP Persistence] option.
3. Do not enable logging
Not enabling logging can improve execution efficiency by 5~8%.
How do I set the record not to be enabled? The steps are as follows:
In [Internet Service Administrator], select the entire IIS computer or Web site. On the [Home] page of [Content], uncheck the [Enable Recording] option.
Setting non-independent handlers
Using [independent] handlers will lose 20% of execution efficiency. Here, "independent" means [home directory], [virtual] When the application protection option of the Directory] page is set to [High (Independent)]. Therefore, when [Application Protection] is set to [Low (IIS Handler)], the execution efficiency is high. The setting screen is as follows:
How do I set a non-"independent" handler? The steps are as follows:
In [Internet Service Administrator], select the entire IIS computer, web site, or application start directory. On the [Home] and [Virtual Directory] pages of [Content], set the application protection option to [Low (IIS Handler)].
4, adjust the cache (Cache) memory
IIS 5.0 temporarily stores static web page data in the cache (Cache) memory; IIS 4.0 temporarily stores static web page data in the file among. Adjusting the number of saved files in the cache memory can improve execution efficiency.
After the ASP instruction file is executed, it will be temporarily stored in the cache (Cache) memory to improve execution performance. Increasing the number of saved files in the cache memory can improve the performance of Active Server Pages.
You can set the number of cache files for all applications running on IIS computers, "standalone" web sites, or "standalone" applications.
How to set the Cache function? The steps are as follows:
In [Internet Service Administrator], select the home directory of the entire IIS computer, "standalone" web site, or "standalone" application. On the [Home] and [Virtual Directory] pages of [Content], when you press the [Setup] button, [Command Memory] can be set from the [Processing Program Options] page.
How to set the number of cache files? The steps are as follows:
In [Internet Service Administrator], select the home directory of the entire IIS computer or web site. On the [Server Extensions] page of [Content], press the [Setup] button.
You can set the number of cache files.
5, do not use CGI programs
When using CGI programs, because the process (Process) must be constantly generated and destroyed, resulting in poor implementation efficiency.
In general, the execution efficiency is as follows:
Static page: 100
ISAPI:50
ASP:10
CGI: 1
In other words, ASP may be 10 times faster than CGI, so don't use CGI programs 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 (Static).
6, increase the number of IIS 5.0 computer CPU
According to Microsoft's test report, increase the number of IIS 4.0 computer CPU, the implementation efficiency will not improve much; but increase the number of IIS 5.0 computer CPU, the implementation efficiency will be almost In principle, the IIS 5.0 computer with two CPUs is almost twice as efficient as a CPU computer. The IIS 5.0 computer with four CPUs is almost four times more efficient than a CPU computer.
IIS 5.0 temporarily stores static web page data in cache memory; IIS 4.0 temporarily stores static web page data in files. Adjusting the number of saved files in the cache memory can improve execution efficiency.
7. Enable ASP debugging function
Do not enable ASP debugging function to improve execution efficiency.
How to disable ASP debugging? The steps are as follows:
In [Internet Service Administrator], select the web site, or the application's home directory, right click and select [Content], press [Home Directory], [Virtual Directory] or [Directory] ] page, press the [Set] button, select the [Application Debugging] page, uncheck the [Enable ASP Server Command Debugging], [Enable ASP Client Command Debugging] option.
8. Static web pages use HTTP compression
Static web pages use HTTP compression, which can reduce the amount of transmission by about 20%.
The HTTP compression feature is enabled or disabled and is set for the entire IIS server.
The client uses the IE 5.0 browser to connect to a web server that has HTTP compression enabled for IIS 5.0.
How to enable HTTP compression? The steps are as follows:
To enable HTTP compression, in [Internet Service Administrator], select [Content] of the computer and under [Main Content] select [WWW Service]. Then click the [Edit] button, on the [Services] page, select [Compress Static File] to compress the static file without selecting [Compress Application File].
Dynamically generated content files (compressed application files) can also be compressed, but require additional CPU processing time. If % Processor Time is already 80% or more, it is recommended not to compress.
My configuration is AMD X4 955 processor + 770 motherboard + two 500GB hard drives
1. Creating a Site Folder First you have to create a new site folder
But because of the many similarities between X86 servers and desktops, there are m
What is the most regrettable thing for intranet users? Of course, it
Interpretation of NEC's X86 fault-tolerant server technology
DNS for Linux server configuration - using BIND
What is the HBA card What is the role of the HBA card?
IIS prompt error ASP 0177 : 800401f3 Se
Easily build CVS server in Linux environment
Master emergency: What should I do if the server data is accidentally lost?
IIS 6's best configuration method for
Nginx prohibits an IP or an IP segment from accessing the website.
Linux can not resolve the domain name solution
Behind the longevity, should your server be changed?
The weapon to enter the virtualization Detailed Intel VT technology
Win10 users encounter operation center bugs: unread messages disappear automatically
Win7 keyboard failure Login login keyboard failure can not enter the password solution
Win8 music library does not have music how to play local music files
How to cancel the sleep button function in the Win8.1 notebook
Aero3 core functions and meanings in Windows 7 system
Win10 sleep file cleaning graphic tutorial
System security: I have to know the characteristics of the virus
Silent wins with sound pictures stitching your own Win8 world