Sunday, December 21, 2008

Performance tuning your web application using JMeter, JAMon and JARep

Case study: Performance Tuning a Web Shop – Part 2

In the first part of this article, I’ve talked about the speedup challenge of a large Dutch web shop. We discussed our biggest gains applied on bottlenecks found by using evidence. We found the evidence by using tools, most importantly: JMeter for load testing, JAMon for performance monitoring and JARep for performance reporting. In this part we’ll deal with JAMon and JARep and lessons learned.

Monitoring with JAMon

Figure 1. Screenshot of the JAMon summary page with running statistics for each measured counter.
Figure 2. Invoking JAMon API from a Spring interceptor.
Figure 3. Measuring the Java service layer with JAMon: incoming calls, in between Spring beans and outgoing calls.

Reporting with JARep

Figure 4. Deployment of JAMon and JARep for a cluster of four JVM’s.