Below you will find pages that utilize the taxonomy term “Haproxy”
Article
Part 2/2: How to set up HAProxy for an active-active postgres databases
Step 1: Setting up HAProxy I hope you gone through Part1 of this series. Perhaps, one thing you might have noticed is that I’ve to connect to the specific master database. In our case, since both the databases are running on docker, only the localhost port is different. (In a production environment, most likely you going to run the databases on a different host). The main reason for active-active replication is high availability.