Design a rate limiter for a public API.
“OK — token bucket over sliding window: cheaper to store, and bursts are easier to reason about…”
“…each request takes a token, and a refill job tops the bucket up on a timer…”
“…and that’s the design, I think. Yeah.”