🎙 Free live masterclass · Sun, 29 Nov, 7:00 pm IST · Java Full Stack roadmap Register free →
Skills101
← 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?

  1. A.Nothing, the limit stays at 100
  2. B.All requests are rejected
  3. C.A client spread across servers may get up to about 1,000 requests a minute
  4. 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 →