-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dynamic @distributed scheduling #45
Comments
How would this be different than |
In effect? Upon inspection, not much, since *Maybe this is worth adding to the docs? I wasn't actually aware of this until I tried it. |
For me But Distributed.jl needs some love so I don't want to discourage you :) |
It is great that
@threads
now supports (and uses by default):dynamic
scheduling. As a mirror to that, it would make quite a bit of sense if@distributed
could handle dynamic scheduling. As I currently understand it, the best way to currently achieve this would be:It would be both much nicer, and I think rather appropriate if
@distributed
accepted a:static
/:dynamic
scheduling argument like@threads
does, and allowed for the following instead of the above:Going further, I think that
:dynamic
could actually be a sensible default for distributed scheduling.Xref: JuliaLang/julia#17887 for having a consistent distributed/threaded API
Xref: JuliaLang/julia#41966 for tedious channel taking
Xref: JuliaLang/julia#48515 for iterating a
RemoteChannel
Xref: JuliaLang/julia#33892 for maybe using a
CachingPool
too?The text was updated successfully, but these errors were encountered: