Share via


Finding Performance Bottlenecks

The best way to find the performance bottlenecks in a deployed solution is to monitor the performance counters and to have a thorough understanding of the system architecture and deployment.

Avoid Unnecessary ASP Code

On the Web tier, you can increase throughput and reduce page latency by reducing your site's ASP code size. Massive include files can significantly reduce your site's performance.

For IIS performance tuning, refer to the “The Art and Science of Web Server Tuning with Internet Information Services 5.0” available at:

www.microsoft.com/TechNet/prodtechnol/iis/maintain/optimize/iis5tune.asp

Web Server Component Caching

The next step to increase throughput was to take advantage of caching in the application server. Commerce Server 2000 has a cache object that runs on the front-end Web server. The pages for searching the catalog and the end-product pages take advantage of the new LRUCache (least recently used cache) object extensively. This object caches the actual HTML fragment after it has rendered the return data set from the back-end database server. Subsequent requests by any user for the same content are delivered out of local memory on the front-end Web server by means of the LRUCache.

This greatly reduces total CPU cost, because the SQL Server is no longer invoked and the LRUCache query is less resource intensive than packaging, sending, and receiving the database request. Because the query does not leave the local machine, there is less network traffic and a lower overall I/O cost. For more information about the performance characteristics of this new object, see the Microsoft Commerce Server 2000 Online Marketing Components, Pipeline, and Core Objects Transaction Cost Analysis white paper.

ISA Server Caching

Microsoft Internet Security and Acceleration Server 2000 (ISA Server) Enterprise Edition provides a wide range of caching service options for both outbound and inbound traffic. For high performance caching, ISA arrays can be implemented with ISA Server Enterprise Edition. It is recommend that you use the ISA servers to cache static contents (for example, graphics and static non-personalized contents) to lower the load on the front tier Web servers.

For further information about ISA caching, see the white paper, ISA Caching, at: www.microsoft.com/isaserver/techinfo/planning/cachingwp.asp

Copyright © 2005 Microsoft Corporation.
All rights reserved.