Keys often have a structure like ("x-123", 0)
A group takes the first section, like "x"
.. attribute:: name: str The name of a group of tasks. For a task like ``("x-123", 0)`` this is the text ``"x"``
.. attribute:: states: Dict[str, int] The number of tasks in each state, like ``{"memory": 10, "processing": 3, "released": 4, ...}``
.. attribute:: duration_average: float An exponentially weighted moving average duration of all tasks with this prefix
.. attribute:: suspicious: int Numbers of times a task was marked as suspicious with this prefix
Collection tracking all tasks within a group
The following pages refer to to this document either explicitly or contain code examples using this.
distributed.scheduler.TaskGroup
distributed.scheduler.Computation
Hover to see nodes names; edges to Self not shown, Caped at 50 nodes.
Using a canvas is more power efficient and can get hundred of nodes ; but does not allow hyperlinks; , arrows or text (beyond on hover)
SVG is more flexible but power hungry; and does not scale well to 50 + nodes.
All aboves nodes referred to, (or are referred from) current nodes; Edges from Self to other have been omitted (or all nodes would be connected to the central node "self" which is not useful). Nodes are colored by the library they belong to, and scaled with the number of references pointing them