Unique handles across regions

  • Build
  • Scale 23

Difficulty 4 of 5

Users in 3 regions claim handles, 30 claims/s each, mostly from 10,000 popular names. No handle may have two owners. Keep claim p99 under 200 ms and errors under 10 percent. At 2:00 the Asia region is cut off for 20 s. Budget 40 USD/mo.

Play level

RegionRegionRegionHTTP/2HTTP/2HTTP/2HTTP/2HTTP/2HTTP/2Users30 req/sAPI server1 vCPU · 1 GBUsers30 req/sAPI server1 vCPU · 1 GBUsers30 req/sAPI server1 vCPU · 1 GBKey-value…1 vCPU · 1 GBKey-value…1 vCPU · 1 GBKey-value…1 vCPU · 1 GB
HTTP/2HTTP/2UsersAPI s…UsersAPI s…UsersAPI s…Key-v…Key-v…Key-v…
The board at the start of the level
A lease with a fencing tokenTap to turn the fencing tokens on or off

Fencing tokens · lease 30 s · late write with token 33: rejected

Goals and limits

Handles with two owners
none
p99 latency (*)
under 200 ms
Error rate (*)
under 10%
Monthly cost
under 40 USD/mo
Parts you can add
Key-value store, Document DB
Part limit
7
Traffic
30 req/s

Concepts

How players did

Player results load from the server.