req.backend.healthy

BOOL, read-only.

Available inall subroutines.

Whether or not this backend, or recursively any of the backends under this director, is considered healthy.

The random director has the additional constraint that the .quorum threshold must be met by the healthy backends under the director. The health state is determined by healthcheck results, whether there is room for a new connection to be made to the backend based on the number of currently used connections and the backend's max_connections setting, and any applicable saintmode settings.

User contributed notes

BETA

Do you see an error in this page? Do you have an interesting use case, example or edge case people should know about? Share your knowledge and help people who are reading this page! (Comments are moderated; for support, please contact Fastly support)