From: pax <pax.deckard@gmail.com>
To: pgsql-general@postgresql.org
Subject: Re: Multi Master Replication
Date: Mon, 23 Dec 2013 13:40:20 -0800 (PST)
Message-ID: <1387834820938-5784468.post@n5.nabble.com> (raw)
In-Reply-To: <CAL-g6VTKwLkJ01PN+Z-SjQ9i9Oc+L6jU9j57ncLNT1Tg4vYRSQ@mail.gmail.com>
References: <CAL-g6VTKwLkJ01PN+Z-SjQ9i9Oc+L6jU9j57ncLNT1Tg4vYRSQ@mail.gmail.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-general>
Sometime ago i was looking for something like this and because at this time
XC was a little baby i tried installing bucardo but i gave up when stucked
fighting with perl modules. So, after testing some other solutions i decided
to make my own, just "touching" the trigger part of the pyreplica project
and building a daemon in a binary compiled program (no script) for a better
performance. It's working well by now, with some tables and few nodes (12
nodes deployed across long distances), but i was lucky then because the
database and the systems were still in design and development phases.
There are many things you have to keep in mind, as all people is warning
you. I tell you, it can be done, but you MUST redesign your existing
database preparing for multimaster paradigm where the key is avoid node
level concurrency, and your client database apps to THINK what to do when
nodes are down, but if you are not ready to prepare your database (design)
or you have not access to the source code of your client database apps then
you have problems.
I suggest you read this
http://www.dbspecialists.com/files/presentations/mm_replication.html and
this
http://scale-out-blog.blogspot.com/2012/04/if-you-must-deploy-multi-master.html.
Finally, i can mention another posible solution that i never tried but maybe
can help you, SymmetricDS.
Good luck.
--
View this message in context: http://postgresql.1045698.n5.nabble.com/Multi-Master-Replication-tp5783855p5784468.html
Sent from the PostgreSQL - general mailing list archive at Nabble.com.
--
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
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: pax.deckard@gmail.com
Subject: Re: Multi Master Replication
In-Reply-To: <1387834820938-5784468.post@n5.nabble.com>
References: <CAL-g6VTKwLkJ01PN+Z-SjQ9i9Oc+L6jU9j57ncLNT1Tg4vYRSQ@mail.gmail.com> <1387834820938-5784468.post@n5.nabble.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