[zeromq-dev] IPC latency

Erik Rigtorp erik at rigtorp.com
Fri Jan 8 11:13:52 CET 2010

On Fri, Jan 8, 2010 at 10:09, Steven McCoy <steven.mccoy at miru.hk> wrote:
> 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.

Are you saying that first doing select/poll/epoll and then reading is
faster even for one fd?

More information about the zeromq-dev mailing list