Multi-region writes
Difficulty 4 of 5
Users write from eu-central (600/s), us-east (800/s) and ap-southeast (500/s). At 0:15 a database leader fails for 10 s. Keep every write p99 under 120 ms, lose no acknowledged write and keep errors under 1 percent. Pick the write design.
Options
- One leader in us-east, async copies elsewhere
- One leader in us-east, sync copies elsewhere
- A home region for each user, with local copies
Goals and limits
- p99 latency (*)
- under 120 ms
- Lost writes
- none
- Error rate (*)
- under 1%
- Monthly cost
- under 300 USD/mo
- Traffic
- 500 req/s
Concepts
How players did
Player results load from the server.