Re: NIO connector - connections and threads

2014-03-10 Thread John Smith
Thanks for your reply. So are the open HTTP connections that use my web application code waiting in line to be processed by the available threads specified in maxThreads? Best, John On Sun, Mar 9, 2014 at 12:44 PM, Konstantin Kolinko knst.koli...@gmail.comwrote: 2014-03-09 2:08 GMT+04:00 John

RE: NIO connector - connections and threads

2014-03-10 Thread Caldarale, Charles R
From: John Smith [mailto:tomcat.ran...@gmail.com] Subject: Re: NIO connector - connections and threads Don't top post. So are the open HTTP connections that use my web application code waiting in line to be processed by the available threads specified in maxThreads? The connections won't

Re: NIO connector - connections and threads

2014-03-10 Thread John Smith
On Mon, Mar 10, 2014 at 11:48 AM, Caldarale, Charles R chuck.caldar...@unisys.com wrote: From: John Smith [mailto:tomcat.ran...@gmail.com] Subject: Re: NIO connector - connections and threads Don't top post. So are the open HTTP connections that use my web application code waiting

RE: NIO connector - connections and threads

2014-03-10 Thread Caldarale, Charles R
From: John Smith [mailto:tomcat.ran...@gmail.com] Subject: Re: NIO connector - connections and threads If you're implying are 200 people simultaneously, hitting the same page at the same time, or making the same HTTP POST at the same time, the answer is, yes, probably. Collecting some peak

Re: NIO connector - connections and threads

2014-03-10 Thread John Smith
Collecting some peak usage data might be interesting. You definitely want your max thread limit to be a bit above the number of concurrent requests you're handling. Of course, that has to be balanced against limits on other resources, such as memory and data base connections. - Chuck

Re: NIO connector - connections and threads

2014-03-09 Thread Konstantin Kolinko
2014-03-09 2:08 GMT+04:00 John Smith tomcat.ran...@gmail.com: Sorry, forgot: Tomcat 7.0.42 On Fri, Mar 7, 2014 at 3:59 PM, John Smith tomcat.ran...@gmail.com wrote: The NIO connector has two attributes from the standard HTTP Connector implementation, maxConnections and maxThreads with

Re: NIO connector - connections and threads

2014-03-08 Thread John Smith
Sorry, forgot: Tomcat 7.0.42 On Fri, Mar 7, 2014 at 3:59 PM, John Smith tomcat.ran...@gmail.com wrote: The NIO connector has two attributes from the standard HTTP Connector implementation, maxConnections and maxThreads with defaults of 1 and 200, respectively. Can anyone shine some

NIO connector - connections and threads

2014-03-07 Thread John Smith
The NIO connector has two attributes from the standard HTTP Connector implementation, maxConnections and maxThreads with defaults of 1 and 200, respectively. Can anyone shine some light on how these work together? If I'm allowing up to 1 connections, would that mean I only have 200