Servlet/JSP Lifecycle and Performance

2003-09-05 Thread Lukas Bradley
All,

Where can I get a description of how Tomcat handles a Servlet lifecycle from
init() to removal from memory?  I'm interested in how long a Servlet is held
in memory, and how long it remains inactive before it is removed from the
Servlet pool.

Also, are there performance statistics of the maximum number of Servlets
used versus number of simultaneous requests?  In other words, if there are
1000 simultaneous requests, what is the performance sacrifice for having
2000 active servlets versus 200?  Assume memory and processing power is
ample.

Thanks for any and all information or comments.

Lukas




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



Re: Servlet/JSP Lifecycle and Performance

2003-09-06 Thread Tim Funk
AFAIK, no such benchmarks have been made.

Once tomcat loads a servlet, it is loaded. Tomcat currently does not unload 
servlets due to lack of use.

-Tim

Lukas Bradley wrote:

All,

Where can I get a description of how Tomcat handles a Servlet lifecycle from
init() to removal from memory?  I'm interested in how long a Servlet is held
in memory, and how long it remains inactive before it is removed from the
Servlet pool.
Also, are there performance statistics of the maximum number of Servlets
used versus number of simultaneous requests?  In other words, if there are
1000 simultaneous requests, what is the performance sacrifice for having
2000 active servlets versus 200?  Assume memory and processing power is
ample.
Thanks for any and all information or comments.

Lukas
 


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


Re: Servlet/JSP Lifecycle and Performance

2003-09-07 Thread Lukas Bradley
> AFAIK, no such benchmarks have been made.
> Once tomcat loads a servlet, it is loaded. Tomcat currently does not
unload
> servlets due to lack of use.

Is this the case with Tomcat 5?

Lukas




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



Re: Servlet/JSP Lifecycle and Performance

2003-09-07 Thread Bill Barker

"Lukas Bradley" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > AFAIK, no such benchmarks have been made.
> > Once tomcat loads a servlet, it is loaded. Tomcat currently does not
> unload
> > servlets due to lack of use.
>
> Is this the case with Tomcat 5?

Currently, yes.

>
> Lukas




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