-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: Genral question: how to determine c3p0 maxPoolSize?
PostPosted: Thu Nov 12, 2009 12:10 am 
Beginner
Beginner

Joined: Fri Dec 10, 2004 11:46 pm
Posts: 37
Hi how do i figure about how many connection to to set my max at.

Right now I'm getting Failed to checkout connection at a pool size of 200.

Trying to stress test my app at 40 users a second. The DB is definitely a bottle neck as the more workload the longer each "request" takes which I assume i what is causing the connection checkout to fail.

Basically this app is a "direct" translation of a windows ADO app. ADO seems to open a connection per request which doesn't cause to lose the request only make it slower. Here I lose a request, because I don't have enough connections in the data source to acquire.

I figure I can set a "high" max pool size to "mimic" ADO, knowing that the pool will readjust itself on lower loads. Or maybe set a higher check out timeout?


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.