[zeromq-dev] 0MQ to the rescue

Pieter Hintjens ph at imatix.com
Tue Aug 10 19:53:20 CEST 2010


On Tue, Aug 10, 2010 at 7:33 PM, gonzalo diethelm <gdiethelm at dcv.cl> wrote:

> What would I gain from xreq/xrep, that could not be done with push/pull?
> Mind you, I have not yet used xreq/xrep, so my question is out of sheer
> ignorance.

With push/pull there's no reply, so no way to tell the sender the
message was (or was not) received.  You could do that using another
socket back to the sender but xreq/xrep seem more natural since xrep
already routes replies to the original client, across devices.

> Would I still be able to (eventually) have many processors and a
> streamer to do load balancing?

Don't know, sorry.  I'd assume there are ways of making this work
using a queue device but it's not something I've done yet.

-Pieter



More information about the zeromq-dev mailing list