[zeromq-dev] Safe receiver termination without loss of messages.

Victor Vlasenko vlasenko at sysgears.com
Mon Jan 31 10:37:08 CET 2011

On 01/31/2011 11:31 AM, Martin Sustrik wrote:
> Hi Victor,
>> Currently zeromq 2.1.0 has the feature to safely terminate the sender
>> with flushing all the messages to the network. But if you terminate the
>> receiver messages that are buffered on receiver end will be lost.
>> IMHO it would be handy to have the same feature to safely terminate the
>> receiver, i.e. upon termination all ZMQ sockets that recv messages
>> should get all the buffered messages before termination, no messages
>> should be lost.
>> At present to achieve such a behavior one should implement
>> handshake/acknowledgment protocol. I think it would be great if ZeroMQ
>> took care of safe receiver termination. What do you think?
> I would say nobody replying means nobody is strongly opposed to the 
> idea. If that's the case there's nothing preventing you to try to 
> implement the functionality.
Aha, thank you Martin for the clarification. Will do.


More information about the zeromq-dev mailing list