System Design Patterns: From Fundamentals to Real Systems
0% completed
Health Check Endpoint
{ "status": "fail", "server": "checkout-4", "checks": { "startup": { "status": "pass", "db_connections": 20, "cache": "warm" }, "draining": { "status": "pass" }, "threads": { "status": "pass", "busy": 13, "max": 200 }, "payment_provider": { "status": "fail", "error": "timeout after 1000 ms" } } }
The checkout server checkout-4 sent this body to the store's load balancer with the status code 503 Service Unavailable. The balancer asks each checkout server the same question every 2 seconds, and a 503 answer means "do not send me traffic
.....
.....
.....
Like the course? Get enrolled and start learning!
Reading Progress
0%