RE: Threading problems in connection pooling - suggested code change

2007-03-18 Thread Elli Albek
Good point on access to configuration variables. I am thinking of the local variables in the class as two types: Configuration, and runtime. The configuration variables do not change in our application, therefore access was not always synchronized. This will be a problem for applications that wish

Re: Threading problems in connection pooling - suggested code change

2007-03-17 Thread Holger Hoffstaette
On Fri, 16 Mar 2007 13:18:23 -0700, Elli Albek wrote: I use DBCP, and in our multithreaded performance test of DAOs we found that multiple threads are basically blocking on the connection pool class, either waiting to get a connection or to return a connection. In the test most threads were