Java program performance tuning and monitoring

Published on Author bloggerfiveLeave a comment

 

Use JAMon.

It’s a monitoring library, that will help you measure execution times of your java code.

The Java Application Monitor (JAMon) is a free, simple, high performance, thread safe, Java API that allows developers to easily monitor production applications.

  •     It can be used to determine application performance bottlenecks, user/application interactions, track application scalability, and more.
  •     It gathers aggregate performance statistics such as hits, execution times (total, average, minimum, maximum, standard deviation), as well as concurrency information such as simultaneous application requests.
  •     It  comes with several ways to monitor your application that require no application code changes. Usually all that is required is to add a line to an xml file, and make the It jar file available. Some examples:
  •     JDBC/SQL monitoring via the It JDBC proxy driver (works with any other JDBC driver),
  •      Log4j monitoring via the It log4j Appended, HTTP Monitoring. Monitor requests/responses to Tomcat, Jetty, JBoss or any other JAVA web container.
  •     EJB3 monitoring using the It EJB interceptor.
  •     It aggregates ANY numeric entity (such as bytes sent, dollars purchased, phone call duration) associated with a key (label and units).
  •     It   adds the ability to track both summary statistics and details for Interfaces/JDBC/SQL/Exceptions.
  •     It   adds the ability to track JDBC/SQL/Exceptions vi the new ItDriver JDBC Driver using a URL (not changing code)
  •     It minor bug fixes
  •     It Introduction of It Buffer Listeners to track details of interest such as extreme values, or most recent values
  •     It log4j monitoring. Track stats on log4j method calls, as well as have the ability to ‘tail’ data written to log4j through the It web application.
  •     It Add the ability to flexibly monitor Tomcat, Jetty, Jboss. More flexible detail tracking was added. Also better exception tracking was added.
  •     It data can also be programmatically accessed or queried and your program can take actions on the results.
  •     It statistics are displayed in the clickable It Report.

Comments

comments

Leave a Reply

Your email address will not be published. Required fields are marked *