Challenges

Distributed counting

Rate limiter service

DifficultyStages: 0 / 4
  1. One token bucket
  2. One count for many limiters
  3. A limit per region
  4. When a limiter fails
  5. Final test

Protect a shared API from one noisy key. Start with one token bucket, then run several limiters without losing the count, split the limit between two regions, and keep the limits up when a limiter fails.

Final testThe batch key bursts in both regions, and box 1 in Europe restarts during the burst. Your final board runs once more with a new traffic seed.

The system, stage by stageTap, drag or use arrow keys to step through the stages

Stage 4 of 4 · 5 parts given · 13,500 requests/s

Users 2API server 1Rate limiter 1

Progress on this page stays on this device.

Product names belong to their owners. Cogore is not affiliated with them.