Health-check backends and skip the ones that are down #14
Reference in New Issue
Block a user
Delete Branch "benvin/backend-health"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
A down backend costs a full
timeoutstall on every request, since fan-out has no way to know before it asks, and the client is never told the answer came from fewer backends than are configured.Summary
/status/v1/services, configurable) in the background, with failure/success thresholds so a blip cannot flap a backend in or outX-Backends: <contributed>/<configured>and report per-backend probe state on/healthz; log only up/down transitionshealth_probe_enabled,health_probe_path,health_probe_interval,health_probe_timeout,health_probe_failures,health_probe_successes, matchingPDBMUX_*env vars and a--health-probeflagPartial results keep their current meaning; disabling the probe restores current behaviour exactly.
unkin-agent referenced this pull request2026-09-06 00:28:27 +10:00