From: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
To: Achilleas Mantzios <a.mantzios@cloud.gatewaynet.com>
Cc: vijay patil <vijay.postgres@gmail.com>
Cc: pgsql-general@lists.postgresql.org
Subject: Re: Request for Feedback on PostgreSQL HA + Load Balancing Architecture
Date: Wed, 23 Jul 2025 13:39:03 +0200
Message-ID: <20250723133903.55c00274@karst> (raw)
In-Reply-To: <93148226-72d5-4f5d-8c59-5ffedde7fe6b@cloud.gatewaynet.com>
References: <CAD5k+7wgFmO7V_ncFCHBOzO0d9H51O5aKDD+hcnrCbUgZomqiQ@mail.gmail.com>
<93148226-72d5-4f5d-8c59-5ffedde7fe6b@cloud.gatewaynet.com>
On Wed, 23 Jul 2025 12:13:26 +0100
Achilleas Mantzios <a.mantzios@cloud.gatewaynet.com> wrote:
…
> Have you consider pgpool-ii ? I know most support / service companies
> push for patroni, and manually separating read / write traffic from
> within the app,
Indeed
> but I still find pgpool's query routing very nice.
Using Pgpool for HA is a no go in my opinion. Pgpool HA requires the
DBA/sysadmin to deal alone with the real high availability challenges. Pgpool
doesn't handle the HA complexity itself, it stays quite "naive". It requires the
sysadmin/DBA to mess with the complexity to keep the cluster safe from
corruption. In other word, implement the HA safety stack in bash yourself. This
is partly true for repmgr as well last time I checked.
Don't implement Patroni or Pacemaker yourself in a collection of "action
scripts" triggered by a naive HA stack. Some people tried, some clusters has
been corrupted.
Pgpool for routing and/or pooling is an acceptable solution. Of course, it comes
with its drawbacks and some inefficiences, that's why most support/service
companies avoid it when possible. But depending on the context, it could be OK.
Regards,
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-general@postgresql.org
Cc: jgdr@dalibo.com, a.mantzios@cloud.gatewaynet.com, vijay.postgres@gmail.com, pgsql-general@lists.postgresql.org
Subject: Re: Request for Feedback on PostgreSQL HA + Load Balancing Architecture
In-Reply-To: <20250723133903.55c00274@karst>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox