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. //Kevin 2016-10-10 11:08 GMT+02:00 Jeremy Morton <[email protected]>: > 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 > [email protected] > http://lists.zeromq.org/mailman/listinfo/zeromq-dev
_______________________________________________ zeromq-dev mailing list [email protected] http://lists.zeromq.org/mailman/listinfo/zeromq-dev
