This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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: 860
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.
 
Don't get me started about those stupid light bulbs.
 
subject: profiling end to end web application
 
Similar Threads
Encryption at Application Layer
Application Tiers and Data Access
Converting sql queries while porting
JFC Swing -- Client Server Application -- Book or Examples on the Web?
Why are Application Servers so Web-Centric?