[zeromq-dev] High CPU load on polling timeout

Mykola Ostrovskyy spambox03 at mail.ru
Wed Nov 8 18:59:19 CET 2017

2017-11-08 15:54 GMT+02:00 Luca Boccassi <luca.boccassi at gmail.com>:

> Heartbeats are now included in the protocol, check the various
> ZMQ_HEARTBEAT_* socket options
> --
> Kind regards,
> Luca Boccassi

Thanks for the quick reply.

>From the first look ZMQ_HEARTBEAT_* stuff is quite different from what I
have now. I will investigate more, but it looks like I would need
substantial redesign to switch to that.

Is there a way to get the pattern described in the guide to work? Or is it
explicitly not supposed to work anymore?

After all, heart beat implementation is just one use case. Hypothetically,
there can be different scenarios where you try to send some data to REP
socket, time out waiting for reply, and eventually retrying to send it

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.zeromq.org/pipermail/zeromq-dev/attachments/20171108/99398a74/attachment.htm>

More information about the zeromq-dev mailing list