Interview practice question
Outbound connections fail under load
Cloud & DevOps · Linux and Scripting · Experienced
Under high load, a service starts failing to connect to an upstream API with "cannot assign requested address". What is going on?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Ephemeral port exhaustion.
- Many short-lived connections in TIME_WAIT.
- ss -tan state time-wait count.
- Use keep-alive/connection pooling.
- Widen port range as stopgap.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.