Leader next to its majority
Difficulty 4 of 5
A database keeps 5 replicas on 3 continents; a write commits when the leader and 2 more replicas have it. The writes come from London and Frankfurt. Pick the leader and the fifth replica site: every commit under 30 ms, at most 16,000 USD/mo.
Lasers in orbit, New York to London · 7,151 km · 24 ms one way
Goals and limits
- p99 latency
- under 30 ms
- Monthly cost
- under 16,000 USD/mo
Concepts
How players did
Player results load from the server.