[erlang-questions] Sock.js and Cowboy - Example

Andrew Berman rexxe98@REDACTED
Fri Aug 17 00:35:49 CEST 2012

There's no reason to use ZeroMQ and Erlang together.  Erlang provides the
same functionality out of the box but has a different way of doing it:

See these articles:

   2. http://www.rabbitmq.com/blog/2011/06/30/zeromq-erlang/

I'd recommend looking at gproc.


On Mon, Aug 13, 2012 at 12:12 PM, Michael Truog <mjtruog@REDACTED> wrote:

> **
> On 08/13/2012 10:59 AM, Jai Gupta wrote:
>  Here's the answer to your question on SockJS mailing list:
>   https://groups.google.com/d/msg/sockjs/m5UtBVcmJ_g/0M92khnAGmgJ
> Thank you Marek for your detailed answer.
> Both Sock.js and Cowboy are great projects and it was good experience of
> having opportunity of using them.
> I am trying to write some reasons so that you and can give your
> suggestions.
>    - We aim to build a benchmarking client for performance analysis. This
>    tool should be able to perform all sorts of actives that any user might do.
>    Both, with SockJS & Cowboy do not have a client which I could use. SocketIO
>    had a client which could be used in Node.js. However, SocketIO port of
>    Erlang is looking as if it is not in active development.
>    - Coming from C++/PHP background Erlang language is looking difficult.
>    Working on Node.js was natural but performance of Node.js is not good. In
>    our benchmark Node.js was performing 40k msg/sec using SockJS module and
>    around 60k msg/sec when using ZeroMQ. Even PHP gives 400K msg/sec with
>    ZeroMQ (although it has leaking memory<https://github.com/mkoppanen/php-zmq/issues/64>
>    ).
> We are trying some basic prototype on other languages.
> It is much better if you use https://github.com/zeromq/erlzmq2 for
> Erlang<->ZeroMQ integration.
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://erlang.org/mailman/listinfo/erlang-questions
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20120816/1a81f443/attachment.htm>

More information about the erlang-questions mailing list