• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Performance logging in big applications

 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello,

I am currently working on a big scale monolithic web app that uses large stack of technologies: JSF2, Spring 3.2, Hibernate 3.2...
Now idea is to introduce some form of performance logging through AOP so that CI jobs could produce performance artifacts which could be visualized later on.
Prime target for candidates on accomplishing this task was Perf4J - however sadly AOP part of this fell apart when we bumped up against CGLIB and Spring 3.2 limitation of not being able to point-cut beans with no default constructors.
However one additional requirement is to not edit the code base - no stop watches no annotations. Sort of bootstrap the logging to specific classpath to log only our domain object performance on method calls. Something like all the profiling tools do with javaagents.

So the question would be - is there any open source free solution of a java agent that would do performance logging to a file which could later be visualized and analyzed ? Nothing fancy.

Thank you.
 
Rancher
Posts: 2759
32
Eclipse IDE Spring Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
It's not exactly free. It's more like Freemium. We are using Appdynamics to do exactly what you mentioned. It hooks up a Java agent to the Java process to collect statistics, sends them over to the Appdynamics server, and the server reports on it. You can do things like identify the method in your code to track, and it will capture statistics at the method level. It will also show a call stack of the methods that your method calls and shows how much time it spends in each of those methods.

The free version is very limited. You can only do one server.

Alternatively, what you can do is implement your own java agent that captures method and logs them into a file. You can index these files using Splunk, and use Splunk for analytics and reporting. We considered doing this but going with AppDynamics because all the work isn't worth it.
 
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Perfino is a good tool for production monitoring. It is built on top of JProfiler. But it is not free for production server unfortunately
 
reply
    Bookmark Topic Watch Topic
  • New Topic