[erlang-questions] Looking for high performance transport

Garrett Smith g@REDACTED
Tue Jan 31 16:44:34 CET 2012


On Sun, Jan 29, 2012 at 7:11 AM, Max Bourinov <bourinov@REDACTED> wrote:
> Hello Erlangers,
>
> Could anybody suggest a good transport for my needs?
>
> My requirements:
>  - Should support up to 1 Gbit traffic per node (message size from 128 bites
> to 4 KB)
>  - Should support a lot (> 65000) connection per node
>  - Should support authentification
>  - Should be possible to develop additional client libs.
>
> Ideal will be kind of a server + client lib.
>
> So far I have tried ejabberd and exmpp. ejabberd is great but it has big
> overhead ~150 KB for connected user. exmpp is buggy and has very poor
> performance on our data (I send JSON data and exmpp tries to wrap each "
> into separate CDATA tag).
>
> Any ideas and links are welcome!

0MQ was designed for high performance and throughput.

http://www.zeromq.org/

It doesn't support authentication, but I think in your case that's a
good sign -- anything low enough level will leave that to the app
tier.

The Erlang bindings are very good and are maintained by people active
on this list:

https://github.com/zeromq/erlzmq2



More information about the erlang-questions mailing list