struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrew Cockburn" <acockb...@aqualog.co.uk>
Subject Re: Slow execution time using struts
Date Fri, 08 Dec 2000 21:13:18 GMT
Makes sense .. plus my dev machine is badly lacking in horsepower so I guess
it shows up a lot worse. Thanks for clearing that up Craig.

Andrew

----- Original Message -----
From: "Craig R. McClanahan" <Craig.McClanahan@eng.sun.com>
To: <struts-user@jakarta.apache.org>
Sent: Friday, December 08, 2000 5:46 PM
Subject: Re: Slow execution time using struts


> Andrew Cockburn wrote:
>
> > I recently upgraded to tomcat 3.2 and now my first hit to a JSP after a
> > restart seems to take about a minute to come back, and then it is about
the
> > same as it was. I am not using struts (yet).
> >
>
> Your very first request that initiates a session is going to take several
> seconds no matter what kind of a request it is (servlet, JSP, static file)
> because a new, secure, random number generator is being used to create
session
> ids in Tomcat 3.2 (same in 4.0).  After that, all of my experience has
been that
> page compile times are about the same, but that performance of
already-compiled
> pages is faster.  Of course, that's only significant if Tomcat's overhead
was a
> large part of the total response time.
>
>
> > Andrew
> >
>
> Craig McClanahan
>
>
>


Mime
View raw message