[erlang-questions] 0MQ libraries

Garrett Smith g@REDACTED
Thu Jan 30 22:58:08 CET 2014


On Thu, Jan 30, 2014 at 3:13 PM, Joe Armstrong <erlang@REDACTED> wrote:
> Is anybody working on upgrading the 0MQ libraries for erlang to
> the latest version of 0QM.

I would be tempted to upgrade them, but I've wanted to have an
external C port implementation of the 0MQ bindings for a while and so
created this:

https://github.com/gar1t/erlang-czmq

In my three years of experience with the 0MQ bindings, it's been
(historically) very easy to crash the Erlang VM. For my applications,
speed will never justify the cost of taking an entire node down. The
CZMQ bindings I have here are quite slow relative to erlzmq2 (~ 5 - 10
times slower). I'm sure they can be made much faster, but my thinking
is that running multiple external ports could alleviate this.

Speed kills.

This code is not running in production, but it will be soon.

The CZMQ API in my opinion is the right target for new 0MQ bindings,
regardless of how they're implemented. Pieter Hintjen's rationale for
writing CZMQ is here:

https://github.com/zeromq/czmq#scope-and-goals

Garrett



More information about the erlang-questions mailing list