dask / dask/distributed

starting lots of workers/schedulers in tests starts a lot of _measure_tick PeriodicCallbacks

Open
#5,908 4 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
1.7k
Forks
778
Avg merge
2h 50m
Merged PRs (30d)
3

Description

`_measure_tick` runs by default every 20ms for every `distributed.core.Server` created, eg every `Worker` and `Scheduler`

https://github.com/dask/distributed/blob/39c5e8856cb05ad1833a0f6ee6c3fea0ddab1c1c/distributed/core.py#L348-L362

this can be a particular problem in tests such as `test_adapt_quickly` that starts 10 workers and a scheduler and so has 11 of these calls every 20ms

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.