SpinTheMic
Pro

Interview practice question

Client waits forever on an API

System Design · APIs and Communication · Beginner

Your mobile app sometimes freezes on a loading spinner when the network is bad. What would you change in how it calls the API?

What a strong answer covers

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

  • Set request timeouts.
  • Retry idempotent calls with backoff.
  • Show clear error and retry button.
  • Cache last good data.
  • Cancel requests when user leaves screen.
Practise this topic

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

See all topics