Hey All,
Does anyone have any advice on managing Dask clients within a web backend or just in a long running concurrent project? Should I try to reuse a single client throughout or is it better to create clients whenever needed?
Hey All,
Does anyone have any advice on managing Dask clients within a web backend or just in a long running concurrent project? Should I try to reuse a single client throughout or is it better to create clients whenever needed?
Hi @joecus1, welcome to Dask community,
I admit I have no strong knowledge here. If you can use a single Client without much trouble, I’ll say do it. If it simplifies things to create a new Client every time, this should work, if you don’t create a new one every millisecond.