[zeromq-dev] Design Question

Nishant Mittal nmittal at rblt.com
Fri Jan 18 16:14:54 CET 2013

I have 3 workers (REP) connected to a DLR socket. each worker takes a msg,
processes and responds... however, as the DLR socket fair-queues.. requests
are sent like this...
1st -> 1st worker
2nd -> 2nd worker
3rd -> 3rd worker
4th -> 1st worker

problem is if the 1st worker is still busy with the 1st request the 4th
request waits... even if the 2nd and 3rd workers are free. I am "guessing"
its because of the receive buffer on the REP socket..

is it possible to fix this by setting the ZMQ_RCVHWM to 0?

*Nishant Mittal*
Director, Product Development
*Rosenblatt Securities Inc*.
20 Broad Street
New York, NY 10005

Direct: 212-607-3159
Mobile: 646-504-2629
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20130118/8a1bd0e7/attachment.htm>

More information about the zeromq-dev mailing list