I need to use a connection pool with PostgreSQL. I do not need load balancing or replication, just pooling.
What would be the best option? Pooling at the app layer (using a JDBC connection pool) or in an intermediate layer (using pgbouncer or pgpool)?
What are the advantages and disadvantages of each solution?