You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hanks Mei <me...@sify.com> on 2002/06/11 17:16:50 UTC

Re:+Tomcat+Performance??

Quoting  Rick Fincher <rn...@tbird.com>:

> Hi,
> 
> Just a shot in the dark because you sound pretty well versed in JSP,
> but
> were your pages pre-compiled?
I have not yet tried with that. Will try and update ASAP.
> If not, they compile the first time they are called, that adds
> significantly
> to loading time.
But the delay in loading of pages in between i.e in subsequent requests.

> 
> If it looks like class lookup was the bottleneck, was the slowdown on
> the
> first call to the class or was it random? 
YUP 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.
Just stand-alone tomcat
> 
> Same with a heavily used server.
> 
> Rick
> ----- Original Message -----
> From: "Hanks Mei" <me...@sify.com>
> To: <to...@jakarta.apache.org>
> 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:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 

-------------------------------------------------
Sify Mail - now with Anti-virus protection powered by Trend Micro, USA.
Know more at http://mail.sify.com

Take the shortest route to success! 
Click here to know how http://education.sify.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: +Tomcat+Performance??

Posted by Hanks Mei <me...@sify.com>.
Quoting  "Trenton D. Adams" <tr...@telusplanet.net>:

> Are you loading a bean with scope="request"?  If so, this could cause a
> problem.
> 
I have not used any bean!! The java class is invoked from the tag library.

> -----Original Message-----
> From: Hanks Mei [mailto:meihank@sify.com] 
> Sent: June 11, 2002 9:17 AM
> To: tomcat-user@jakarta.apache.org
> Subject: Re:+Tomcat+Performance??
> 
> 
> Quoting  Rick Fincher <rn...@tbird.com>:
> 
> > Hi,
> > 
> > Just a shot in the dark because you sound pretty well versed in JSP, 
> > but were your pages pre-compiled?
> I have not yet tried with that. Will try and update ASAP.
> > If not, they compile the first time they are called, that adds 
> > significantly to loading time.
> But the delay in loading of pages in between i.e in subsequent
> requests.
> 
> > 
> > If it looks like class lookup was the bottleneck, was the slowdown on
> > the
> > first call to the class or was it random? 
> YUP 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.
> Just stand-alone tomcat
> > 
> > Same with a heavily used server.
> > 
> > Rick
> > ----- Original Message -----
> > From: "Hanks Mei" <me...@sify.com>
> > To: <to...@jakarta.apache.org>
> > 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:  
> > <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> > <ma...@jakarta.apache.org>
> > 
> > 
> 
> -------------------------------------------------
> Sify Mail - now with Anti-virus protection powered by Trend Micro, USA.
> Know more at http://mail.sify.com
> 
> Take the shortest route to success! 
> Click here to know how http://education.sify.com
> 
> --
> To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 
> --
> To unsubscribe, e-mail:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 

-------------------------------------------------
Sify Mail - now with Anti-virus protection powered by Trend Micro, USA.
Know more at http://mail.sify.com

Take the shortest route to success! 
Click here to know how http://education.sify.com

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


RE: +Tomcat+Performance??

Posted by "Trenton D. Adams" <tr...@telusplanet.net>.
Are you loading a bean with scope="request"?  If so, this could cause a
problem.

-----Original Message-----
From: Hanks Mei [mailto:meihank@sify.com] 
Sent: June 11, 2002 9:17 AM
To: tomcat-user@jakarta.apache.org
Subject: Re:+Tomcat+Performance??


Quoting  Rick Fincher <rn...@tbird.com>:

> Hi,
> 
> Just a shot in the dark because you sound pretty well versed in JSP, 
> but were your pages pre-compiled?
I have not yet tried with that. Will try and update ASAP.
> If not, they compile the first time they are called, that adds 
> significantly to loading time.
But the delay in loading of pages in between i.e in subsequent requests.

> 
> If it looks like class lookup was the bottleneck, was the slowdown on
> the
> first call to the class or was it random? 
YUP 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.
Just stand-alone tomcat
> 
> Same with a heavily used server.
> 
> Rick
> ----- Original Message -----
> From: "Hanks Mei" <me...@sify.com>
> To: <to...@jakarta.apache.org>
> 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:  
> <ma...@jakarta.apache.org>
> For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> 
> 

-------------------------------------------------
Sify Mail - now with Anti-virus protection powered by Trend Micro, USA.
Know more at http://mail.sify.com

Take the shortest route to success! 
Click here to know how http://education.sify.com

--
To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>