Best PracticesAugust 6, 2026·6 min read

Health Check Best Practices

Configure health checks for maximum reliability.

Configuration

  • Interval: 30s default, 10s critical, 60s non-critical
  • Path: /health (keep it simple)
  • Threshold: 2 failures (avoid false positives)

Do

  • Return 200 if service is running
  • Keep it lightweight
  • Monitor check logs

Don't

  • Query database on health check
  • Use threshold of 1 (too aggressive)
  • Ignore health check failures

#health checks#best practices

Ready to deploy at the edge?

Deploy up to 5 Cloudflare Worker load balancers on the Free plan — no credit card required.