[erlang-questions] Looking for high performance transport

Gleb Peregud gleber.p@REDACTED
Sun Jan 29 15:11:20 CET 2012


On Sunday, January 29, 2012, 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!
> Best regards,
> Max

I'd say that those requirements are not very specific, since there are many
other aspects which may be important. Two projects which I find "sexy"
lately are ZeroMQ, which is very performant and may support topology you
want out of the box. For transport encoding you could try using MsgPack
which is allegedly very fast.

But generally more details are needed to give good recommendations.

Best,
Gleb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120129/899e8850/attachment.htm>


More information about the erlang-questions mailing list