Geo Replication & Multi-Region
Lesson, slides, and applied problem sets.
View SlidesLesson
Geo Replication & Multi-Region
Why geo replication
Users are everywhere. Multi-region deployments reduce latency and improve availability, but increase consistency challenges.
Latency tradeoffs
A global read can be fast (local) or consistent (quorum). You choose based on requirements and error budgets.
Multi-region quorums
You can satisfy a quorum by combining replicas across regions. The slowest region you contact often sets the end-to-end latency.
Conflict resolution at distance
Long RTTs increase the chance of concurrent writes. You often rely on reconciliation strategies (vector clocks, LWW) after the fact.
What you will build
- Latency-aware quorum routing