Interview practice question
A downstream service is down
Backend Engineering · API Design · Beginner
Your API endpoint depends on a downstream service that is currently down. What should your API return?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Don't hang: timeout quickly.
- 503 Service Unavailable (or 502/504).
- Fallback data if possible.
- Clear error code and Retry-After.
- Circuit breaker to fail fast.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.