SpinTheMic
Pro

Interview practice question

Adding rate limiting to your API

Backend Engineering · API Design · Beginner

Your API is being hammered by a few clients. How would you add basic rate limiting?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Identify client by API key or user.
  • Token bucket or fixed window in Redis.
  • Middleware or gateway.
  • 429 with Retry-After.
  • Different limits per plan.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics