News for hackers. Stuff that matters.
Re:Load Balancing by adql on Wednesday April 19, 2023 @07:15AM (#35626788)
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