pg.ddx.io  pgsql-general@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: William Yu <wyu@talisys.com>
To: pgsql-general@postgresql.org
Subject: Re: Postgresql replication
Date: Thu, 25 Aug 2005 12:02:05 -0700
Message-ID: <del4jg$242o$1@news.hub.org> (raw)
In-Reply-To: <430DC557.7090905@wildenhain.de>
References: <60fyszpby5.fsf@dba2.int.libertyrms.com>
	<20050824173106.76233.qmail@web53210.mail.yahoo.com>
	<deivg4$ura$1@news.hub.org>
	<430D14EA.50502@telus.net>
	<dejqcu$1slo$1@news.hub.org>
	<20050825114411.GA30455@bafster.chello.upc.cz>
	<430DB098.9070905@wildenhain.de>
	<dekdt6$219p$1@news.hub.org>
	<430DC557.7090905@wildenhain.de>

Tino Wildenhain wrote:
>> If your app is used by external customers who are all across the 
>> country, they want to continue to still use your software even though 
>> you and data center #1 are 6 feet under due to an 8.0 earthquake. They 
>> want auto-failover to data center #2 which is in close proximity to 
>> CIA headquarters and other juicy terrorist targets.
> 
> 
> Sure, but in this case a "simple" async master-slave (slony-1)
> and the usual failover (also DNS-failover) should be sufficient.

Workable if you're willing to keep multiple sets of servers idling on 
stand-by only for catastrophic failure. For temporary failure, I believe 
at this time Slony requires manual admin work to resync a promoted 
master and demote it back to slave. Not a big deal if the downtime 
doesn't happen often but when you're depending a cross-country internet 
connection, it happens far more often than you like to deal with.

Of course, we're also using multi-master replication to load balance 
traffic across multiple servers because the price jump from going 2xDC 
to 4xDC is major. So we have a bunch of 2x1 and 2xDC servers across the 
country serving our customers versus 1 big server for primary access and 
1 big server as a standby.



view thread (91+ messages)  latest in thread

Message-ID: <del4jg$242o$1@news.hub.org>
Permalink:  ../del4jg$242o$1@news.hub.org/
Also on:    postgresql.org/message-id/del4jg$242o$1@news.hub.org

 · 

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: wyu@talisys.com
  Subject: Re: Postgresql replication
  In-Reply-To: <del4jg$242o$1@news.hub.org>
  References: <60fyszpby5.fsf@dba2.int.libertyrms.com> <20050824173106.76233.qmail@web53210.mail.yahoo.com> <deivg4$ura$1@news.hub.org> <430D14EA.50502@telus.net> <dejqcu$1slo$1@news.hub.org> <20050825114411.GA30455@bafster.chello.upc.cz> <430DB098.9070905@wildenhain.de> <dekdt6$219p$1@news.hub.org> <430DC557.7090905@wildenhain.de> <del4jg$242o$1@news.hub.org>

* 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