-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Right now, health-checker only runs health checks in response to an inbound HTTP request. This has the benefit of keeping the code simple while allowing the user to decide how often to run the underlying health check.
But it may be desirable to work around the limitations of, say, Amazon Load Balancer Health Checks by updating health-checker to run its own background health checks.
For example, Amazon Load Balancer health checks can only be run every 10s. But health-checker could support health checks that run every 1s or 500ms. It could then maintain a "state" of the health check depending on the configuration of a health check definition (see #2). In particular, health-checker could check an endpoint every 500ms, so that by the time Amazon's health check comes in, a single result would in fact reflect 20 separate health checks.