[zeromq-dev] Can I make sure that contexts are freed and handles released in a fast loop?

Ian Barber ian.barber at gmail.com
Fri Feb 24 12:32:23 CET 2012


On Fri, Feb 24, 2012 at 11:00 AM, Kuba <kubaraczkowski at gmail.com> wrote:

> Dear Ian,
>
> Indeed, adding a pause of ~350ms after the context termination makes the
> loop stable, however, it is too long to call it "low latency" :)
>
> Is there any way to fix it without the delay? Or perhaps for my simple
> scheme of communication I should consider using windows named pipes?
>
> Kuba
>

The issue is really with the kernel so it's a bit tricky. Are you doing the
bind() in a fast loop then, is it possible you could connect() in the loop,
and bind() on the other side?

Ian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20120224/c2d575e6/attachment.htm>


More information about the zeromq-dev mailing list