[zeromq-dev] DEALER <--> ROUTER <--> Double Read() is so slow. Please have a look at the codes.

Pieter Hintjens ph at imatix.com
Mon Apr 15 09:26:07 CEST 2013


On Mon, Apr 15, 2013 at 8:02 AM, crocket <crockabiscuit at gmail.com> wrote:

> If I call Read Tag from DSCTagTest via ZeroMQ, it takes 350~370ms to call Read Tag 1000 times.

This is doing a round-trip, right?

That becomes slow. There's a lot of latency for pushing single
messages through the whole stack like this.

It's perhaps the main problem with the current libzmq design; too much
happens for one message. It's fine when you send streams of data but
it gets slow when you do round trips.

-Pieter



More information about the zeromq-dev mailing list