Load balancing of write queries among health-checked nodes - Mailing list pgsql-general

From me+postgres@kotovalexarian.com
Subject Load balancing of write queries among health-checked nodes
Date
Msg-id E72E2BA7-85BF-4446-B9D8-08F462CB392D@kotovalexarian.com
Whole thread Raw
Responses Re: Load balancing of write queries among health-checked nodes
List pgsql-general
Hello. I have a PostgreSQL high availability cluster with Pgpool-II, but I don't use the virtual IP feature so my
clientsdon't know which node to send queries to. DNS round-robin is not a solution because it can't distinguish between
healthyand dead nodes. 

I thought about having a Pgpool-II instance on each client (client Pgpool-II -> cluster Pgpool-II -> PostgreSQL), but
AFAIKit can't distribute write queries. I also know that libpq may have multiple nodes to connect, but I need an
advancedhealth check because a node may have connectivity but be separated from the whole cluster so it must be
considereddead. 

Is there any solution?



pgsql-general by date:

Previous
From: Thomas Munro
Date:
Subject: Re: Getting PSQL in Windows to support TAB/Autocomplete via modified readline...
Next
From: Muhammad Usman Khan
Date:
Subject: Re: backup