2 ms·
This is why top-down, single-source of truth is mostly the best way for core infrastructure. What happens when your single source of truth goes down? etcd att
by nl 13y ago
This is why top-down, single-source of truth is mostly the best way for core infrastructure.
What happens when your single source of truth goes down?
etcd attempts to provide a source of truth by using the Raft[1] consensus algorithm to determine that "truth" in an environment when relying on merely one place is too risky.
Th Raft and Paxos[2] (as used in Zookeeper & Google Chubby) algorithms give guarantees for consensus in an environment with unreliable hardware. That is better than a single source of truth where you get nothing when that source disappears.
[1] http://raftconsensus.github.io/ http://raftconsensus.github.io/
[2] http://en.wikipedia.org/wiki/Paxos_(computer_science) http://en.wikipedia.org/wiki/Paxos_(computer_science)