But configuring, optimizing the performance of IIS, so that the performance of the Web site access is not a simple thing, here I will explain how step-by-step optimization of your IIS server.Server-side environment, we take the Windows Server 2003 IIS6.0 as an example, the client environment is Mozilla Firefox 3.0, and
IIS Performance Tuning
1. Adjust the IIS cache
The range of HKEY_LOCAL_MACHINE Systemcurrentcontrolsetservicesinetinfoparametersmemorycachesize Memorycachesize is from 0 4GB, The default value is 3072000 (3MB). In general, this value should be set to 10% of the server memory. IIS improves system
The most popular service tools to build websites are Apache and IIS. So which performance is better between them? What is the best tool for us? I have also done some research on this issue recently.
If it's based on a Linux platform, it's not necessarily Apache, because IIS can only run in Windows, and Linux+apache's overall
Today I'm going to show you how to monitor and improve the performance of IIS 5.0 servers, and that's just something I've summed up from some information and practice, and come out and talk about it, J.
We will discuss the following aspects:
1, Memory (memory), memory performance directly affect the performance of othe
to use a limited number of threads. Build a small thread pool and queue, and use the queue to arrange thread work to complete modular calls. In this way, other threads can pick up and process your non-modular requests.
8. Do not perform measurement
When you can measure what you are talking about and use numbers to express it, it means you have a certain understanding of it; but if you cannot use a number table, your knowledge is poor and unsatisfactory; it may be the beginning of knowledge, but
rate at which the service receives data bytes at the application level, excluding protocol headers and control bytesSent/secThe rate at which the service sends data bytes.Total/secThe total number of bytes per second transmitted by the Web Service (Bytes Sent/sec vs. Bytes Received/sec sum)
Create a Trigger650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M02/72/E3/wKiom1Xvlj6wZuQcAAIOAm4Za2g554.jpg "title=" IIS triggers. png "alt=" wkiom1xv
I recently conducted a performance test on IIS. I have a deep understanding and published the data for your reference.
The server bandwidth is 1950 mbps for Dell 2003, windows, and Shanghai Telecom IDCs.
Test method:
1. Develop a flash. Flash regularly (for example, 1 second) requests a page such as show. aspx.Note: Flash has security restrictions: Show. aspx must be the same domain name as the flas
ASP. net website needs to be pre-compiled during release. this not only solves the problem of slow speed for the first time, but also compiles cshtml content. in this way, the code of our view is invisible to others. open.
Check "pre-compilation during release" during release, and click Settings to unselect "allow update of pre-compilation site ". in this way, the compiled website view is compiled. compiled file. A precompiledapp is added to the root directory. config file.
After being deplo
content expiration mechanism can be achieved after this goal, this is the use of content expiration mechanism.
Most Web developers have played IIS 6 or IIS 7, but how many of them have looked at the contents of the HTTP headers or HTTP Response headers tags? Here I take IIS 6 for example,
By default, the interface in this tab is shown in the following illustra
Usually to troubleshoot online errors mainly through the following ways:
Look at the IIS error log to determine if there is a problem on the program;
Look at the number of IIS connections, whether there is an exception;
Look at the request log, is not someone in the brush;
Look at the IIS work process, see which URLs blocking the bad;
In detail,
First, the use of caching, that is, content expiration
Enabling content expiration for static files can improve access performance. First, the site's directory to be divided into reasonable, pictures, CSS, JavaScript are placed in a separate directory, and then select the directory in IIS, point attribute-http header, enable content expiration, you can choose 30 days after the past, so that the user browse
Network connectivity Capabilities
The type of network connection you are using directly affects the performance of the server. The performance of the server is compromised whenever the network connection does not control the amount of data that is sent through him. In addition, other applications running on your computer that require network bandwidth affect the bandwidth that
Load Balancing
In a high-load system, a single server generally fails to meet the requirements. In this case, the session status issue needs to be solved when multiple servers are distributed to the Server Load balancer.
The following are some references:
SessionstateConfigurationHttp://blog.csdn.net/nihongyuan/archive/2009/04/30/4139928.aspx
ASP. NETApplication-basedSessionstateOf"Status programming framework"Solution Http://www.cnblogs.com/artech/archive/2010/10/31/State_Management.html
for this phenomenon we can put the user's permissions in the session to reduce the number of connections to the database, thereby improving performanceThrough analysis we can find the most time-consuming method, the most time-consuming request URL, the most time-consuming SQL statement, through which we can easily find the program's performance short board, thus targeted to optimizeThree, memory analysisTo start the Memory analysis tool:Clicking the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.