System Design · Interactive workshop
The rate limiter interview lab
Build it. Run it. Follow the bytes.
The lab walks the limiter one honest step at a time: count locally, break it by adding a second server, externalise the count, fan out the fleet, shard the store, then keep answering when a node dies. Each step runs a flood against your design and scores it.
The canvas runs in your browser and needs JavaScript. You can read the model below and read the accompanying Library lesson without JavaScript.
What this machine models
The canvas simulates the limiter infrastructure: stateless gateways running the check against a shared in memory counter store, under a workload you can raise. Atomic counters, token buckets and GCRA are reasoned about in the deep dive steps rather than simulated, and the lab says so where it matters.
Written answers and deep dive answers are reviewed against an authored rubric. The review names what your answer covered and what it missed; it does not invent correctness beyond that rubric.
Anonymous visitors can save a browser draft and complete every deterministic design step. Sign in to claim the session and request AI review. Missing reviews stay unscored and never block completion.
By GOAT Engineer. Explore System Design · Privacy Policy · Contact.