Networking Essentials easy
Your load balancer returns HTTP 503. What does this indicate?
- A The service is currently unavailable, typically because the upstream servers are overloaded, undergoing maintenance, or still in the process of booting up.
- B The requesting client has provided invalid or missing authentication credentials, preventing the application server from processing the protected resource.
- C The requested resource could not be found on the server, often signifying a broken link or an incorrect URL path in the client's request payload.
- D The incoming request body is syntactically malformed or lacks mandatory header fields, causing the server's validation layer to reject the connection.
Answer: A. The service is currently unavailable, typically because the upstream servers are overloaded, undergoing maintenance, or still in the process of booting up.
HTTP status codes in the 5xx range indicate server-side failures (Server Faults). Specifically, a 503 error means 'Service Unavailable', signaling that the server is operational but cannot handle the request right now. This is a common response from load balancers when all backend instances are unhealthy. In contrast, 4xx errors (like 401, 403, or 404) represent client-side issues where the server understands the request but refuses or is unable to fulfill it due to client error. Using 503 allows the system to fail gracefully and suggests that the client should retry later (often indicated by a 'Retry-After' header).
One system design question a day, with spaced repetition so the ones you miss come back.
Get the appRelated questions
- What is the downside of enabling 'Sticky Sessions' (Session Affinity) on a Load Balancer?
- In WebRTC (P2P Mesh), why is a STUN server required?
- What is the fundamental difference between a Network Switch and a Router?
- In Cloud Networking (AWS), what is the limitation of VPC Peering compared to a Transit Gateway?
- Which protocol is ideal for real-time multiplayer gaming positions or Voice over IP (VoIP), and why?
- What is the purpose of the 'Time To Live' (TTL) field in an IP packet?