Failure Detectors: Timeouts & Phi Accrual
6 min read.
See why a crashed node and a slow node look alike, how a short or long timeout fails, and how a phi accrual detector turns silence into a suspicion level.
Think of it this way: You are waiting for a friend who is usually five minutes late. Ten minutes of silence is worrying. If this friend is always an hour late, ten minutes means nothing. A fixed timeout treats both friends the same. A phi accrual detector remembers how late each one usually is.
B looks alive
Node B sends a heartbeat about every second. Node A declares B dead if 1.5 seconds pass with no heartbeat.
Check your understanding
Answer from memory before you scroll back up. Pulling an idea out of your head is what makes it stay there.
Too short or too long?
Sort each symptom by the timeout that causes it.
Tap a piece, then tap where it goes — or drag it. Tap the tray to take one back.
Timeout too short
Drop items hereTimeout too long
Drop items hereQuiz
8 questionsWhat does a failure detector see when a node crashes?
Done with this lesson?
Sign in free to keep your progress, streak and quiz scores.