There is a delay the first time a servlet is execute because the class must be
loaded and the init method run. After that class does not have to be loaded and
the init method run.
Check document <JSDK_ROOT>\doc\servlet_tutorial.html#lifecycle
Jay Macarty <[EMAIL PROTECTED]> on 03/22/99 03:01:16 PM
Please respond to "A mailing list for discussion about Sun Microsystem's Java
Servlet API Technology." <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc: (bcc: Robert Voysey/Inv/MetLife/US)
Subject: Re: JRun/IIS4 performance issues
You mention in your note doing a query. Are you sure it is the servlet
causing the delay and not the database connection? These connections can be
quite time consuming in some cases.
I have two servers running JRun and IIS 4. One server is running JRun
standard and the other is running JRun Pro. I have only noticed a delay the
first time the servlet is loaded.
-----Original Message-----
From: Alfonso Urdaneta <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Monday, March 22, 1999 2:03 PM
Subject: Re: JRun/IIS4 performance issues
>> When I click on a link to invoke a servlet there is a terrible delay
>> until the servlet runs - between 5 and 10 seconds.
>> Once the servlet is invoked, it performs well, returning a query and its
>> html page in less than a second.
>> Has anyone else noticed these performance problems using the JRun
>> product.
>
>I've seen that, but only the very first time that the servlet gets hit.
>After that it's instantaneous.
>
>I think that it may be the session stuff, but I'm not sure.
>
>Alfonso.
>
>___________________________________________________________________________
>To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
>of the message "signoff SERVLET-INTEREST".
>
>Archives: http://archives.java.sun.com/archives/servlet-interest.html
>Resources: http://java.sun.com/products/servlet/external-resources.html
>LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html