commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Thomas <>
Subject Re: [POOL2][PROPOSAL] releasing commons-pool2-2.0-beta1
Date Fri, 06 May 2011 10:06:12 GMT
On 05/05/2011 19:08, Phil Steitz wrote:
> Re performance, don't forget to add something that skips the synch
> in createDataSource - i.e., use a PoolingDataSource directly to
> avoid the thread lineup on getConnection due to that internal synch.

Just tested that locally. It doesn't help that much. The bottleneck is
in the pooling allocate() code. I going to start looking at that today.
Not sure how long it is going to take for me to replace it with
something based on java.util.concurrent


To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message