Hilary Roberts
07/29/2021, 3:48 PMKevin Kho
Hilary Roberts
07/29/2021, 3:53 PMwith Flow(
"name",
schedule,
run_config=KubernetesRun(),
executor=DaskExecutor()
) as flow:
...
And also with the LocalDaskExecutorKevin Kho
flow.executor = LocalDaskExecutor(scheduler="threads", num_workers=8)
Hilary Roberts
07/29/2021, 4:00 PMKevin Kho
flow.executor = DaskExecutor(
cluster_kwargs={"n_workers": 4, "threads_per_worker": 2}
)
Hilary Roberts
07/29/2021, 4:07 PMHilary Roberts
07/29/2021, 4:09 PMKevin Kho
LocalDaskExecutor
does not use distributed
and is a Local Dask multiprocessing pool while the DaskExecutor
works on distributed
so you would use it if you had multiple machines (a cluster), which I think you do in your setup.Hilary Roberts
07/29/2021, 4:29 PMKevin Kho