Some reorg of the TTL description.

This commit is contained in:
Ryan Breen 2015-01-29 17:12:20 -05:00
parent cef8305bd0
commit a8470991cd

View File

@ -31,10 +31,10 @@ There are three different kinds of checks:
* Time to Live (TTL) - These checks retain their last known state for a given TTL. * Time to Live (TTL) - These checks retain their last known state for a given TTL.
The state of the check must be updated periodically over the HTTP interface. If an The state of the check must be updated periodically over the HTTP interface. If an
external system fails to update the status within a given TTL, the check is external system fails to update the status within a given TTL, the check is
set to the failed state. This mechanism is used to allow an application to set to the failed state. This mechanism, conceptually similar to a dead man's switch,
directly report its health. For example, a healthy web app can periodically `PUT` a status relies on the application to directly report its health. For example, a healthy web app
update to the HTTP endpoint; if the app fails, the TTL will expire and the health check can periodically `PUT` a status update to the HTTP endpoint; if the app fails, the TTL will
enters a critical state. This is conceptually similar to a dead man's switch. expire and the health check enters a critical state.
## Check Definition ## Check Definition