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: Sat, 27 Aug 2005 06:27:43 -0700
Message-ID: <deppoc$11n7$1@news.hub.org> (raw)
In-Reply-To: <430FC13E.2000302@travelamericas.com>
References: <60fyszpby5.fsf@dba2.int.libertyrms.com>
	<20050824173106.76233.qmail@web53210.mail.yahoo.com>
	<deivg4$ura$1@news.hub.org>
	<dekdak$1v8e$1@news.hub.org>
	<430E5116.5000108@travelamericas.com>
	<demg28$2k1m$1@news.hub.org>
	<430F50D3.9090709@travelamericas.com>
	<deo7ap$kip$1@news.hub.org>
	<430FC13E.2000302@travelamericas.com>

Chris Travers wrote:
> 1)  Efficiency of network throughput
> 2)  Tolerance to attempts at repeat transactions before replication 
> (emptying an account multiple times)
> 3)  Availability of a transaction.

We ended up having to give up #1. It's possible to have our transactions 
routed to multiple servers before it becomes a final transaction. User1 
might request a payment on ServerA. User2 then marks the payment as 
approved on ServerB. ServerC is authoritative and checks the bank/budget 
balances before posting as final. After each of these steps requires 
replication of the latest changes to all other servers. (In theory, the 
first 2 steps only require replication to the authoritative server but 
we do so anyways so all servers can act as backups for each other -- 
pending transactions still need to be restored in case of total DB failure.)

There's definitely a delay in terms of getting from point A to point Z; 
duplicate servers. But there's guaranteed financial integrity, users can 
connect to any server the load balancer picks and no server requires any 
other server/connection to be up for individual user tranactions to occur.



view thread (91+ messages)  latest in thread

Message-ID: <deppoc$11n7$1@news.hub.org>
Permalink:  ../deppoc$11n7$1@news.hub.org/
Also on:    postgresql.org/message-id/deppoc$11n7$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: <deppoc$11n7$1@news.hub.org>
  References: <60fyszpby5.fsf@dba2.int.libertyrms.com> <20050824173106.76233.qmail@web53210.mail.yahoo.com> <deivg4$ura$1@news.hub.org> <dekdak$1v8e$1@news.hub.org> <430E5116.5000108@travelamericas.com> <demg28$2k1m$1@news.hub.org> <430F50D3.9090709@travelamericas.com> <deo7ap$kip$1@news.hub.org> <430FC13E.2000302@travelamericas.com> <deppoc$11n7$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