SpinTheMic
Pro

Interview practice question

Timeout budget across a call chain

System Design · Reliability · Experienced

A request must complete in 1 second and passes through gateway, service A, service B and a database. How would you set timeouts and retries?

What a strong answer covers

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

  • Allocate budget top-down.
  • Each layer's timeout < caller's remaining time.
  • Retries only where budget allows.
  • Propagate deadlines.
  • Avoid retries at every layer.
Practise this topic

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

See all topics