tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: DBCP is Single Threaded
Date Thu, 07 Nov 2013 16:08:16 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Mark,

On 11/7/13, 11:03 AM, Mark Thomas wrote:
> On 07/11/2013 15:58, yogesh hingmire wrote:
>> 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.
> 
> Where did you read that? While it might have been true of earlier
> DBCP releases I'm fairly sure it is not true for current releases.

http://tomcat.apache.org/tomcat-8.0-doc/jdbc-pool.html#Introduction
http://tomcat.apache.org/tomcat-7.0-doc/jdbc-pool.html#Introduction

Bullet-point #1 in both cases.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.15 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQIcBAEBCAAGBQJSe7rwAAoJEBzwKT+lPKRY7TgQAJvqpR1vX9TRqx/QiQ3M4/ja
x7A6mPueIz0Xr1Ay4K/DT2Sd1d+2FkKIKOkEmb4bLa3bX3dcibeGrM/NOTg3E4wO
XEtsUqt79cQeBdodE2+JcBFPI811Gv2rAXDxP7X9zE7UAKNvzE3l84jLiiVR4UXS
JdzsDHj6plQw0j5qfbUq2QnanObd1gsww2Dff59RbRxn+o1b1prgcAzipmVPPOx5
R7sTrvjiSr5EbmCCATfhsQKPXoLG0hAqfjDjfGgRVA5Bu3NRNYKO70oh/BaCqURi
CztV1flZivvLvsNpyW5pCXBNLzN3kxJC6KP090r+M8voOw+u4OpthATKqxjAdjM1
5rXBWv7fAXlrsCZVst4zdoe9SBONBUEG8KqpyG50zBeKzYW4D6gvAcqod9aZBB+5
BEby3Cwe/dzf0+LzDJFNgWjTjPvDFQsj3//QY1PcUVYqxxO4J5mA834U4z5wSBkl
c6ZGv12cJ2WgvBLkzTIwXZkMng6k1tC2i1GcAPUl+VTbIZfN8H9pJsJFAxw2Kzsg
M9pl0D3ftueVAvMFV/nu8EEFttg15V/B3V2BH5qP/L4R0W38BCTQZCgVnvWjDo8b
UUdXJr9hkcJq57mJOIVxJoYiAzuLBDZeHXNOFRHnbGky5KAvAA7riRlrAsjK0mOy
LqS8xJJwyTPWrs+BX9ix
=lS+X
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message