3 ms·
>Having a master with a read replica and then making the read replica the master in case the master goes down seems to be a very well known methodology. You can
by AgentME 7y ago
>Having a master with a read replica and then making the read replica the master in case the master goes down seems to be a very well known methodology. You can use a virtual ip with both servers behind it (keepalived) or a 0 ttl DNS solution (consul).
>You can either automate the failover or have a system to SMS you when it happens.
I don't want to be writing code to make things do automatic failover. I'm not a database engineer. I want a database where its standard setup does this stuff for me.
(I would find it really interesting if there was a tightly-integrated "distribution" of Postgresql plus related services that had a setup process as straight-forward as CockroachDB and had automatic read-replicas and failover.)
- aprdm 7y agoYou usually don’t have to write stuff it is all pretty much yum install and config a file