pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Bruce Momjian <bruce@momjian.us>
To: Zahir Lalani <ZahirLalani@oliver.agency>
Cc: Laura Smith <n5d9xq3ti233xiyif2vp@protonmail.ch>
Cc: pgsql-general@lists.postgresql.org <pgsql-general@lists.postgresql.org>
Subject: Re: Multi-master replication
Date: Fri, 13 Aug 2021 08:18:20 -0400
Message-ID: <20210813121820.GD4822@momjian.us> (raw)
In-Reply-To: <DB9P251MB0091CF7B5A3605F4B3B6296CA7FA9@DB9P251MB0091.EURP251.PROD.OUTLOOK.COM>
References: <DB9P251MB0091B4610EFBBBEDEEDAF3BCA7FA9@DB9P251MB0091.EURP251.PROD.OUTLOOK.COM>
	<u13RKkbT2qJqho2kimhLGIBjXWYF8ztHM3XzRCjQh4j5QNlHNp8awT6HzBF7nK2K0L9nMid0kcIYsAUSZ-9a4s1gJOt6vNn4aSpyH540Vf0=@protonmail.ch>
	<DB9P251MB0091CF7B5A3605F4B3B6296CA7FA9@DB9P251MB0091.EURP251.PROD.OUTLOOK.COM>

On Fri, Aug 13, 2021 at 11:35:29AM +0000, Zahir Lalani wrote:
> Confidential
> 
> Thx Laura
> 
> So here is the dilemma - everything in the cloud world tends toward horizontal scaling. We do that with PG using single master and multiple slaves. But we are write heavy and of course the load on the master is quite high. It does seem that multi-master has risks (everyone seems to talk about conflict resolution!) so I wonder whether the sensible route is simply to scale vertically on the master?
> 
> We are looking at pg_pool II to manage the current config - which I suppose will help with the connection pooling etc. But even it lends caution to the multi-master route for write heavy applications.

You might want to read this:

	https://momjian.us/main/blogs/pgblog/2018.html#December_24_2018

-- 
  Bruce Momjian  <bruce@momjian.us>        https://momjian.us
  EDB                                      https://enterprisedb.com

  If only the physical world exists, free will is an illusion.






view thread (27+ messages)  latest in thread

Message-ID: <20210813121820.GD4822@momjian.us>
Permalink:  ../20210813121820.GD4822@momjian.us/
Also on:    postgresql.org/message-id/20210813121820.GD4822@momjian.us

 · 

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: bruce@momjian.us, ZahirLalani@oliver.agency, n5d9xq3ti233xiyif2vp@protonmail.ch
  Subject: Re: Multi-master replication
  In-Reply-To: <20210813121820.GD4822@momjian.us>
  References: <DB9P251MB0091B4610EFBBBEDEEDAF3BCA7FA9@DB9P251MB0091.EURP251.PROD.OUTLOOK.COM> <u13RKkbT2qJqho2kimhLGIBjXWYF8ztHM3XzRCjQh4j5QNlHNp8awT6HzBF7nK2K0L9nMid0kcIYsAUSZ-9a4s1gJOt6vNn4aSpyH540Vf0=@protonmail.ch> <DB9P251MB0091CF7B5A3605F4B3B6296CA7FA9@DB9P251MB0091.EURP251.PROD.OUTLOOK.COM> <20210813121820.GD4822@momjian.us>

* 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