Forums Register Login

Performance logging in big applications

+Pie Number of slices to send: Send
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.
1
+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
Perfino is a good tool for production monitoring. It is built on top of JProfiler. But it is not free for production server unfortunately
Yeah, but how did the squirrel get in there? Was it because of the tiny ad?
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 754 times.
Similar Threads
Spring AOP for logging
AOP ambiguous situation
Spring Aop
AOP with Spring Web Flow not working
Example problem from Spring in Action AOP
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 12:56:44.