public inbox for [email protected]  
help / color / mirror / Atom feed
From: Jehan-Guillaume de Rorthais <[email protected]>
To: Achilleas Mantzios <[email protected]>
Cc: vijay patil <[email protected]>
Cc: [email protected]
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: <[email protected]>
References: <CAD5k+7wgFmO7V_ncFCHBOzO0d9H51O5aKDD+hcnrCbUgZomqiQ@mail.gmail.com>
	<[email protected]>

On Wed, 23 Jul 2025 12:13:26 +0100
Achilleas Mantzios <[email protected]> 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,






view thread (2+ messages)

reply

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: [email protected]
  Cc: [email protected], [email protected], [email protected], [email protected]
  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 agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox