tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Caldarale, Charles R" <Chuck.Caldar...@unisys.com>
Subject RE: Tomcat threads
Date Wed, 03 Mar 2010 03:22:42 GMT
> From: Bharath Vasudevan [mailto:bharath.cng@gmail.com]
> Subject: Re: Tomcat threads
> 
> Why is it illlogical?

40+ years of system architecture experience.

> If the number of requests increases, the number of threads 
> that can be handled by the system goes down.

You'll have to explain that one, since it doesn't make sense as written.

> The context switches and the pain to handle the switches makes
> handling of the requests in lesser threads which is scalable.

Nor does that.  What are you categorizing as a "lesser thread"?  What makes those any more
scalable than any other kind of thread?  You're free to set the thread pool limit to any value
you want, including infinity.  Setting the limit to larger than what the logical and physical
resources of the system you're running on can handle will induce performance problems (e.g.,
page thrashing, excessive GCs) or outright failures as soon as someone decides to start pounding
on your server.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus
for use only by the intended recipient. If you received this in error, please contact the
sender and delete the e-mail and its attachments from all computers.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message