Implementing Health Checks

LEVEL 0

The Problem

You know health checks are important. But how do you actually implement them?

  • What command should the health check run?
  • How do you test if a web server is working?
  • What about databases? Background workers? Message queues?
  • How do you avoid false positives (marking healthy things unhealthy)?
  • How do you avoid false negatives (marking unhealthy things healthy)?