from Hacker News

Writing Healthy Health-Checks

by baalimago on 11/17/24, 6:42 AM with 1 comments

  • by remram on 11/22/24, 3:53 AM

    "health checks" are better broken down into "liveness" and "readiness" checks. You often want separate timings for the initial startup phase as well.

    If your platform only has one "health check", figure out first if it'll be handled like a liveness check (restarting/recreating the instance) or readiness check (merely taking it out of load-balancer backends), before you follow any kind of generic best-practice that might be using the same term in a different way.