[zeromq-dev] IPC latency

Steven McCoy steven.mccoy at miru.hk
Fri Jan 8 10:09:46 CET 2010


2010/1/8 Martin Sustrik <sustrik at 250bpm.com>

> while (!nevents)
>     nevents = poll (fds, timeout=0);
>
> has better latency than blocking poll:
>
> nevents = poll (fds, timeout=INFINITE)
>
>
The code has non-blocking read loop compared with a blocking read loop, so
not really valid for extrapolation to poll.  All it's saying is blocking
read is slow, which isn't particularly remarkable.

-- 
Steve-o
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20100108/cd8a6d07/attachment.htm>


More information about the zeromq-dev mailing list