Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Performance logging in big applications  RSS feed

 
Louis Brown
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • 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.
 
Jayesh A Lalwani
Rancher
Posts: 2762
32
Eclipse IDE Spring Tomcat Server
  • Likes 1
  • Mark post as helpful
  • send pies
  • 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.
 
Arun Chidambaram
Greenhorn
Posts: 16
  • Mark post as helpful
  • send pies
  • 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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!