In this lesson · topic 3 of 7
- 1. Silence is all you get
- 2. Heartbeats, timeouts and suspicion
- 3. Slide one detector along its curve
- 4. When a 600 ms pause beats the detector
- 5. Watching three hundred nodes without three hundred heartbeats each
- 6. Adding up a failover, and the storm a false alarm can start
- 7. Check the ten-second timeout
Topic 3
Slide one detector along its curve
7 min read
One stream, many detectors
The lab watches one node. It sends heartbeats over a network with delay jitter, pauses now and then, and crashes every ten seconds. Eleven fixed timeouts and ten phi thresholds all see the same arrivals, so the two charts are the live tradeoff: false alarms per minute of uptime against detection time, for every setting at once. The timeout and threshold you pick are marked on the curves and shown in detail above them.
Predict before you press play
Things to try
- Slide the fixed timeout from 100 ms to 2000 ms and watch your marker move along the curve. The false alarm line falls and the detection line rises. They never both improve.
- Set pauses per minute to 0. Now the only silences come from the network. Raise jitter and watch which detector complains.
- Set the longest pause to 1500 ms. Any timeout below it fires on every long pause. Any timeout above it needs more than a second to see a crash.
- Change the seed. The exact counts move. The shape of the curves does not.
The full-page lab has five guided experiments with one-click setups.