[zeromq-dev] IPC latency

Erik Rigtorp erik at rigtorp.com
Fri Jan 8 09:37:05 CET 2010


On Friday, January 8, 2010, Martin Sustrik <sustrik at 250bpm.com> wrote:
> Erik,
>
>
> Also note the pipe busy reading lowers latency. It should be possible
> to do the same with poll/select/epoll.
>
>
> Just to be sure - Do you mean that busy looping with poll:
>
> while (!nevents)
>     nevents = poll (fds, timeout=0);
>
> has better latency than blocking poll:
>
> nevents = poll (fds, timeout=INFINITE)

Yeah it might have lower latency but I don't know since I didn't write
such a benchmark.



More information about the zeromq-dev mailing list