[zeromq-dev] Load balancing broker with support for multiple simultaneous client messages?

Kevin Sapper kevinsapper88 at gmail.com
Mon Oct 10 11:24:27 CEST 2016

Hi Jeremy,

continue reading chapter 4 (
http://zguide.zeromq.org/page:all#reliable-request-reply) which should hold
the solution!

Fyi, when sending to a ROUTER socket zeromq attaches a sender ID
automatically. If you need to keep the order of messages you'll need to add
message IDs yourself.


2016-10-10 11:08 GMT+02:00 Jeremy Morton <admin at game-point.net>:

> I've been looking into what pattern to use for my applications, and it
> looks like I want something similar to the "Load balancing broker" example
> in the ZeroMQ guide.  However, the one problem with that is that it assumes
> the clients will just be sending one message at a time.  Is there a pattern
> like that, but one that allows a client to send off lots of messages
> simultaneously?
> I suspect it would require each message to have a message ID so that it
> can be routed back to the correct client (messages might come back to the
> client in a different order to which they were sent, so you can't rely on
> order to determine which sent message the response message pertains to).
> --
> Best regards,
> Jeremy Morton (Jez)
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20161010/81770915/attachment.htm>

More information about the zeromq-dev mailing list