Re: Automatic Client Failover

From: Markus Wanner <markus(at)bluegap(dot)ch>
To: Dimitri Fontaine <dfontaine(at)hi-media(dot)com>
Cc: pgsql-hackers(at)postgresql(dot)org, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, josh(at)agliodbs(dot)com, Simon Riggs <simon(at)2ndquadrant(dot)com>
Subject: Re: Automatic Client Failover
Date: 2008-08-06 16:04:03
Message-ID: 4899CB73.6020005@bluegap.ch
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

Dimitri Fontaine wrote:
> That's not exactly this, I want to preserve any of the database servers from
> erroring whenever a network failure happens. Sync is not an answer here.

So, you want your base data to remain readable on the slaves, even if it
looses connection to the master, right?

However, this is not dependent on any timing property of replication of
writing transaction (i.e. sync vs async). Instead, it's very well
possible for any kind of replication solution, to continue allowing
read-only access to nodes which lost connection to the primary or to the
majority of the cluster. Such a node will fall behind with its snapshot
of the data, if the primary continues writing.

> That's exactly it: I'm not using replication as a way for a slave to takeover
> the master in case of failure, but to spread data availability where I need
> it, and without requiring a central server to be accessible (SPOF).

I understand. So this is increasing "read-only availability", sort of,
which is what's possible with today's tools. I'm still claiming that you
rather want to increase overall availability, once that's possible. But
arguing about inexistent solutions is pretty pointless.

> But as you mention it, we
> don't yet have a multi-master production setup.
>
> I still hope it'll get on the radar sooner than later, though ;)

Well, it's certainly on *my* radar ;-)

Regards

Markus Wanner

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Hiroshi Saito 2008-08-06 16:45:04 Re: unable to build libpq on Win 2003 (32 bit)
Previous Message Peter Eisentraut 2008-08-06 15:56:54 Re: Parsing of pg_hba.conf and authenticationinconsistencies