question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Support for multiple protocols or heterogenous protocols

See original GitHub issue

I have a use case where the client<=>scheduler communication needs to be proxied, so we use the websocket protocol.

However, doing so means that scheduler<=>worker and worker<=>worker communication must also use websockets as we assume consistency.

This results in performance issues on systems with high-performance networking like Infiniband or NVLink. We usually use UCX for worker<=>worker communication to get the best out of the hardware.

I wanted to start a discussion around a solution for this. The two things that spring to mind are:

  • Add support for multiple protocols simultaneously.
  • Allow for one protocol for client<=>scheduler and a different one for worker<=>worker.

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
mrocklincommented, Aug 17, 2022

Yeah, I did this shortly after the websocket work, probably for the same reasons that you’re looking into it now.

As a heads-up, websockets work, but didn’t feel bulletproof.

0reactions
mrocklincommented, Aug 22, 2022

I think there would be a need to specify which ports the different protocols listen on and set this from the dask-scheduler CLI.

You’e probably already figured this out by now, but many arguments now accept lists. Also, for complex options I’ve mostly switched to using dask-spec directly. It’s nice to cut out the CLI layer and just focus on the Scheduler class options.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Multiple-access protocols: fairness in heterogeneous systems
Abstract: We propose a distributed reservation protocol for high-speed, star-based, local-communication systems with heterogeneous users.
Read more >
Heterogeneous network - Wikipedia
In computer networking, a heterogeneous network is a network connecting computers and other devices where the operating systems and protocols have ...
Read more >
A systematic review on heterogeneous routing protocols for ...
Keeping in view of all these issues, in this paper, we have categorized various heterogeneous routing protocols for WSNs based upon various predefined ......
Read more >
Toward Dynamic Application Protocols in Heterogeneous ...
approach to an SOA that supports multiple protocols in heterogeneous systems; ALML lays the ... underlying most heterogeneous distributed computing.
Read more >
A Software-Defined Architecture for Integrating ... - Frontiers
Second, flow tables supporting multi-class protocols and single pipeline structures can realize protocol conversion of multiple heterogeneous ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found