Thursday, July 19, 2007

Using AOP for Application Performance Management

Using AOP for Application Performance Management

As illustrated in Figure 1, the approach is to use AOP techniques to "weave" performance monitoring code automatically into an existing application. To facilitate this, we can separate the performance monitoring logic (such as timers, statistical computations etc.) into a simple library. The traditional approach of hand-coding calls to this library into the application is tedious and error-prone. A better approach would be to use AOP aspects to declaratively specify the various points in the application where the calls to the performance monitoring library need to be made and let the AOP tool modify the bytecode to automatically insert these calls.

0 comments: