You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm reading through the docs of Dask Distributed, and a couple points are unclear to me. I'd be happy to submit a pull request with doc improvements if someone can at least point me in the general direction of answers for my doc questions. (Actually, two of my three questions are yes/no, so at least those two should be quick to answer for someone who knows Dask Distributed well.)
In the "Resilience" page, the "Restart and Nanny Process" section doesn't really talk about nanny process. When would I want to use one and why? And when is it not needed?
Again in the "Resilience" page, for "Closed Network Connections", point 3: "Data scattered out to the workers is not kept in the scheduler (it is often quite large) and so the loss of this data is irreparable." Is that just about data send via the "scatter()" method? Or is scattering used in a broader sense here?
When talking about ClientState in the "Scheduling State", etc. sections, that's an internal object that describes the state of each worker, and which is not related to the Client() object that is instantiated by the user, correct?
I added autodoc for Nanny, but there should probably also be at least a sentence or two there also. Basically, what am I missing out on when I'm not using the nanny to supervise my workers?
My understanding is that data that is persisted will be recreated, because the scheduler knows the Dask task graph that created it, and so can rerun that. But my understanding of the code is still pretty shallow. I think the distinction is between loading data directly (via scatter()) vs. creating data from a Dask task graph (where you can rerun the graph to recreate the data if needed), so I tweaked the doc accordingly. Please confirm, though.
Activity
TomAugspurger commentedon Jun 13, 2019
persisted collections though...scheduler.ClientStateif you want to disambiguate.martindurant commentedon Jun 19, 2019
@chrish42 , are you interested in providing the clarifications as a PR?
chrish42 commentedon Jun 19, 2019
Yes. On vacation now, though, so I'll create the pull request beginning of July, if that's okay.
martindurant commentedon Jun 19, 2019
That's fine, just wanting to know how things stand - thanks.
chrish42 commentedon Jul 5, 2019
Submitted a first cut at a pull request.
persisted will be recreated, because the scheduler knows the Dask task graph that created it, and so can rerun that. But my understanding of the code is still pretty shallow. I think the distinction is between loading data directly (via scatter()) vs. creating data from a Dask task graph (where you can rerun the graph to recreate the data if needed), so I tweaked the doc accordingly. Please confirm, though.