pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Lazaro Garcia <lazaro3487@gmail.com>
To: 'Stephen Frost' <sfrost@snowman.net>
To: 'Dhandapani Shanmugam' <postgresql95@gmail.com>
Cc: 'pgsql-admin' <pgsql-admin@postgresql.org>
Cc: pgsql-general@postgresql.org
Subject: RE: PostgreSQL Active-Active
Date: Wed, 7 Feb 2018 09:28:34 -0500
Message-ID: <002901d3a01f$f0fc6720$d2f53560$@gmail.com> (raw)
In-Reply-To: <20180206111200.GH2416@tamriel.snowman.net>
References: <CAAj4MFGjrtpruHsyw9TjXyWH72B0cfiBDNJpqMLsAUuHc8TGhw@mail.gmail.com>
	<20180206111200.GH2416@tamriel.snowman.net>

Do you have any tutorial about patroni + ha-proxy with postgresql (what
about load balancing with this setup?)

Regards.

-----Mensaje original-----
De: Stephen Frost [mailto:sfrost@snowman.net] 
Enviado el: martes, 6 de febrero de 2018 06:12 a. m.
Para: Dhandapani Shanmugam
CC: pgsql-admin; pgsql-general@postgresql.org
Asunto: Re: PostgreSQL Active-Active

Greetings,

* Dhandapani Shanmugam (postgresql95@gmail.com) wrote:
> Do we have active-active setup in postgreSQL, like we have in oracle RAC?.
> Sorry if this question has been addressed already. What will be best 
> open source HA for postgresql with zero RTO and RPO.

What you're probably looking for is a 3 (or more) node setup with patroni,
etcd, and synchronous replication.  Note that this will be a shared-nothing
architecture, avoiding the risk that something bad happens with the storage
system but requiring that the data be replicated multiple times.  Using
synchronous replication means that you have to have the nodes all close to
each other, of course, but meets the zero RPO.  Zero RTO is just silly, but
with patroni and haproxy you can detect and failover pretty darn fast.

Thanks!

Stephen





view thread (9+ messages)  latest in thread

Message-ID: <002901d3a01f$f0fc6720$d2f53560$@gmail.com>
Permalink:  ../002901d3a01f$f0fc6720$d2f53560$@gmail.com/
Also on:    postgresql.org/message-id/002901d3a01f$f0fc6720$d2f53560$@gmail.com

 · 

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: pgsql-admin@postgresql.org
  Cc: lazaro3487@gmail.com, sfrost@snowman.net, postgresql95@gmail.com, pgsql-general@postgresql.org
  Subject: RE: PostgreSQL Active-Active
  In-Reply-To: <002901d3a01f$f0fc6720$d2f53560$@gmail.com>

* 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