Design a Rate Limiter

Talk it through with a coach who asks guiding questions and gives hints until you reach the answer. Pass to mark the challenge as completed.

The problem

  • medium
  • Pro

Your public API is being overloaded by a few clients sending far too many requests. Design a rate limiter that allows each API key, say, a hundred requests per minute across all of your servers. Explain the algorithm, where it runs, and what the client sees when they're limited.

Talk this problem through with an AI coach

This is a Pro challenge. Sign in with Google, then upgrade to start a voice session.

Start free →