pjfanning opened a new pull request, #912:
URL: https://github.com/apache/pekko-management/pull/912

   ❯ │ M5  │ Bootstrap      │ Thundering herd risk — jitter only on failure, 
not normal interval   │
   
   The problem: startSingleDiscoveryTimer calls backedOffInterval which applies 
jitter, but the jitter formula interval * (1.0 + random) only scales above the 
base interval. More importantly, the comment in the code and config only 
mention jitter in the context of backoff — during normal operation (counter=0), 
the interval is base * (1.0..1.2), which is always ≥ base. Nodes that start at 
the same time will always discover at approximately the same cadence.
   
   The fix: always apply symmetric jitter to the base interval, regardless of 
backoff state.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to