| Author |
ServiceTime for a Servlet
|
|
|
| We have a production environment running on WAS 6.0 and I have been monitoring with TPV. I have found ServiceTime monitoring parameter for a servlet in web container. I couldn't find much information about this monitor value. I would appreciate any help t
o explain this parameter.
Thanks & regards,
Sridhar H
| |
| Ken Hygh 2006-12-18, 1:22 pm |
| srindies@yahoo.co.in wrote:
> We have a production environment running on WAS 6.0 and I have been monitoring with TPV. I have found ServiceTime monitoring parameter for a servlet in web container. I couldn't find much information about this monitor value. I would appreciate any help
to explain this parameter.
>
> Thanks & regards,
>
> Sridhar H
An HttpServlet has a service() method. This is the avg length of time in
this method.
Ken
| |
|
| Thanks Ken,
We have an EJB component called by the servlet. Is service time includes total turn-around time of the service.
For example,
Client --> Servlet (Web Container) --> EJB (EJB Container) --> Database.
Regards,
Sridhar H
| |
| Paul Ilechko 2006-12-19, 1:24 pm |
| srindies@yahoo.co.in wrote:
> Thanks Ken,
>
> We have an EJB component called by the servlet. Is service time includes total turn-around time of the service.
>
> For example,
>
> Client --> Servlet (Web Container) --> EJB (EJB Container) --> Database.
>
Given that the servlet blocks waiting for the EJB to complete, that
would be expected. For tuning purposes the value of this is to
understand what is happening to your web container thread pool. If you
care about CPU utilization it isn't telling you much.
| |
| Ken Hygh 2006-12-19, 1:24 pm |
| srindies@yahoo.co.in wrote:
> Thanks Ken,
>
> We have an EJB component called by the servlet. Is service time includes total turn-around time of the service.
>
> For example,
>
> Client --> Servlet (Web Container) --> EJB (EJB Container) --> Database.
>
> Regards,
>
> Sridhar H
>
>
Sridhar,
Understand that your flow is incomplete. It really looks like:
Client -> Servlet -> EJB -> Database -> EJB -> Servlet -> Client
With this picture, it's easier to understand what's happening and what's
being measured.
Ken
|
|
|
|