pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jehan-Guillaume de Rorthais <jgdr@dalibo.com>
To: Inzamam Shafiq <inzamam.shafiq@hotmail.com>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Patroni vs pgpool II
Date: Tue, 4 Apr 2023 14:25:58 +0200
Message-ID: <20230404142558.0e1da98e@karst> (raw)
In-Reply-To: <AM9P251MB033074BFEBB9AA40955B5B7598929@AM9P251MB0330.EURP251.PROD.OUTLOOK.COM>
References: <AM9P251MB033074BFEBB9AA40955B5B7598929@AM9P251MB0330.EURP251.PROD.OUTLOOK.COM>

On Mon, 3 Apr 2023 06:33:46 +0000
Inzamam Shafiq <inzamam.shafiq@hotmail.com> wrote:
[...]
> Can someone please suggest what is one (Patroni vs PGPool II) is best for
> achieving HA/Auto failover, Load balancing for DB servers. Along with this,
> can you please share the company/client names using these tools for large PG
> databases?

Load balancing is best achieved from the application side.

The most popular auto failover solution is Patroni.

Other solutions are involving Pacemaker to either:

* build a shared storage cluster with a standalone instance moving from node to
  node (but this can include standbys)
* build a cluster with a promotable resource using eg. the PAF resource agent,
  that will decide where to start the standbys and which one to promote.

No matter the solution you pick, be prepared to learn and train. A lot.





view thread (24+ messages)  latest in thread

Message-ID: <20230404142558.0e1da98e@karst>
Permalink:  ../20230404142558.0e1da98e@karst/
Also on:    postgresql.org/message-id/20230404142558.0e1da98e@karst

 · 

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 from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-general@postgresql.org
  Cc: jgdr@dalibo.com, inzamam.shafiq@hotmail.com
  Subject: Re: Patroni vs pgpool II
  In-Reply-To: <20230404142558.0e1da98e@karst>
  References: <AM9P251MB033074BFEBB9AA40955B5B7598929@AM9P251MB0330.EURP251.PROD.OUTLOOK.COM> <20230404142558.0e1da98e@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