are there any downsides to using the dask executor...
# ask-community
z
are there any downsides to using the dask executor? I’m curious why the
DaskLocalExecutor
isn’t the default executor, if dask is a dep of prefect anyways.
k
Hey, the answer is to have the defaults be the simplest. Similar to the spirit of this tweet.
w
Also, I think you have to spin up a local dask cluster (the scheduler and the workers) to be able to use dask locally, while the local executor should run a thread or something (simple, easy), but I’m not too sure really
k
I think the scheduler - worker is when you bring in dask and distributed. The LocalDaskExecutor is a multiprocessing pool.
w
Hmmm, I thought I had the worker alive when I used the local executor. But maybe you just need dask installed.
Local: An executor that runs all functions locally using dask and a configurable dask scheduler.
Dask: An executor that runs all functions using the dask.distributed scheduler.
k
Ah I see. Yeah you’re right
z
The local dask executor works for me without a dask cluster
w
So probably I was just over complicating the execution really.