Search Postgresql Archives

Re: Connection Pooling

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Allan Kamau wrote:
You may also have a look at Commons DBCP from Apache software
foundation, "http://commons.apache.org/dbcp/";. I have used it for a
few projects and have had no problems.

John R Pierce wrote:
for that matter, JDBC has its own connection pooling in java.

David Kerr wrote:
It looks like both of those solutions require a coding change. I'm hoping for a middleware solution similar to pgpool/pgbouncer.

How's that?

If JDBC has its own connection pooling and you're already using JDBC, voilà! no change needed, right?

If you're using a DataSource for JDBC, then it's a configuration change, not a code change, to switch to different databases, including to a different brand like Oracle instead of PG, never mind to switch between a pooled or unpooled connection.

Most app servers, including Tomcat, provide DBCP inbuilt with no further effort on the programmer's or even the deployer's part.

So to what coding changes do you refer?

--
Lew

--
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux