Report this

What is the reason for this report?

PostgreSQL + haproxy with multiple IP

Posted on April 19, 2016

I have setup a postgresql cluster (with one master node and one slave/standby node) using Patroni. I want to use HA proxy in front of my cluster. I think in this case HA proxy itself could be a single point of failure. So to avoid this problem if I use multiple nodes for the HA proxy. Then not sure how client will handle the connection in case of failure of IP of HA proxy to which client is corrently connected. ( Or we can say how client/client_app will switch over between different available IP’s of HA proxy).

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Start building today

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.