SpinTheMic
Pro

Interview practice question

API overwhelmed by public data requests

System Design · Caching · Beginner

A public API endpoint that returns today's cricket match scores gets 50,000 requests per second during big matches. How would you handle it?

What a strong answer covers

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

  • Same response for everyone.
  • Cache at CDN with short TTL (1-5 s).
  • Origin sees only a few requests/s.
  • Stale-while-revalidate.
  • WebSockets for push if needed.
Practise this topic

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

See all topics