🎙 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 4 of 15

What is the main cost of the sliding window log algorithm?

What is the main cost of the sliding window log algorithm?

  1. A.It allows double bursts at window edges
  2. B.It stores a timestamp for every recent request, which uses a lot of memory
  3. C.It cannot reject any request
  4. D.It only works with one server
Answer & explanation

Correct answer: It stores a timestamp for every recent request, which uses a lot of memory

Exactness comes from remembering every request in the window.

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 →