Performance monitoring using Spring AOP // IT Management Solutions

Performance monitoring using Spring AOP

Screen shot 2009-08-30 at 09.19.53.pngAs a programmer you are writing code. As a designer you are creating solid designs and if you are wise, the code is a good reflection of your design. My previous post was about Domain Driven Design. One of the things I want to repeat is the strong relation between the domain, the design and the code. The best way to accomplish this is to combine the role of designer and implementer. That way you get the best representation of the domain in your solution.

Why this introduction, when I promised to write about performance and monitoring? For performance I see the same relationship. A tester creates the test plan, including the performance test. If you are lucky requirements for monitoring are available as well. Ok, I do not want to combine the role of tester and developer. Still they should both have a very good idea about what the other one does and how you can help each other. Real performance testing is hard and should not be taken to light. Monitoring however can be done on a low level during development. How often have you written log statements like: This method X is executed. Sometimes with a start and end time. Some of you might have used there own aspects to be non intrusive and other might have used a framework.

Beet records user behavior and performance data for your Spring-based Java application. It can thus help you to analyze usage patterns and research production performance issues.

Screen shot 2009-09-01 at 22.04.57.pngRead on to learn about my experiences with the framework and why I like it to do some basic monitoring.

What does it do?

I am not going to enlist all features, go to the website to find out what it can do for you. Here are some of the features that I like:

  • Very nice integration with spring framework including namespace support.
  • Manager that does logging of events using a memory and flush mechanism.
  • Easy configuration to write the logs to disk or database.
  • Use a binary format for events that is very condensed together with utilities to generate readable xml, csv or database inserts.
  • Easy http-request monitoring
  • JMX integration, switching monitoring on and off
  • Good user manual and well written and documented code.

What does it look like?

I am using the code of yourscrum to experiment with Beet. Check out the code if you want to follow a long.

Before you can use Beet, you have to download it. Luckily it is available in a maven repository. More information about the repository and the dependency can be found on the beet download page. For my sample I only included the beet artifact. I downloaded the utils (more on those later) as a tar file. You can find the downloads here: .

Now we have Beet available, we should add the namespace defintion to the spring configuration and the first very basic tracking manager to track all http-requests.

You might also like

The thing is my job isn't that hard

by BeerWhore

After training I've been hitting my numbers like I've worked there for years. I don't have performance nor attitude issues at work.
Monitoring behavior at home would be an issue but I'm actually pretty chill to live with (so I've been told). I'm clean, I make nice food and share it, I'm actually pretty quiet.
There is the factor of my occasional wine/beer binge that I'd need to watch but that's not a bad thing.
Yeah, there are folks at work that would be assholes. And I'd worry that she'd try to "make an example" of me by making things harder on me just to show that I'm not influencing her

Sure. yeah, that's it.

by peacewar

Better Interviews Said Key to Exit Polls By WILL LESTER, Associated Press Writer
Sat May 14, 6:39 PM ET
MIAMI BEACH, Fla. - Better training of interviewers to get a proper sample of voters after they cast ballots will be key to improving the performance of exit polls, one pollster who handled the 2004 election surveys said Saturday.
Exit polls on Election Day 2004 overstated support for Democrat John Kerry overall and in many key states, which led to widespread confusion that day about the election eventually won by President Bush.
The exit polls contacted more supporters of Kerry than of Bush because of "the failure of interviewers to follow the selection rate," said Warren Mitofsky, who conducted the exit polls along with Joe Lenski of Edison Media Research

FINIS FINIS Swimsense Performance Monitor
Sports (FINIS)

Senate panel OKs $51 billion for Commerce, Justice, Science  —
One sticking point is the House's desire to limit funding for the National Strategy for Trusted Identities in Cyberspace, a plan designed to come up with a new system for managing identities online.

ATEQ ATEQ Tire Pressure Monitoring System (TPMS) Sensor Relearn Training Magnet
Automotive Parts and Accessories (ATEQ)
  • ATEQ TPMS Relearn Training Magnet used for vehicles that require a magnet during the reset process.
  • Required on some: Cadillac, Chevrolet (Chevy), Ford, Lincoln and Mercury vehicles (to name a few),
  • View the ATEQ Website if you are unsure your vehicle needs a magnet.
Pfeiffer The Ultimate Guide to Sales Training: Potent Tactics to Accelerate Sales Performance
Book (Pfeiffer)
  • Used Book in Good Condition
Keystone Learning Systems SQL Server 2008 Training Course
Software (Keystone Learning Systems)
  • SQL Server Installation upgrade configuration and maintenance monitoring and troubleshooting SQL Server performance
  • SQL Wizards database creation management and integrity verification
  • SQL scripting SQL security
  • One Year License
World Bank Publications Building Better Policies: The Nuts and Bolts of Monitoring and Evaluation Systems (World Bank Training Series)
Book (World Bank Publications)
  • Used Book in Good Condition

Related Posts

Copyright © . All Rights Reserved