← Quiz: Design a Rate Limiter: all 15 questions
Quiz: Design a Rate Limiter · Question 5 of 15
Ten API servers each keep their own in-memory counter for a "100 per minute" limit. What can happen?
Ten API servers each keep their own in-memory counter for a "100 per minute" limit. What can happen?
- A.Nothing, the limit stays at 100
- B.All requests are rejected
- C.A client spread across servers may get up to about 1,000 requests a minute
- D.The load balancer fixes the counts
Answer & explanation
Correct answer: A client spread across servers may get up to about 1,000 requests a minute
Counters must be shared, for example in Redis, or each server allows the full limit.
Can you get the rest right without peeking?
Take the timed Quiz: Design a Rate Limiter quiz free. Pass it to earn XP and count towards your certificate.
Start the quiz →