SpinTheMic
Pro

Interview practice question

Calling a flaky partner API

System Design · APIs and Communication · Intermediate

Your service calls a partner's REST API that occasionally returns 503 or times out. How should your client behave?

What a strong answer covers

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

  • Timeouts on every call.
  • Retry 503/timeouts with backoff and jitter.
  • Respect Retry-After.
  • Don't retry non-idempotent calls blindly.
  • Circuit breaker and fallback.
Practise this topic

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

See all topics