Re: Tomcat threads

2010-03-03 Thread Bharath Vasudevan
Thanks Folks. On Wed, Mar 3, 2010 at 1:03 PM, Peter Crowther wrote: > On 3 March 2010 18:24, Bharath Vasudevan wrote: > > > Hmmm... > > > > "No, the server will allocate maxThreads request handlers; the other > > requests would sit in the TCP stack&

Re: Tomcat threads

2010-03-03 Thread Bharath Vasudevan
pick it up from the TCP stack and let the web server thread handle the request. Wont tomcat reject the request when max threads have been reached (since it would have already picked up tcp layer)? On Wed, Mar 3, 2010 at 9:45 AM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrot

Re: Tomcat threads

2010-03-03 Thread Bharath Vasudevan
Thomas wrote: > On 03/03/2010 17:21, Bharath Vasudevan wrote: > > Hi Charles, > > > > Let me explain the scenario. When tomcat gets a request, it does a socket > > send to some other process to handle the request and then respond. This > > would happen fast. But

Re: Tomcat threads

2010-03-03 Thread Bharath Vasudevan
Thanks Bill. Comet is something that I can dig into :). On Tue, Mar 2, 2010 at 7:21 PM, Bill Barker wrote: > > > "Caldarale, Charles R" wrote in message > news:99c8b2929b39c24493377ac7a121e21f96cb817...@usea-exch8.na.uis.unisys.com. > .. > > From: Bh

Re: Tomcat threads

2010-03-03 Thread Bharath Vasudevan
< chuck.caldar...@unisys.com> wrote: > > From: Bharath Vasudevan [mailto:bharath@gmail.com] > > Subject: Re: Tomcat threads > > > > Why is it illlogical? > > 40+ years of system architecture experience. > > > If the number of requests increases, the

Re: Tomcat threads

2010-03-02 Thread Bharath Vasudevan
at 4:34 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Bharath Vasudevan [mailto:bharath@gmail.com] > > Subject: Re: Tomcat threads > > > > If we get a request on a thread, let some other thread do > > the work for it and store the

Re: Tomcat threads

2010-03-02 Thread Bharath Vasudevan
thread which does the work writes the response on that request. Regards, Bharath On Tue, Mar 2, 2010 at 3:57 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Bharath Vasudevan [mailto:bharath@gmail.com] > > Subject: Tomcat threads > > > >

Tomcat threads

2010-03-02 Thread Bharath Vasudevan
Hi, I would like to know more on the threads created in tomcat. Are they user level threads or kernel threads? I see that the requests are kicked off through the threads from a pool (which has a configured size), how can this be scalable? Also, from my understanding in servlets, the response for