[zeromq-dev] Question about tcp optimizations

Pieter Hintjens ph at imatix.com
Thu Feb 14 04:43:57 CET 2013

On Tue, Feb 12, 2013 at 5:43 PM, The Carrolls <thecarrolls at jiminger.com> wrote:

> Thanks. I'm on Linux which makes this outcome ... amazing. :-)

Not really. You can compare a minimal hand-written 0MQ stack with the
full library:


The hand-written TCP code is half the speed of the 0MQ code despite
the huge amounts of extra work the library does, mainly because it's
batching messages intelligently, and using more cores. The speed
difference gets smaller as you send larger messages.


More information about the zeromq-dev mailing list