The standard says:
10.5.4 503 Service Unavailable. The server is currently unable to handle the request due to a temporary overloading or maintenance of the server. The implication is that this is a temporary condition which will be alleviated after some delay.
REF: https://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html
If the server is having lock contension at the database access level, should the server return 503 in such cases. Or is the 503 status meant for:
- Network overload
- DOS type situations
- Maxed out load balancing
- Explicit maintenance window.
What other circumstances it makes sense to return HTTP status 503.
Any detailed clarification is much appreciated.