AdvancedAbout 15 min

    Failure Detectors: Timeouts & Phi Accrual

    Read the full article on Substack

    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.

    02468seconds

    B looks alive

    Node B sends a heartbeat about every second. Node A declares B dead if 1.5 seconds pass with no heartbeat.

    1/7

    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

    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 here

    Timeout too long

    Drop items here
    6 pieces left to place

    Quiz

    8 questions
    Question 1 of 8
    Score: 0

    What does a failure detector see when a node crashes?

    Done with this lesson?

    Sign in free to keep your progress, streak and quiz scores.

    Keep going