tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <Yoav.Shap...@mpi.com>
Subject RE: Can Tomcat restrict concurrent threads of a servlet?
Date Thu, 22 May 2003 20:28:55 GMT

Howdy,
This belong on tomcat-user, not tomcat-dev.  My apologies.  Please reply
there if you wish to continue this thread.

Yoav Shapira
Millennium ChemInformatics


>-----Original Message-----
>From: Shapira, Yoav
>Sent: Thursday, May 22, 2003 4:25 PM
>To: Tomcat Developers List
>Subject: RE: Can Tomcat restrict concurrent threads of a servlet?
>
>
>Howdy,
>See SingleThreadModel:
>http://java.sun.com/j2ee/sdk_1.3/techdocs/api/javax/servlet/SingleThrea
d
>Model.html
>
>However, STM is evil: search this list's archives for more details.
>
>You may be better off delegating the resource-consuming functionality
to
>a non-servlet class.  Then in that class you can synchronize the
>relevant methods / resources / do any number of other things to control
>resource consumption.
>
>Yoav Shapira
>Millennium ChemInformatics
>
>
>>-----Original Message-----
>>From: William Huang [mailto:shuang@xperient.net]
>>Sent: Thursday, May 22, 2003 4:10 PM
>>To: tomcat-dev@jakarta.apache.org
>>Subject: Can Tomcat restrict concurrent threads of a servlet?
>>
>>I know Tomcat can set up the maximum concurrent users. But could
Tomcat
>be
>>set up to restrict maximum number of concurrent requests to a single
>>servlet? I want to know this because I have one servlet that is
>extremely
>>resource-consuming and I don't want this servlet to induce
>out-of-memory
>>error.
>>
>>Thanks in advance.
>>
>>With best regards,
>>William
>
>
>
>This e-mail, including any attachments, is a confidential business
>communication, and may contain information that is confidential,
>proprietary and/or privileged.  This e-mail is intended only for the
>individual(s) to whom it is addressed, and may not be saved, copied,
>printed, disclosed or used by anyone else.  If you are not the(an)
intended
>recipient, please immediately delete this e-mail from your computer
system
>and notify the sender.  Thank you.
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: tomcat-dev-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-dev-help@jakarta.apache.org




This e-mail, including any attachments, is a confidential business communication, and may
contain information that is confidential, proprietary and/or privileged.  This e-mail is intended
only for the individual(s) to whom it is addressed, and may not be saved, copied, printed,
disclosed or used by anyone else.  If you are not the(an) intended recipient, please immediately
delete this e-mail from your computer system and notify the sender.  Thank you.


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


Mime
View raw message