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:
- last write wins (LWW)
- predefined the replica ranking
- merge values together
- record the conflict, resolve later
Top comments (0)