Structsยง
- Stats ๐
- Per-worker statistics. This is used for both tuning the scheduler and reporting runtime-level metrics/stats.
Constantsยง
- MAX_
TASKS_ ๐POLLED_ PER_ GLOBAL_ QUEUE_ INTERVAL - Max value for the global queue interval. This is 2x the previous default
- TARGET_
GLOBAL_ ๐QUEUE_ INTERVAL - Ideally, we wouldnโt go above this, value is plucked from thin air.
- TARGET_
TASKS_ ๐POLLED_ PER_ GLOBAL_ QUEUE_ INTERVAL - This is the previous default
- TASK_
POLL_ ๐TIME_ EWMA_ ALPHA - How to weigh each individual poll time, value is plucked from thin air.