Dask logo

Distributed

So far we've been dealing with Dask's high-level interface, and the task graph. Here we'll briefly talk about the how the task graphs get executed. For a longer discussion of this topic, take a look at this notebook.

Create a cluster

Let's create a cluster locally

Let's use the example from the notebook before to trigger a computation.

Run directly on workers

You can also directly run functions on every worker bypassing the scheduler entirely.

Worker Plugins

Do stuff on a worker every time the worker changes state.

NOTE: This is slightly goofy since this is a LocalCluster and it'll only work on my machine, since I put a picture of a cat up a few levels up.