After reading the Tomcat architecure docs, I have a question.

Is there anyway to call the invoke method of a container from the webserver
whenever needed. i.e. If I wanted to get the time it takes for the web
server to process a request, could the server engine be invoke()'d to
startTime and when the webserver finished handling the request, is there
some way it could be invoked again to stopTime so that I'd know how long it
took?

I know that in order for the servlet to do this it must handle the request
and I could get the times from the response and then the request, but I'm
looking to see if I can *monitor* (if that's the right word) the web servers
performance or it's requests in some way. Maybe someway to make callbacks to
the webserver?

My reason for wanting apache to handle the requests is because of sites that
have very large connection loads that our clients/or Tomcat will not accept
performace wise. If this part doesn't make sense, please ignore as their are
other reasons also.

Reply via email to