JuliaLang / JuliaLang/Distributed.jl
Handle multiple workers added on a node with the bind port specified
Nobody has claimed this yet.
- Dominant language
- Julia
- Stars
- 55
- Forks
- 19
- PR merge metrics
- No merged PRs in 30d
Description
Currently addprocs() does not handle this kind of machine spec: ("workerhost 10.1.1.1:10000", 2)
The problem is that each worker on workerhost tries to use the same bind port, which fails since only the first worker can have that port. Instead the extra workers should pick an available port starting from the bind port. launch_n_additional_processes() and/or launch_additional() will need to be modified to support this.
Reported on slack.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading launch_n_additional_processes() and launch_additional(), focusing on how the specified bind port is passed to multiple workers. Reproduce the machine specification ("workerhost 10.1.1.1:10000", 2) and verify that the first worker uses the requested port while additional workers select subsequent available ports.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- julia
- Domain
- distributed-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100