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:
- last write wins (LWW)
- predefined the replica ranking
- merge values together
- record the conflict, resolve later
This content originally appeared on DEV Community and was authored by Einsteinder