-
Notifications
You must be signed in to change notification settings - Fork 70
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to use AF_SO_RAW / AF_SP_RAW to create Zeromq ROUTER / DEALER equivalent? #143
Comments
Ah, so it appears load balancing is built into |
hey that's a good link, i'm also a fan of: http://250bpm.wdfiles.com/local--files/publications/ietf.pdf
that's right, REQ/REP was designed around the need to distribute precise load balancing tasks among stateless workers. There's also PUSH/PULL, discussed some in #118. @yoshuawuyts, i think RAW sockets usually need sudo permissions like the low ports, but I'm not 100% if that's the case on every operating system and for every AF_SP_RAW combo |
OK I think we only use RAW sockets at the local proxy endpoint, Martin says it's intended for here's the better answer: http://www.freelists.org/post/nanomsg/AF-SP-RAW-vs-AF-SP,1 |
Ah right, so It appears there's some tests around
edit: I would assume so. From the page you linked:
I think this is pretty clear now; perhaps adding an example for this in |
yes it would definitely be useful, @yoshuawuyts would you be up for a PR? |
I'm trying to create the following network setup:
I was looking how to create zeromq's
ROUTER
/DEALER
innanomsg
and stumbled upon a mailinglist answer on how to achieve this.Nanomsg's creator gave the following response:
This was slightly confusing to me, as I'm not very familiar with the
_RAW
variants innanomsg
. So my question is: how can I create aROUTER
/DEALER
setup innode-nanomsg
? Thanks!The text was updated successfully, but these errors were encountered: