DBCP is Single Threaded

2013-11-07 Thread yogesh hingmire
While looking to upgrade to tomcat7, i understand the connection pool is a major improvement. I read that commons-dbcp is single threaded, in order to be thread safe commons-dbcp locks the entire pool, even during query validation. So as i understand, the connection pool will be locked when handi

Re: TomCat Request Processing

2013-05-14 Thread yogesh hingmire
the interaction happens between the connector and its request processor. Sorry if its too basic of a question, if you could or other team members point me in the direction it will be of great help. Thanks again, On Tue, May 14, 2013 at 4:29 AM, Mark Thomas wrote: > On 14/05/2013 05:47, yog

TomCat Request Processing

2013-05-13 Thread yogesh hingmire
I am curious to know how Tomcat's connectors handle the request processing internally, especially between the Http11Protocol which i believe acts as a connector and with every connector there may be a request processor which is the Http11Processor. I think there is a pool of Http11Processor classe

Re: Designing for Load on TomCat

2013-05-04 Thread yogesh hingmire
as 4 times what i arrive for a single node ? Your thoughts? On Sat, May 4, 2013 at 7:07 AM, André Warnier wrote: > yogesh hingmire wrote: > >> While planning / designing to build a web app that must scale to 2000 >> concurrent users, distributed across 5 Tomcat nodes in a clust

Designing for Load on TomCat

2013-05-04 Thread yogesh hingmire
While planning / designing to build a web app that must scale to 2000 concurrent users, distributed across 5 Tomcat nodes in a cluster, Apache at the front of course and the ability to serve 20 concurrent requests per seconds during business hours, with a page response time of 5 seconds, how would

Re: TomCat Executor

2013-01-18 Thread yogesh hingmire
Thanks Dan, So when i am not using the executor and specifying the maxthreads in the connector element, what would be the size of the pool ? Yogesh On Fri, Jan 18, 2013 at 12:04 PM, Daniel Mikusa wrote: > On Jan 18, 2013, at 12:54 PM, yogesh hingmire wrote: > > > Folks, > >

Re: Capacity Planning Turk's Formula

2013-01-17 Thread yogesh hingmire
Chuck and others, How do you think capacity planning should be approached ? Say for eg : I have x number of concurrent users to service with an avg response time of y etc.. Please help. Thank You, Yogesh On Thu, Jan 17, 2013 at 12:08 PM, yogesh hingmire wrote: > Folks, > >> I

Re: Capacity Planning Turk's Formula

2013-01-17 Thread yogesh hingmire
Folks, > I was reading this article by Mladen Turk from the FAQ section on TomCat > Performance & Capacity Planning > > http://people.apache.org/~mturk/docs/article/ftwai.html > > It says, > > “To get most out of Tomcat you should limit the number of concurrent > requests to 200 per CPU." > > So w