Re: How can I limit the number of thread that tomcat spawn for my servlet

2007-05-25 Thread Bill Barker
"Herman Schultz" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Hi, > > My understanding is tomcat will spawn a thread for each request to my > servlet. > How can I limit the number of thread that tomcat spawn for my servlet > simultaneous

Re: How can I limit the number of thread that tomcat spawn for my servlet

2007-05-25 Thread Christopher Schultz
. That doesn't mean that a thread will be created for each request. Most app servers will use thread pools and re-use threads since they are relatively heavy to just create and discard all the time. > How can I limit the number of thread that tomcat spawn for my servlet > simultaneously? T

How can I limit the number of thread that tomcat spawn for my servlet

2007-05-25 Thread Herman Schultz
Hi, My understanding is tomcat will spawn a thread for each request to my servlet. How can I limit the number of thread that tomcat spawn for my servlet simultaneously? And let say if I limit the simulateous thread for my servlet to 10, what happens to the 11th request? Will it get dropped? Or