Interview practice question
Requests fail during shutdown
System Design · Distributed Systems · Beginner
When you scale down or deploy, some in-flight requests fail. How do you make shutdown graceful?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Stop accepting new requests first.
- Deregister from load balancer.
- Finish in-flight work within a deadline.
- Close connections cleanly.
- Handle SIGTERM properly.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.