tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From yogesh hingmire <yogesh.hingm...@gmail.com>
Subject DBCP is Single Threaded
Date Thu, 07 Nov 2013 15:58:51 GMT
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 handing out new
connections and other threads which need connections from the pool will
wait until they are handed their respective connection?

Is my understanding right and if anyone could explain this better

Thank You
Yogesh

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message