Tutorials to .com

Tutorials to .com » Asp » Optimization » How to improve the IIS 5.0 web server implementation of efficiency?

How to improve the IIS 5.0 web server implementation of efficiency?

Print View , by: iSee ,Total views: 4 ,Word Count: 1356 ,Date: Fri, 17 Apr 2009 Time: 5:34 PM

Improve efficiency in the implementation of IIS 5.0

How to improve Windows 2000 Server in the IIS 5.0 web server implementation of efficiency?

To improve the implementation efficiency of the IIS are as follows:

1. The opening of the continuing role of HTTP can be improved from 15 to 20% efficiency in the implementation.

2. Do not record the opening of 5 to 8 percent improvement in the efficiency.

3. Use of [independent] of the process would lose 20% efficiency.

4. To increase the preservation of cache file number, can improve the performance of Active Server Pages.

5. Do not use the CGI program.

6. To increase the number of IIS 5.0 computer CPU.

7. Do not enable asp debugging functionality.

8. Static pages using HTTP compression, can be reduced about 20% of the traffic.

Briefly as follows.

The opening of the continuing role of HTTP

HTTP enabled the continued role of (Keep-Alive) when, IIS and the browser will not break the connection, you can improve efficiency in the implementation until the browser will shut down when the connection disconnected. Because the maintenance of "Keep-Alive" mode, each client request is not required to re-establish a new connection, it will improve the efficiency of servers.

This feature is the default for HTTP 1.1 feature, HTTP 1.0 with Keep-Alive header can also provide the continuing role of HTTP functionality.

The continuing role of the opening of HTTP can be improved from 15 to 20% efficiency in the implementation.

How do I enable HTTP sustained effect? Steps are as follows:

In the [Internet Services Manager], select the entire IIS computer, or Web site, in the [content] of the [Home Directory] page, check the [HTTP continuing role] option.

Do not enable logging

Opening of the record does not improve the 5 ~ 8% of the implementation of efficiency.

How do I set up the opening of records do not? Steps are as follows:

In the [Internet Services Manager], select the entire IIS computer, or Web site, in the [content] of the [Home Directory] page, do not check [enable logging] option.

Set up the processing of non-independent

The use of [independent] of the process would lose 20% of the implementation of efficiency, here the so-called "independent" means the [home directory], [virtual directory] page of the application protection options set to [high (independent)] time. Therefore [application protection] set to [Low (IIS process)] when the implementation of more efficient, set the screen as follows:

How do I set up the non-"independent" handling procedures? Steps are as follows:

In the [Internet Services Manager], select the entire IIS computer, Web site, or the beginning of the application directory. To [content] of the [home directory], [virtual directory] page, set the application protection options for the [low (IIS process)].

Adjust the cache (Cache) memory

IIS 5.0 will be a temporary static page of information in the cache (Cache) memory of them; IIS 4.0 will be a temporary static page of information on which files. Adjust the cache (Cache) memory to maintain the files can improve efficiency in the implementation of the number.

After the implementation of ASP command file will be cached in the cache (Cache) memory to improve performance. Increase in the preservation of cache file number, can improve the performance of Active Server Pages.

Can set up all throughout the IIS computer, "independent" Web site, or "independent" of applications running on application of the number of cache files.

How do I set up the cache (Cache) function? Steps are as follows:

In the [Internet Services Manager], select the entire IIS computers, "independent" Web site, or "independent" of the initial application directory. To [content] of the [home directory], [virtual directory] page, click [Settings] button, you can by the [processing options] page set [script cache].

How do I set up the cache (Cache) then the number of memory files? Steps are as follows:

In the [Internet Services Manager], select the entire IIS computer, or Web site of the initial directory. To [content] of the [servers to expand the program] page, click [Settings] button.

Can set the cache (Cache) the number of memory files.

Do not use the CGI program

The use of CGI programs, because the process (Process) to be continuously produced and destroyed, resulting in poor performance.

In general, the implementation of efficiency as follows:

² static pages (Static): 100

² ISAPI: 50

² ASP: 10

² CGI: 1

In other words, ASP than the CGI may be 10 times faster, so do not use the CGI program can improve the efficiency of the implementation of IIS.

To flexibility (Flexibility) in terms of: ASP> CGI> ISAPI> static pages (Static).

Security (Security) in terms of: ASP (independent) = ISAPI (independent) = CGI> ASP (non-independent) = ISAPI (non-independent) = static pages (Static).

IIS 5.0 to increase the number of computer CPU

According to Microsoft's test reports, to increase the number of IIS 4.0 computer CPU, and will not improve efficiency in the implementation of the number; however, the computer CPU to increase the number of IIS 5.0, the implementation will be almost directly proportional to the efficiency of delivery, in other words, two CPU's IIS 5.0 Computer efficiency is almost twice as much of a computer CPU, 4 CPU's IIS 5.0 implementation of the efficiency of computers is almost four times as a computer CPU.

IIS 5.0 will be a temporary static page of information in the cache (Cache) memory of them; IIS 4.0 will be a temporary static page of information on which files. Adjust the cache (Cache) memory to maintain the files can improve efficiency in the implementation of the number.

Do not enable ASP debugging functionality

Do not enable ASP debugging functionality to improve performance.

How to enable ASP debugging do not function? Steps are as follows:

In the [Internet Services Manager], select the Web site, or the beginning of the application directory, right-click to choose [content], press [home directory], [virtual directory] or [Contents] page, press the [Set ] button, select [Debug application] pages, do not check the [Enable ASP server-side script debugging], [enable ASP debugging client directive] option.

Static pages using HTTP compression

Static pages using HTTP compression, can be reduced about 20% of the traffic.

HTTP compression is enabled or shut down for the whole department to set the IIS server.

The client browser using the IE 5.0 to connect to HTTP compression is enabled on the Web server IIS 5.0, HTTP compression only.

How do I enable HTTP compression function? Steps are as follows:

To enable HTTP compression, methods for the [Internet Services Manager], select the computer [content] in [main content] under select [WWW service]. Then click [Edit] button in the [service] page, select the [static file compression] can compress static files, do not select the [File compression applications].

Dynamically generated content of files (file compression application) can also be compressed, but the need to incur additional CPU processing time, if the% Processor Time has 80 percent or more, the compression is not recommended.

Test the implementation of efficiency

Efficiency in the implementation of a number of tools can be used to test, for example, pressure testing tools can be used (Stress Tool), may be downloaded from the website:

http://webtool.rte.microsoft.com

Learned it?


Asp Optimization Articles


Can't Find What You're Looking For?


Rating: Not yet rated

Comments

No comments posted.