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


Reply via email to