Hi,

Just a shot in the dark because you sound pretty well versed in JSP, but
were your pages pre-compiled?
If not, they compile the first time they are called, that adds significantly
to loading time.

If it looks like class lookup was the bottleneck, was the slowdown on the
first call to the class or was it random?  The slowdown may have been
because the first call to the class loaded it, while subsequent calls
didn't.

Also, what was the load on the server/database system?  If you are making
calls to a corporate database on a remote server, its performance can vary a
lot during peak hours.

Same with a heavily used server.

Rick
----- Original Message -----
From: "Hanks Mei" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, June 11, 2002 10:06 AM
Subject: Tomcat Performance??


> Hi,
>
> I have been trying to analyze the
> performance of my application(Jsp pages with tag libraries)
> in tomcat4.0.3+ jdk1.4
>
> But I was astonished to find that, the time taken for
> the pages to be served was varying between 90ms to 2200ms.
> The test jsp page is a dummy page without any back-end processing.
> The tags use a java class which contains all the required info
> hard coded for testing purposes.
>
> I am working on a application which must be highly
> responsive. So as I was trying to find out the reason,behind it.
> The time increase seems to be due to the Class lookup.
> (All the required classes are within the WEB-INF/classes)
>
> Can anybody shed some light on this?
> Has anybody seen this issue?
>
> I would greatly appreciate your help.
>
> Thx
> mano



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to