File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Performance and the fly likes profiling end to end web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Performance
Bookmark "profiling end to end web application" Watch "profiling end to end web application" New topic
Author

profiling end to end web application

Warren Dew
blacksmith
Ranch Hand

Joined: Mar 04, 2004
Posts: 1332
    
    2
I need to profile serving of pages from a JSP web application, including all the time all the way through to the Oracle back end. My current plan is to run Tomcat under JProfiler. Has anyone done this before, and any thoughts on whether this is the best way to do it and what pitfalls I might have to look out for?
steve souza
Ranch Hand

Joined: Jun 26, 2002
Posts: 861
JAMon comes with a servlet filter that tracks various statistics for every jsp, servlet, gif, jpg etc including hits, avg time, max time, min time, max concurrency and more. JAmon is simple to use and using the servlet filter should only require minimal effort to incorporate. It is fast enough to monitor in production systems, and is in your war, so no special installation is required. The demo available at http://www.fdsapi.com uses the jamon servlet filter. It aslo monitors all jdbc calls and more.


http://www.jamonapi.com/ - a fast, free open source performance tuning api.
JavaRanch Performance FAQ
Warren Dew
blacksmith
Ranch Hand

Joined: Mar 04, 2004
Posts: 1332
    
    2
Just to clarify, I need to profile what is happening within a single hit, not the pattern of hits in the course of general usage.
Warren Dew
blacksmith
Ranch Hand

Joined: Mar 04, 2004
Posts: 1332
    
    2
In case anyone has a similar problem and looks this up in the future, I ended up setting up a Tomcat installation and having JProfiler run it and profile it. JProfiler had nice guided dialog to set up such an arrangement once I had the web site running.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: profiling end to end web application