-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Bjørn,
On 6/3/15 2:52 PM, Bjørn T Johansen wrote: > Just saw a discussion about Tomcat DBCP 8.0.18 issue, where Tomcat > JDBC pooling vs Commons DBCP 2 pooling was briefly discussed.. So > now I am a bit curious... I am using Tomcat JDBC, because I read > somewhere that this was better than DBCP (guess they were talking > about DBCP 1 then). Does this mean I should be using DBCP 2 > instead of Tomcat JDBC with my Tomcat 8.x installations? Because of it being the default in Tomcat, DBCP2 is likely to have much more mileage under its belt than tomcat-jdbc, so edge cases and strange issues are more likely to be discovered and solved. If you want to know about performance, you'll have to benchmark in your own environment -- and make sure you use a valid test case. Don't just test how long it takes to check-out 1M connections and return them to the pool in a single thread. I think it's a matter of preference for the most part. If I were you, I'd stick with my existing configuration, if only because you know it works. ;) - -chris -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 Comment: GPGTools - http://gpgtools.org iQIcBAEBCAAGBQJVb1qZAAoJEBzwKT+lPKRY23QP/jr5Z0d5q1wkqE78f54nLgGi oi05zqQbhDD5hSUf1eb9YIOcCI6z6roIBp0/lZn9hCh17tvAb803iLWz1CjG+Gxc j/KiqaWM/PeIyuyK34pnLXowG3cXDqUbLdA3Ru5RmVNAegsOb0eGzwnby81oXZTp JFknIbaWsUeIcMRmQXSwLVYYaAzMBm83qfCy+/0jUaSAWVnQfXK/xK8N2E8R32ou i4r/MUjRE2uXiVSa05QNk2WtgMjtfSVUR8HjyZSWssAAeOChSQWrU5KeUgGE8Bo2 TtQRozGsX4oyULxSpCrkCSfzD85jgt9kLWLO0oN2bDEiHuGth1HH0dBiBUOX+mLe GbraqIJUz1PHawLD8nWfSjnLgcihkcAN+6wsVvjs4Lo5TmW2yhJT8Z4tps2c3Pgh mB9hJDMqBJJzI1kCRcRGIuqA6gscpgsNmnfj14QBudJ1voNDf1E4GoAvXsDuNIjU mfJLAj8n5qNHBAmp8rliuQArA57WwB5GQck9L7HmUqSZwNTJophC61ICePPtdBmb 6+DUBnx/pV35Ax4SV2SR71ICAUAoguSmvuYSTzkUfKoHUW0XG2741/v5pfbN2RRY DBZmpd/iVAPHKc7WVK6ZOcpqgXAv6TXVvWY/1BB2PwaKR/8Y35ZBn6gss4lF0kcM KpPZw8Hc3ZtCAJueFTQG =NUfi -----END PGP SIGNATURE----- --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org