System Design
18. Advanced Distributed ArchitectureAnimated
Multi-Region Deployment
Running the same service in several regions.
The idea
Deploy the app in multiple regions with traffic management and replicated data.
Watch it work
Press play, pause, or step through. Some animations have settings you can change.
- client
- gateway / proxy
- service
- cache
- data store
- queue / stream
A global balancer picks a region using latency, geography and health.
- step:
- 1/4
- at:
- Users Asia
1/9
The green dot is a request moving through the system.
Step by step
- 1Deploy to each region
- 2Replicate data
- 3Route by latency
- 4Fail over on outage
Where it is used
High availability and low latency.
Watch out for
Data consistency across regions.