Hi,
You can use combination of patroni, pgbouncer, and HAProxy. patroni will work for auto failover, pgbouncer is for connection pooling and HAProxy can be used for load balancing. These all tools are open source.
Regards,
Inzamam Shafiq
From: Arif Hussain <ahussain19@xxxxxxxxx>
Sent: Friday, November 3, 2023 2:04 PM To: pgsql-general@xxxxxxxxxxxxxxxxxxxx <pgsql-general@xxxxxxxxxxxxxxxxxxxx> Subject: Regarding HA, Failover and Load Balancing Hello,
Could anyone please help to implement High availability, replication and failover for postgresql.
pgpool-II: it provides pooling and load balancing but it does not provide automatic failover. Patroni: it provides automatic failover but it is not good for load balancing. ClusterControl: Another candidate with free community addition but failover is only in paid version. Not sure how efficient it is. EnterpriseDB: Another one fully paid. Exploring each and every tool to understand its capabilities and limitations would be a very time consuming task. I want to know which tool or set of tools are being used mostly so that I can narrow down my research to make an efficient decision quickly. Open source tools are our preference but if some paid tools provide almost all of the features, we would think of it.
Thanks,
Arif |