All Questions
Api Gateway hard

Why is the 'Sliding Window Log' algorithm considered the most accurate (but memory-intensive) for strict rate limiting at the API Gateway?

  1. A Because it uses an advanced machine learning model to predict the user's next request time.
  2. B It stores a timestamp for *every* individual request in the window, allowing for precise calculation of the request rate at any given millisecond, eliminating 'Fixed Window' boundary spikes.
  3. C It is the only algorithm that can work across different time zones simultaneously.
  4. D It automatically adjusts the user's limit based on their bank account balance.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions