modulepackage
0.0.0-20221107032855-a8ded3a8b5f7
Repository: https://github.com/dmw2151/go-failure.git
Documentation: pkg.go.dev
# README
Phi-Accrual Failure Detection
Implementation of a phi-accrual failure detector from Hayashibara et al.
.
Example
Example (see: ./example/
)implements a lookaside-load-balancer using a phi-accrual failure detector to serve healthy node addresses.
Paper
@article{article,
author = {Hayashibara, Naohiro and Défago, Xavier and Yared, Rami and Katayama, Takuya},
year = {2004},
month = {01},
pages = {},
title = {The φ accrual failure detector},
doi = {10.1109/RELDIS.2004.1353004}
}
# Functions
NewFailureDetectorNode - new failure-detecting node.
NewPhiAccrualDetector -.
# Structs
IntervalStatistics - collection of stats for calculating phi (phi-accrual only, others tbd).
Node - collection of health detectors for each client sending through the interceptor.
NodeMetadata - metadata abt.
NodeOptions - options for distribution estimation window, purging interval, etc.
PhiAccrualDetector - detector for each client pinging the server.