Bird
0
0

Why can the fixed window algorithm cause bursts of allowed requests at window boundaries?

hard📝 Conceptual Q10 of 15
Rest API - Rate Limiting and Throttling

Why can the fixed window algorithm cause bursts of allowed requests at window boundaries?

ABecause it merges multiple windows into one
BBecause it queues requests indefinitely
CBecause counts reset abruptly at window edges, allowing double requests near boundary
DBecause it slows down requests gradually
Step-by-Step Solution
Solution:
  1. Step 1: Understand fixed window reset behavior

    At window boundaries, counters reset suddenly, so requests near the end and start can both be allowed.
  2. Step 2: Identify cause of bursts

    This abrupt reset can cause a burst of requests allowed in a short time crossing the boundary.
  3. Final Answer:

    Because counts reset abruptly at window edges, allowing double requests near boundary -> Option C
  4. Quick Check:

    Window reset causes burst near edges [OK]
Quick Trick: Fixed window resets cause bursts at edges [OK]
Common Mistakes:
  • Thinking requests queue indefinitely
  • Believing rate slows gradually
  • Assuming windows merge automatically

Want More Practice?

15+ quiz questions · All difficulty levels · Free

Free Signup - Practice All Questions
More Rest API Quizzes