tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allistair Crossley" <>
Subject RE: Tomcat and my application's performance ... time being lost?
Date Mon, 12 Apr 2004 13:57:19 GMT
Hi Yoav,

That's what I have been doing the past 3 weeks but does the profiler not show time spent relative
to the code execution ... my timings show the code and page execution to be very fast under
load and so I deduced the time was being spent somewhere else. If the time was between Tomcat
and IIS or network bandwidth then the Profiler is not going to pick that up I don't think?

This is stressful in the extreme .. launch in the morning :(

Cheers, ADC.

-----Original Message-----
From: Shapira, Yoav []
Sent: 12 April 2004 13:42
To: Tomcat Users List
Subject: RE: Tomcat and my application's performance ... time being

Use a Profiler to show you exactly where time is spent.

Yoav Shapira
Millennium Research Informatics

>-----Original Message-----
>From: Allistair Crossley []
>Sent: Sunday, April 11, 2004 3:51 PM
>Subject: Tomcat and my application's performance ... time being lost?
>Hello Guys
>*sigh* I am trying to make my app work as quick as possible but look at
>these stats...
>Page name:                              page_6 page_7 page_8 page_9
>Min web transaction (without images): 460.79 1962.42 2296.12 2881.90
>2660.72 1640.80
>Avg web transaction (without images): 3681.05 3637.22 3472.87 3935.36
>4368.14 3877.93
>Max web transaction (without images): 5425.64 5875.14 5977.36 6194.46
>7140.51 6557.30
>That's 20 users x 3 iterations. What is puzzling me is that I have
>code-level timings around the very top entry point of the Struts action
>the very bottom. These timings are coming out at sub 0.5s. I also have
>the same in the top level template JSP that includes every page and the
>pages for the most part are timed at sub 0.4s.
>In general though add them together and I get sub 0.5s for execution of
>backend and frontend code.
>But look at the average transaction time above and 3+s is the best my
>Tomcat configuration is doing. I am beginning to suspect that this is
>to do with my application code if my timings are so fast??
>I suppose these type of timings are only for the running of the code
and do
>not cover the time it takes for the user click to the Action itself,
>also again for sending the page as a response stream?? Although the
>show fast execution, does this include sending the response stream
itself -
>I don't think it does.
>I have tried this now on my home machine and 2 servers so I don't think
>is to do with network latency or anything like that. I am pretty sure
>something in the application is slowing down but I have timed pretty
>everything from database calls, page compilation and so fourth and it
>all where is my time going?
>--> User Click
> --> My Action Servlet extends Struts Action Servlet framework
>  --> Action Servlet calls Struts framwork I presume
>   --> Struts framework calls my BaseAction (this is what I time)
>    --> My Action class does it's work
>     --> my BaseAction returns (output total time here = sub 0.5s)
>      --> Struts/tiles handles sending JSP view to user
>       --> My template JSP is called by Struts (this is timed again <
>So if my code timings are really fast, then it could be Struts that is
>consuming the extra time?
>Advice on where can I turn next to determine the missing time is so
>much appreciated.
>QAS Ltd.
>Developers of QuickAddress Software
><a href=""></a>
>Registered in England: No 2582055
>Registered in Australia: No 082 851 474

This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.

To unsubscribe, e-mail:
For additional commands, e-mail:

QAS Ltd.
Developers of QuickAddress Software
<a href=""></a>
Registered in England: No 2582055
Registered in Australia: No 082 851 474

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message