All challenges
Multiple ChoiceHard 45s

Global and Per-Tenant Rate Limiting

A rate limiter must enforce both a global cap and per-tenant caps. Why is a purely local counter insufficient?
Options
  1. 1Local counters simply cannot count requests accurately on a per-second basis, so they drift under load
  2. 2Local counters consume far too much durable disk space to be worth keeping on each individual instance
  3. 3With many instances, local counters let the aggregate exceed the intended global or tenant limit
  4. 4Local counters cannot be reset once the process has been running for a while without a full restart

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