One of the benefits of running your Web servers in a cluster is that the impact of a slow running application is alleviated. Unfortunately, this only serves to hide an application performance issue; it doesn't fix the problem.
Before you deploy an application to a production server, it should be tested, not only for bugs and memory leaks, but for performance as well.
To properly test an ASP application you have to determine what type of load is anticipated for the application. We recommend that you break this load down as follows:
In a production environment, it may be difficult to determine the total number of users and concurrent users for the application. For Internet sites, you should:
If your site is primarily for intranet use, you should:
After you've established a context for testing, you can use the WAS tool to run test scripts against the server. This tool enables you to simulate different types and degrees of user load and collect performance data.
You can download the newest version of the tool from the WAS Tool site at http://webtool.rte.microsoft.com. While you're at the site, you should also download the white paper "Web Application Stress Test and Data Analysis." Prepared by the Unisys Consulting Service, this paper documents the work they did for an enterprise customer who wanted them to assess and analyze the scalability and performance of a Web application that made extensive use of SQL Server 7.0 stored procedures. The customer's goals included determining the appropriate hardware platform for hosting the application, addressing potential performance bottlenecks, and estimating the typical response time that the application's users could expect.
We also recommend the following print-based resources for optimizing, testing, and tuning your ASP applications:
Table 10.8 lists several additional online resources that deal with Web application performance and tuning.
Table 10.8 Application Performance Resources
Title | Author | Location |
---|---|---|
25+ ASP Tips to Improve Performance and Style | http://msdn.microsoft.com/workshop/server/asp/asptips.asp | |
Server Performance and Scalability Killers | George Reilly | http://msdn.microsoft.com/workshop/server/iis/tencom.asp |
Maximizing the Performance of Your Active Server Pages | Nancy Winnick Cluts | http://msdn.microsoft.com/workshop/server/asp/maxperf.asp |
Got Any Cache? | Nancy Winnick Cluts | http://msdn.microsoft.com/workshop/server/feature/cache.asp |
Tips to Improve ASP Application Performance | Srinivasa Sivakumar | http://www.15seconds.com/issue/000106.htm |
Timing the Execution Time of Your ASP Scripts | Mike Shaffer | http://www.4guysfromrolla.com/webtech/122799-1.shtml |
Testing the Performance of Your Web Application | Matt Odhner | http://www.microsoft.com/technet/iis/wastip.asp |
Improve the Performance of Your MDAC Application | Suresh Kannan | http://www.microsoft.com/data/impperf.htm |