In the previous article, we have explained a lot of knowledge about IIS servers. There are many things worth learning about the IIS server. Here we will mainly introduce how to improve the efficiency of the IIS server, including introducing the continuous effect of enabling HTTP, enabling the continuous effect of HTTP can be improved by 15 ~ 20% execution efficiency. Let's take a look!
Enable HTTP
When you enable the HTTP continuous function Keep-Alive), the connection between the IIS server and the browser will not be broken, which can improve the execution efficiency until the browser is closed. Because the "Keep-Alive" status is maintained, a new connection is not required for each client request, so the efficiency of the server is improved.
This function is a preset function of HTTP 1.1. HTTP 1.0 with the Keep-Alive header can also provide the continuous function of HTTP.
Enabling the continuous effect of HTTP can be improved by 15 ~ 20% execution efficiency.
How to enable the continuous effect of HTTP? The procedure is as follows:
In [Internet service administrator], select the entire IIS server computer or Web platform. On the [content] [main directory] Page, select the [HTTP continuous function] Option.
Increase the number of CPUs of IIS Server 5.0
According to Microsoft's test report, increasing the number of CPU cores of IIS 4.0 does not improve execution efficiency. However, increasing the number of CPU cores of IIS 5.0 will provide execution efficiency in almost proportional proportion. In other words, the execution efficiency of IIS Server 5.0 with two CPUs is almost twice that of a CPU computer. The execution efficiency of IIS 5.0 with four CPUs is almost four times that of a CPU computer.
IIS Server 5.0 saves static webpage data to the Cache. IIS Server 4.0 saves static webpage data to files. Adjust the Cache) the number of files stored in the memory can improve the execution efficiency.