1

I need to configure a failover cluster for Postgres. I want to use PgPool-II as failover for the failed instance of DB.

My application runs on Spring Boot 2 and uses HikariCP as datasource. HikariCP is a connection pool by itself, and PgPool uses its connection pool.

HikariCP allocate connection pool from PgPool, which gives connections from it's own pool. I understand that PgPool pool size must be greater than Hikari pool.

Can they work together? And is this a good practice to use both of them in conjuction?

Kalle Richter
  • 8,008
  • 26
  • 77
  • 177

0 Answers0