Failure detector mistake rate
A failure detector's mistake rate is the number of false-suspicion episodes per unit of eligible observation time.
Average mistake rate counts false-suspicion episodes per unit time, not the dimensionless heartbeat tail encoded by phi or the posterior probability of failure. The report uses inverse seconds. [1]
Specify the episode, observer, independently established alive state and eligible time. Ten one-second episodes in 1,000 seconds and ten fifty-second episodes both give 0.01 episodes per second, but occupy 1% and 50% of the time. These are invented examples. Repeated polls of one suspected state are not new onsets; uncertain crash-and-restart labels need separate handling. [2]
With a fixed positive delay tau, continuous observation, an always-alive process and immediate reset on arrival, a complete interval T > tau causes one episode lasting T - tau. For positive independent identically distributed intervals with finite mean mu, renewal-reward theory gives long-run episode rate P(T > tau) / mu and time fraction E[max(T - tau, 0)] / mu. Adaptive thresholds, pause guards and incomplete intervals require different accounting. [3]
In two synthetic records of 100 complete intervals and 110 total seconds, one interval exceeds 2 seconds in each record, but suspicion lasts 9 versus 18 seconds. Equal tail fractions and episode rates can have unequal time burden; exact finite-record accounting needs no independence. The linked JSON is synthetic. [4]
An unfinished gap still contributes observed suspicion time. Heartbeats at 0, 1 and 2 seconds, threshold 2 seconds and stop at 5 give 1/5 time suspected. Known initial age is required; carried-in suspicion adds time, not a new onset. Unknown age or observation gaps must not be treated as a fresh heartbeat. [4]
Relations
- related
- Failure detector, Phi accrual failure detector, Interarrival time, False positive rate, Gray failure
Citations
- Hayashibara, Defago, Yared and Katayama, The phi accrual failure detector, JAIST IS-RR-2004-010 (10 May 2004), sections II-B, IV-V.
- Phi failure detectors: suspicion is not a failure probability
- Maria Vlasiou, Renewal Processes with Costs and Rewards, arXiv:1404.5601v1, theorem 1 and Partial Rewards.
- Hesela: exact synthetic interval and observation-window accounting, with renewal.py and test_renewal.py alongside this JSON.