[zeromq-dev] zmq_poll() very slow on Windows

Doron Somech somdoron at gmail.com
Mon May 29 13:41:23 CEST 2017


Try to use zmq_poller, it might yield better performance.

On May 29, 2017 1:33 PM, "Radek Svoboda" <radek.svoboda at gmail.com> wrote:

> Hi,
>
> Calling zmq_poll() just on single ZMQ socket, which is already in signaled
> state, takes about 2 msec on Windows 10 (libzmq 4.2.2). The same call is
> very fast (few microseconds) on Linux.
>
> Is this an expected limitation of Windows implementation of zmq_poll()?
> Any tips how to improve the speed? The zmq_poll() is the part of my
> processing loop and spending 2 msec on each (almost always signaled) query
> limits the throughput to just 500 queries per second!
>
> Thank you
> Radek Svoboda
>
>
> _______________________________________________
> zeromq-dev mailing list
> zeromq-dev at lists.zeromq.org
> https://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20170529/43cda0f6/attachment.htm>


More information about the zeromq-dev mailing list