Re: Performance - Java Profiler, JVM instrmentation

2014-04-16 Thread Frederik Nosi
Hi Shanti, On 04/15/2014 09:56 PM, Shanti Suresh wrote: [...] I find Chris' example on writing filters to map to URL patterns for response-time metrics relevant. I would also like stall counts, concurrent invocations etc. What is a stall-count? How would you record "concurrent invocations", etc

Re: Performance - Java Profiler, JVM instrmentation

2014-04-15 Thread Shanti Suresh
On Tue, Apr 15, 2014 at 3:59 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > > > Can you afford to wait for the request to complete (late), or do you > need to know immediately when a request is taking too long? > My reasoning for measuring the long-running requests at a given pe

Re: Performance - Java Profiler, JVM instrmentation

2014-04-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shanti, On 4/15/14, 3:56 PM, Shanti Suresh wrote: > So here is my understanding of these metrics: > > So if a request for a servlet or JSP exceeds a given time interval, > that would be a stall. The interval may depend upon the > application. In

Re: Performance - Java Profiler, JVM instrmentation

2014-04-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Leon, On 4/15/14, 3:45 PM, Leon Rosenberg wrote: > On Tue, Apr 15, 2014 at 7:58 PM, Christopher Schultz < > ch...@christopherschultz.net> wrote: > >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 >> >> Shanti, >> >> On 4/15/14, 10:51 AM, Shant

Re: Performance - Java Profiler, JVM instrmentation

2014-04-15 Thread Shanti Suresh
Hi Chris, On Tue, Apr 15, 2014 at 1:58 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > You need to use a Profiler for that. There are a number of fine > Profilers available for Java. I use YourKit because they give free > lic

Re: Performance - Java Profiler, JVM instrmentation

2014-04-15 Thread Leon Rosenberg
On Tue, Apr 15, 2014 at 7:58 PM, Christopher Schultz < ch...@christopherschultz.net> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA256 > > Shanti, > > On 4/15/14, 10:51 AM, Shanti Suresh wrote: > > Taking it one step further, could I request some recommendations on > > how we might profil

Re: Performance - Java Profiler, JVM instrmentation

2014-04-15 Thread Leon Rosenberg
On Tue, Apr 15, 2014 at 4:51 PM, Shanti Suresh wrote: > Greetings, > Hello Shanti, > > Chris' presentation on monitoring Tomcat is really nice work. I found that > quite useful. > > Taking it one step further, could I request some recommendations on how we > might profile Java code running in

Re: Performance - Java Profiler, JVM instrmentation

2014-04-15 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Shanti, On 4/15/14, 10:51 AM, Shanti Suresh wrote: > Taking it one step further, could I request some recommendations on > how we might profile Java code running inside Tomcat? Often, I am > stuck with finding out why an application is slow. It co

Performance - Java Profiler, JVM instrmentation

2014-04-15 Thread Shanti Suresh
Greetings, Chris' presentation on monitoring Tomcat is really nice work. I found that quite useful. Taking it one step further, could I request some recommendations on how we might profile Java code running inside Tomcat? Often, I am stuck with finding out why an application is slow. It could