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.