load balancer health check

A test a load balancer runs against each backend, such as opening a port or requesting a URL, to decide whether it should receive traffic.

In more detail

A shallow check, such as a TCP connect, proves only that a port accepts connections. An application check, such as an HTTP request that must return the expected status and content, proves much more. Match the check's layer to the failures users would see, or a broken backend stays in the pool.

Example

tcp=pass http=fail backend=drain action=remove shows a backend that accepts connections but fails the application check.

Related terms

Taught in

References