This class contains common functionality for Dask Cluster manager classes.
To implement this class, you must provide
A scheduler_comm
attribute, which is a connection to the scheduler following the distributed.core.rpc
API.
Implement scale
, which takes an integer and scales the cluster to that many workers, or else set _supports_scaling
to False
For that, you should get the following:
A standard __repr__
A live IPython widget
Adaptive scaling
Integration with dask-labextension
A scheduler_info
attribute which contains an up-to-date copy of Scheduler.identity()
, which is used for much of the above
Methods to gather logs
Superclass for cluster objects
The following pages refer to to this document either explicitly or contain code examples using this.
distributed.deploy.adaptive.Adaptive
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