[zeromq-dev] Safe receiver termination without loss of messages.
Martin Sustrik
sustrik at 250bpm.com
Mon Jan 31 10:31:40 CET 2011
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.
Martin
More information about the zeromq-dev
mailing list