Performance Tuning and Optimizing ASP.NET Applications

We have established that performance monitoring does not just begin in a vacuum . It begins once the developers and system architects have released the first version of an application and have collected initial performance measurements. Presumably the team has also established its performance expectations for the Web application and already has a sense of whether additional optimization will be required. The initial baseline is a collection of measurements on specific performance factors. These factors combine to produce the overall responsiveness of the application on a specific hardware platform, and under a specific load.

Performance profiling involves three important steps:

Once performance profile reports have been generated and analyzed, the technical team may choose to optimize a specific area of the application or the system. Once the optimization has been implemented, the iterative cycle of profiling and optimization begins again for as long as it takes to bring the application performance within an acceptable range. Optimization is never really completed. It continues for as long as necessary, or for as long as the team thinks that further performance improvements are possible. Ultimately, the goal is to bring performance to a level where the users are satisfied and to have the technical team feel satisfied they have delivered an application whose performance meets everyone's expectations.

The following section reviews some of the tools available to accomplish performance profiling and optimization. These tools will be covered in much more detail later in the book, so for now basic introductions will suffice.

Категории