"Suggs, S. Brian" wrote:
> > Any performance differences between one versus two servlets in this case
> are
> > going to be so vanishingly small that they have no practical impact.
>
> However what if I were to have close to a hundred pages, like I stated
> earlier. The single servlet would service all 100 pages, rather than having
> a different servlet service each page. This would probably greatly depend
> on how many requests the whole site gets simultaneously, wouldn't it? Or no?
>
As I said in my response to your original question, the only "win" you get (and
it's in favor of the one-instance approach) is memory space. The performance
difference, for all practical purposes, is non-existent. It makes sense when
you recall that, for 100 simultaneous requests, you are going to have 100
simultaneous threads anyway, no matter how many servlet instances are involved.
And it is the multiple threads that really matter in terms of responsiveness and
performance.
> Regards,
> Brian
>
Craig McClanahan
___________________________________________________________________________
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