[zeromq-dev] IPC latency

Martin Sustrik sustrik at 250bpm.com
Fri Jan 8 09:15:48 CET 2010


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)

Martin



More information about the zeromq-dev mailing list