dask / dask/distributed

[Feature Request] --contact-address with multiple workers at specific port range.

Open
#8,176 0 comments 1 reaction 0 assignees View on GitHub
enhancement good second issue help wanted
Dominant language
Python
Stars
1.7k
Forks
778
Avg merge
2h 50m
Merged PRs (30d)
3

Description

#### Is your feature request related to a problem? Please describe.

I'm running dash worker in a isolated network A. These workers has an internal IP address (192.168.0.1) and an external IP address 10.0.0.1. There are some other workers in network B or C, they can only communicat using external address(There are firewalls or other restrictions etc.). So --contact-address. is required.
I want to run multuple workers using --nworkers > 1 ( or --nworkers auto), But:

if --nworkers is specificted, --bind-address is NOT allowed.
If --contact-address is specificted --bind-address is required.
Even though I can run multiple instances with --nworkers 1, but If I want to start hunders of worekrs in one node, thing is going to be difficult. Put another way: things could have been very simple.

----

#### Describe the solution you'd like

--bind-address can specific address and a range of ports. So it no longer conflicts with --nworkers.
for example: tcp://192.168.0.1:6000-6256

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.