Distributed systems

Consensus

An algorithm by which unreliable nodes agree on a single ordered history, usually Raft or Paxos in practice.

Consensus is what makes automatic failover safe rather than hopeful. It is also why a consensus store ends up in the availability path of everything that depends on it, inheriting its latency requirements.

Explained in depth

Implemented by

  • etcd
  • Consul
  • Apache ZooKeeper

Learn it in context

Related concepts