Timeouts as Failure Suspicion

Use timeouts to trigger retries or leader changes without treating a slow responder as proof of a crash.

Source
Anbloq
Language
English
Created
Updated
Chapters
2
Reading time
1 min
In this article2 chapters
  1. Failure detection is an observation under assumptions
  2. Timeouts can adapt without changing the safety rule

Failure detection is an observation under assumptions

Assume a health message normally arrives within a budget. When it is late, a monitor can suspect the sender and try a defined recovery path. The observable fact is absence of a timely message. Scheduling stalls, network delay and actual failure can all create it. A good protocol specifies which parts of safety still hold if suspicion is wrong.

Timeouts can adapt without changing the safety rule

A longer timeout reduces some false suspicions but can slow recovery. A quorum or fenced authority can protect state while participants disagree about who is alive. Eventually predictable timing can make retries useful for progress under the protocol’s assumptions. Failure models specify those assumptions. Leader epochs and fencing protect actions when an old process resumes after being suspected.[1]

References

  1. MIT 6.5840, Distributed Systems: Course Readings ↩