something that i've started thinking about recently is how to provide hooks
in tomcat 4 so that some statistics regarding request processing time could
be collected.  

off of the top of my head, a couple of interesting stats might be average
request processing time for all contexts (or webapps) and average request
processing time for each context.

so, some questions:

*) has anybody else considered this?
*) does anybody else care about this?


also, would it be possible to use a Valve to accomplish this?  how are
valves processed?  are they stacked such that the first valve entered is the
last one exited?  or are they chained such that one valve is processed after
the next, and once the last valve is processed, the response is sent?  what
i'm getting at is, could you put a valve in place such that it could always
log (or send events) at the beginning of a request and right before the
response is sent?

tia,
-kevin.

Reply via email to