Re:Load Balancing
by throwaway894345 on Tuesday April 18, 2023 @12:18PM
(#35616032)
Agreed on the “whoa moment”. Not needing health checks seems pretty compelling. I’m curious if there are any off-the-shelf pull-based load balancer that don’t require the full HTTP request copied onto the queue before handing off to a worker?
[ Parent
| on HN ]
You need health checks. If not for LB then for your own monitoring.
Re:Load Balancing
by preseinger on Wednesday April 19, 2023 @12:33PM
(#35630211)
you don't
a server can return 200 OK to every health check query and 5xx to every production request, is that server up or down? hopefully clear it is down
similarly, if it returns 5xx to every health check query but 200 to every prod request, is it up or down? hopefully clear it is up
if you want to monitor the status of a server (or application) for internal purposes, that's fine, but that's (at best) supplementary signal for the decisions made by a load balancer, not something you can make load balancing decisions on in isolation