Making Gossip More Robust with Lifeguard
summary
Consul/Serf use SWIM and Lifeguard adds three concrete fixes: self‑awareness (dynamic probe intervals and timeouts), adaptive suspicion (log‑based decay of suspicion timers), and a buddy/nack mechanism to ensure suspected nodes get notified and can increment incarnation numbers. Benchmarks on controlled and cloud testbeds show Lifeguard cuts false positives by >98% overall, raises median detection latency only slightly, and gives a tunable alpha knob to trade a bit of latency for lower false positives; message and byte overheads remain modest.
AI-written summary · about
chapters (30)
- 0:00Intro
- 0:39Research
- 2:20Previously... SAMSUNG
- 3:11A Real-World Problem...
- 3:54Consul for Discovery and Availability
- 4:48Actual Behavior: Node Flapping
- 5:37Talk Outline
- 6:32Consul Health Checks
- 7:16Built-In Health Check Requirements
- 7:54Solution: Distributed Failure Detector
- 9:01SWIM Protocol Components
- 10:43SWIM Failure Detector: Indirect Probe
- 11:59SWIM Dissemination Mechanism
- 13:29Dissemination Convergence
- 14:02SWIM's Suspicion Mechanism
- 16:43Observations Leading to Lifeguard
- 18:18Lifeguard Components
- 19:02Dynamic Fault Detector Timeouts (Self-Awareness)
- 22:03Dynamic Suspicion Timeouts (Dogpile)
- 24:16More Timely Refutation (Buddy System)
- 25:22Lifeguard Feature Release Consul 0.7
- 27:35Lifeguard Experimental Method
- 29:16Evaluation Criteria
- 29:53Reduction in False Positives
- 31:11Increase in Latency
- 32:22Network Load: Messages Sent
- 33:35Network Load: Bytes Sent
- 34:28Bonus: Suspicion Timeout Tuning
- 36:04False Positive v. Latency Reduction Tuning
- 37:06How Do I Use This?
