Re: Patroni vs pgpool II

From: Jehan-Guillaume de Rorthais <jgdr(at)dalibo(dot)com>
To: Inzamam Shafiq <inzamam(dot)shafiq(at)hotmail(dot)com>
Cc: "pgsql-general(at)lists(dot)postgresql(dot)org" <pgsql-general(at)lists(dot)postgresql(dot)org>
Subject: Re: Patroni vs pgpool II
Date: 2023-04-04 12:25:58
Message-ID: 20230404142558.0e1da98e@karst
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Mon, 3 Apr 2023 06:33:46 +0000
Inzamam Shafiq <inzamam(dot)shafiq(at)hotmail(dot)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.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message cen 2023-04-04 13:40:44 Re: Patroni vs pgpool II
Previous Message shveta malik 2023-04-04 11:34:47 Re: Support logical replication of DDLs