On Thu, 29 Dec 2016 11:23:49 +0100
Emmanuel Kasper <[email protected]> wrote:

> You could also set up HA beween your two DCs at the application level,
> for instance using a bunch of stateless applications servers connecting
> to a DB, where you want only need to setup HA at the DB level (Hint:
> streaming replication if using PostgreSQL)
A word of caution. If you use Postgres streaming replication in
synchronous mode you must have at least 2 slaves since a write in
this mode requires minimum 2 commits to finish so if you only have one
slave then your cluster will hang if the slave or the master is down
which effectively means you have a single point of failure. Adding an
extra slave makes you resilient to one node down.

-- 
Hilsen/Regards
Michael Rasmussen

Get my public GnuPG keys:
michael <at> rasmussen <dot> cc
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xD3C9A00E
mir <at> datanom <dot> net
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE501F51C
mir <at> miras <dot> org
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xE3E80917
--------------------------------------------------------------
/usr/games/fortune -es says:
Most of the fear that spoils our life comes from attacking difficulties
before we get to them.
                -- Dr. Frank Crane

Attachment: pgp1FkWP7GObi.pgp
Description: OpenPGP digital signature

_______________________________________________
pve-user mailing list
[email protected]
http://pve.proxmox.com/cgi-bin/mailman/listinfo/pve-user

Reply via email to