Interview practice question
Choosing timeouts for an HTTP client
Backend Engineering · API Design · Intermediate
Your service calls an external API. How would you configure the HTTP client's timeouts and retries?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Separate connect and read timeouts.
- Base on measured latency and budget.
- Retry only idempotent/transient errors.
- Exponential backoff with jitter, max attempts.
- Connection pooling.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.