[zeromq-dev] Getting remote_thr to work with short sequences
Martin Sustrik
sustrik at 250bpm.com
Thu Dec 2 11:17:48 CET 2010
On 12/02/2010 09:05 AM, Steven McCoy wrote:
> ØMQ still seems to follow 2.0 functionality for zmq_close on PUB
> sockets, such that in remote_thr the sockets get reaped by zmq_term
> instead of left to linger.
>
> Attached is an awful hack to ensure it attains at the time calculated by
> the provided rate limit. At least it makes sense even if it is terrible.
Yes. The problem is that 0MQ pushes messages to OpenPGM then it believes
all the work is done. Thus it allows application to terminate.
Obviously, there may still be data in OpenPGM's tx buffer, which will be
dropped.
The real solution would be to be able to communicate the fact that
there's nothing more to send in OpenPGM's tx buffer back to 0MQ.
Thoughts?
Martin
More information about the zeromq-dev
mailing list