JuliaLang / JuliaLang/Distributed.jl

Handle multiple workers added on a node with the bind port specified

Open
#119 0 comments 0 reactions 0 assignees View on GitHub

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

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.