Skip to content
Snippets Groups Projects
Commit 37143de2 authored by Florian Fischer's avatar Florian Fischer
Browse files

[WakeupStrategy] introduce a new class to model our wakeup strategies

Add new 'throttle' wakeup strategy inspired by the algorithm used
by zap, go and tokio. This tries to prevent a possible thundering herd
problem and reduce contention on the scheduler by only waking a single
worker at a time. It further ensures that the next worker is only notified
if the previous successfully found work.
parent ed2cbd91
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment