SpinTheMic
Pro

Interview practice question

Rate limiting a login API across regions

Backend Engineering · Auth and Security · Experienced

Your login service runs in three regions, and attackers spread credential stuffing attempts across them to bypass per-region limits. How would you design rate limiting?

What a strong answer covers

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

  • Limits keyed on account, IP, device, not region.
  • Global counters (replicated store) or approximate sync.
  • Local fast check + async global aggregation.
  • Risk-based challenges.
  • Fail-safe behaviour if store down.
Practise this topic

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

See all topics