puppetize / puppet-ha-poc

Proof of concept for a high-availability/load-balancing Puppet infrastructure.
http://puppetize.net/puppet-ha-poc
0 stars 1 forks source link

PostgreSQL high-availability/load-balancing strategy #1

Open ustuehler opened 10 years ago

ustuehler commented 10 years ago

Looking at the matrix in PostgreSQL: Documentation: 9.3: Comparison of Different Solutions, I think that Transaction Log Shipping comes out on top for our PuppetDB scenario. Second best might be Trigger-Based Master-Standby Replication.

My criteria was:

Those criteria only leave us with Streaming Replication (synchronous) for Transaction Log Shipping and proprietary synchronous multi-master replication.

ustuehler commented 10 years ago

PostgreSQL documentation 25.2. Log-Shipping Standby Servers says the following:

No changes to the database tables are required to enable this capability, so it offers low administration overhead compared to some other replication solutions.

Low administration overhead is also what we want, since we want our attention to focus on Puppet and not so much on database administration.

ustuehler commented 10 years ago

See output.txt for a successful run of vagrant up with two load-balancing instances of gluster, puppetdb and puppet. Remaining single-point of failure is postgres. :)