Expand description
Exponential backoff with jitter for hello/probe scheduling.
Used by neighbor discovery to schedule retransmits and probes without creating correlated bursts across multiple nodes (thundering-herd effect).
The algorithm:
- Start at
initial_interval. - On each failure, double the interval (capped at
max_interval). - Add uniform random jitter of ±
jitter_fractionof the current interval. - On success, reset to
initial_interval.
Structs§
- Backoff
Config - Static configuration for a backoff strategy.
- Backoff
State - Per-instance mutable backoff state.