[zeromq-dev] Too much ZeroMQ overhead versus plain TCP Java NIO Epoll (with measurements)

Pieter Hintjens ph at imatix.com
Fri Aug 31 04:23:11 CEST 2012

On Thu, Aug 30, 2012 at 12:13 AM, Julie Anderson
<julie.anderson.uk at gmail.com> wrote:

> Just tested ZeroMQ and Java NIO in the same machine.

You're comparing apples to a factory that can process apples into
juice at the rate of millions a second.

For that extra latency in 0MQ you get things like message batching,
asynch i/o, routing patterns. The cost could be brought down (see
Martin Sustrik's nano project, which brings it way down) by
redesigning the 0MQ internals.

Having said this, it's probably worth taking a profiler to 0MQ and
seeing if the critical path can't be improved somewhat.


More information about the zeromq-dev mailing list