All jobs / DevOps / SRE / cloud

DevOps / SRE / cloud interview question · 1–3 years

Design a rate limiter: which algorithm and where does its state live?

The strongest answer

Token bucket or sliding window per client key, with the counters in a fast shared store like Redis so every gateway instance sees the same count; say what happens when the store is down — fail open or closed — because that is the real design decision

Why it works

Right. Shared, fast state, and a stated failure mode.

What a good answer covers

Answers that fall short

Who gets asked this

More DevOps / SRE / cloud questions