Multi-Leader Replication



This content originally appeared on DEV Community and was authored by Einsteinder

single-leader multi-leader
Performance significant latency network delay hidden from users
Tolerance of datacenter outages failover each datacenter operating independently

Solution for multi-leader confliction:

  1. last write wins (LWW)
  2. predefined the replica ranking
  3. merge values together
  4. record the conflict, resolve later


This content originally appeared on DEV Community and was authored by Einsteinder