Adds a section about lifeguard.

This commit is contained in:
James Phillips 2016-09-14 10:08:34 -07:00
parent d60c985f8f
commit c591d86dd5
No known key found for this signature in database
GPG Key ID: 77183E682AC5FC11

View File

@ -41,3 +41,18 @@ All of these features are provided by leveraging [Serf](https://www.serf.io/). I
is used as an embedded library to provide these features. From a user perspective,
this is not important, since the abstraction should be masked by Consul. It can be useful
however as a developer to understand how this library is leveraged.
<a name="lifeguard"></a>
## Lifeguard Enhancements
Consul's Gossip Protocol, shared with HashiCorp's Serf, forms the basis of its powerful
distributed failure detector. Unfortunately, the algorithm on which it is based makes an
assumption that the local node is healthy in the sense that soft real-time processing of
packets is possible. In Consul versions prior to 0.7, this can sometimes manifest in a
severely degraded node falsely accusing others of being failed, causing occasional flaps
in the `serfHealth` check status for one or more healthy nodes. Consul 0.7 adds two Serf
Lifeguard enhancements to this algorithm to help performance in the presence of degraded
nodes.
Please see [Serf's gossip protocol guide](https://www.serf.io/docs/internals/gossip.html#lifeguard)
for more details.