Skip to content

Workarounds to mask port usage due to active queue? #31

Closed Answered by shikokuchuo
wlandau asked this question in Q&A
Discussion options

You must be logged in to vote

This is now the definitive answer. Suggestion straight from Garrett D'Amore, author of NNG.

Instead of specifying a TCP URL, specify a Websocket URL starting ws://. As we can append arbitrary paths to ws addresses, suddenly we have no limits on the number of connections over one port!

As of fce31f9, I have implemented auto-incrementing the path numerically so we only need to supply one URL as before e.g.

daemons("ws://:5555", nodes = 4)

Or specify a vector and use something more descriptive:

daemons(c("ws://:5555/cpuserver", "ws://:5555/gpuserver"), nodes = 2)

Apparently what we were previously considering to solve this issue was, quote "similar to the old RPCBIND approach used 30 years a…

Replies: 2 comments 10 replies

Comment options

You must be logged in to vote
1 reply
@shikokuchuo
Comment options

Comment options

You must be logged in to vote
9 replies
@wlandau
Comment options

@shikokuchuo
Comment options

@shikokuchuo
Comment options

@wlandau
Comment options

@shikokuchuo
Comment options

Answer selected by shikokuchuo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants