[zeromq-dev] Blocking on multiple outputs

Martin Sustrik sustrik at 250bpm.com
Wed Jun 1 21:39:28 CEST 2011


On 06/01/2011 09:31 PM, Jon Dyte wrote:

>> If it behaves that way, it's a bug. The correct behaviour should be to
>> remove the blocked queue from load balancing. Ie. any further requests
>> are going to be sent to the other peers until the blocked peer reads the
>> some pending requests and thus creates a space in its queue.
>>
>
> isnt this essentially related to the fact that xrep_t::has_out always
> returns true?

Aha. I guess I've missed something. The problem is with XREP socket, not 
the XREQ socket, right?

Well, in case of XREP socket the correct behaviour should be to drop 
message when HWM is reached.

Martin



More information about the zeromq-dev mailing list