You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by "Pim W." <p....@gmail.com> on 2005/10/25 22:51:28 UTC
How to measure queueing time: from tomcat recieving request to axis web service
Hi,
I want to measure the queueing time starting from when Tomcat recieve the
request from a client until the request reach my process.
I am writing a web service application hosted under axis engine.
I want to
- Get the time stamp when the request arrive at Tomcat
And I then want to find the distance between the timestamp when Tomcat
recieves the request and the time stamp when my web service starts working.
But I dont know where or how should I modify tomcat to get the time stamp
when the request comes.
I tried to read the architecture of Tomcat but I dont really understand
where the request arrives.
I'm not sure if I should post this in user mailing list or developer mailing
list.
Can somebody please point me the way?
Re: How to measure queueing time: from tomcat recieving request to
axis web service
Posted by Tim Funk <fu...@joedog.org>.
A Valve might be what you need - but you might need to hack the Connectors
depending on how granular you need to be.
A Valve is just like a servlet filter.
-Tim
Pim W. wrote:
> Hi,
>
> I want to measure the queueing time starting from when Tomcat recieve the
> request from a client until the request reach my process.
> I am writing a web service application hosted under axis engine.
> I want to
> - Get the time stamp when the request arrive at Tomcat
>
> And I then want to find the distance between the timestamp when Tomcat
> recieves the request and the time stamp when my web service starts working.
> But I dont know where or how should I modify tomcat to get the time stamp
> when the request comes.
> I tried to read the architecture of Tomcat but I dont really understand
> where the request arrives.
>
> I'm not sure if I should post this in user mailing list or developer mailing
> list.
> Can somebody please point me the way?
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org