All challenges
Multiple ChoiceIntermediate 45s

Distributed rate limiting accuracy

A rate limiter uses a local in-memory counter per instance with limit 100 rps and there are 10 instances. What is the effective global limit?
Options
  1. 1Exactly 100 rps, because the limit is global and one shared counter applies
  2. 2Less than 100 rps, because instances contend and lose throughput to overhead
  3. 3Up to ~1000 rps, since each instance enforces its own budget independently
  4. 4Unbounded, because a local counter has no shared state and imposes no limit once scaled out

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle