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
{{ message }}
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.
a client written in Julia that submits work to the scheduler and queries for state (this would be the part run in the controller process which calls dispatch! on the Executor)
a worker written in Julia that accepts instructions from the scheduler, fetches dependencies, executes computations, stores data, and communicates state to the scheduler
In this new Executor we could avoid pre-allocating tasks and allow for fluctuating worker resources. We would also have a stronger guarantee of efficiency.
The text was updated successfully, but these errors were encountered:
@mrocklin If I understand correctly, clients (written in Julia) communicate data between themselves directly without going through Python, right? Only scheduler commands and metadata need to pass through python via MsgPack?
Workers communicate data between themselves directly. The scheduler will tell them the identifier of the data (what we call a key) and a set of addresses of other workers where they can obtain that data. The worker can then use whatever mechanism it chooses to gather that data. We tend to use the same protocol for inter-worker communication as we do everywhere else, but in principle you could do whatever you wanted, as long as you inform the scheduler with another administrative message when you have obtained the data from the other worker.
The current scheduler is in Python, but no information that passes in to or out of it is Python-specific. All messages to and from the scheduler are purely msgpack and so language agnostic.
Use the ideas here: dask/distributed#586
The components seem to be:
dispatch!
on theExecutor
)In this new
Executor
we could avoid pre-allocating tasks and allow for fluctuating worker resources. We would also have a stronger guarantee of efficiency.The text was updated successfully, but these errors were encountered: