. Net Performance Test and optimization 3 load balancing, IIS, HTTP Optimization

Source: Internet
Author: User
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

IIS Problems

The version of IIS, 6 and 7, has changed a lot.

HTTP Compression

Static content settings: it is better to apply static content to other dedicated web servers.

HTTP header settings:

Cache-control, expires etag

Reverse Proxy

Open-source squid as reverse proxy

Iis7 www.iis.net/expand/applicationrequestrouting

CDN

Microsoft provides a CDN to serve the standard Ajax JavaScript libraries including www.asp.net/ajaxlibrary/cdn.ashx

HTTP Optimization

The following tools are useful for Web Client optimization and performance problems:

Firebug http://getfirebug.com/

Fiddler http://www.fiddlertool.com

YslowHttp://developer.yahoo.com/yslow/

Internet Explorer Dev ToolbarIE8Built-in

TIPS:

• Make all of your static files as small as possible on the wire.

• Reduce your page sizes and compress whatever you can.

• Optimize your JavaScript and CSS and use HTTP efficiently.

• Analyze your site with yslow.

• Use firebug's net analysis to discover your page processing profile.

• Look at content expiration and compression.

• Profile your JavaScript-rich pages first.

• Compress your images as much as possible.

• Use CSS Sprites.

• Look for 404 errors.

• Remove white space and comments.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.