[zeromq-dev] Problem with Intergation of libzmq 3.2 with libev
Paul Colomiets
paul at colomiets.name
Fri Sep 14 10:19:52 CEST 2012
Hi,
On Thu, Sep 13, 2012 at 12:37 PM, Tejaswi, Saikrishna
<saikrishna.tejaswi at in.verizonbusiness.com> wrote:
> Can you kindly validate these changes and see if there are any
> repercussions in sending the activate_read even if the reader_thread is
> active
>
AFAICS, you've made zeromq thousand times slower (speculating, no
benchmarks done). What you really need is:
1. Read all messages from input queue until EAGAIN is returned from
zmq_recv* call
2. Read all messages after each zmq_send* call
We are using libzmq with libev for years in zerogw
(http://zerogw.com), an I'm doubt something changed in zmq 3.2.
Zerogw isn't easiest piece of code to read, but it may help.
--
Paul
More information about the zeromq-dev
mailing list