503 Service Unavailable
The HTTP status code meaning the server cannot handle the request right now, for example because it is overloaded or shutting down.
In more detail
Load balancers and readiness probes treat it as a signal to send traffic elsewhere. A Retry-After header can say when to try again.
Related terms
- HTTP status code — The three-digit number at the start of a response, such as 200 or 404, that says how the server handled the request.
- readiness probe — A check that decides whether a pod should receive traffic right now; failing it removes the pod from its Service without restarting it.
- graceful shutdown — Stopping a service in an orderly way: finish current work, close connections, then exit.
Taught in
- Production Hardening: Graceful Shutdown & Docker — Node.js Internals & Backend Services