-----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 some cases, 10 seconds would be considered a
> stall, some cases, 30 seconds would be a stall.

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?

In either case, this type of thing can be done easily with a filter.
Whether you use JMX or not to report the condition is up to you.

> Similarly, how many times a servlet is invoked in a given time
> period would count as concurrent invocations.  Intervals used for
> the reckoning here may be shorter - like 5 seconds - to make it
> more meaningful for concurrency values.

Again, Filters are your friends. Feel free to publish the information
via JMX as well. My presentation contains all the information you need
for the JMX stuff. Everything else is pure Java.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJTTY+rAAoJEBzwKT+lPKRYApcP/ROvCHanDW2RgYEneUPoG2u9
g/u2IKq8Noe8RmeQpVuU+k5i3tUo4hEigYsnmBiYHVq+CxY31hkMiPtuwMgHIrPd
rHGfCy3Mgpsc3yLI2yuvYqCSs3pqR3+PYO1CiaxmgT52W8JWGoQjOOOdlk0BmseZ
kF/vVtkT3qsM+c5YvghsqCnq9dyZK8YQXfzEigFdmLDzA42jAJ9gPhmoU4ZtfIXZ
MKsn2xKgsz4XWaLsgLL2U/JX9Q77Sn/vXCcWktvP6wPZJDGFwf2jKKTuOF182NcT
fevPjIysxi/R+zDUh+Dw7NkKty6HMx0x8DZHhKsy61YeK5fU+PgY8eyinGz5uTa2
+p2IgX2fUG5MiGe5oSO4g2oqLwNCqFsRbsvY5N3N4SnxuXaeQIsaIQKqYzgxBQyE
d6BkPCGsObnpS59pqiQ2rF1cYNyu4z6pILGfS6ctZn43SSJ60HmhBZvE/qRtsezQ
ycC2Wu8YzF8kJwCJyJJyPpg59m+hhlWYQ/Uk1BgTEhYpAYoAeOgrog+gdFXYt1RZ
buI/t5vX6i38RjSe/L1zgDpx/x1x5kn4H/zhUfKM//4HaInfN2KG4cVejAhGtr5X
kunZCIwh6rVlDIV167aIL6qDXinCpIIWJN2FhKO7khtCQrrbIIp7NYwWG0XfHYTn
X4Fq69OJZRfKf7lDcSHv
=uclh
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to