[zeromq-dev] Load balancing REQ/REP sockets
Brian Granger
ellisonbg at gmail.com
Thu Mar 18 17:42:49 CET 2010
Martin,
Thanks for clarifying this. I just ran wireshark to try to understand
how all this works:
* 1 XREQ socket with HWM=LWM=2.
* 2 REP sockets that are connected that also have HWM=LWM=2.
Then I just started sending messages on the XREQ. I could see from
wireshark that the messages continue to be delivered to the REP
sockets even after passing the HWM. Is this the expected behavior?
>> I have set HWM and LWM to 2 in the XREQ + multiple REP situation. The
>> XREQ can keep sending messages, but where do they go? It sounds like
>> the XREQ holds the messages in its outgoing queue?
>
> I am not sure - are you speaking of the case where there's no REP connected
> to your XREQ?
I was speaking of the case described above- multiple REP sockets
connected to the XREQ.
Cheers,
Brian
--
Brian E. Granger, Ph.D.
Assistant Professor of Physics
Cal Poly State University, San Luis Obispo
bgranger at calpoly.edu
ellisonbg at gmail.com
More information about the zeromq-dev
mailing list