A rate limiter should always fail closed if Redis is unavailable, regardless of product requirements.
Practice this question from Quiz: Design a Rate Limiter, with options and an explanation.
Question
A rate limiter should always fail closed if Redis is unavailable, regardless of product requirements.
Option A
True
Option B — Correct answer
False
Explanation
Fail-open vs fail-closed depends on product risk. Login abuse and payment APIs may choose differently from low-risk read APIs.