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: <div><br></div><div>See these articles:</div><div><ol><li><a href="http://jlouisramblings.blogspot.com/2011/10/one-major-difference-zeromq-and-erlang.html">http://jlouisramblings.blogspot.com/2011/10/one-major-difference-zeromq-and-erlang.html</a></li>
<li><a href="http://www.rabbitmq.com/blog/2011/06/30/zeromq-erlang/">http://www.rabbitmq.com/blog/2011/06/30/zeromq-erlang/</a></li></ol></div><div>I'd recommend looking at gproc.</div><div><br></div><div>--Andrew</div>
<div><br></div><div><div class="gmail_quote">On Mon, Aug 13, 2012 at 12:12 PM, Michael Truog <span dir="ltr"><<a href="mailto:mjtruog@gmail.com" target="_blank">mjtruog@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<u></u>
<div bgcolor="#ffffff" text="#000000"><div><div class="h5">
On 08/13/2012 10:59 AM, Jai Gupta wrote:
<blockquote type="cite">
<br>
<div>
<blockquote>
Here's the answer to your question on SockJS mailing list:<br>
<br>
<a href="https://groups.google.com/d/msg/sockjs/m5UtBVcmJ_g/0M92khnAGmgJ" target="_blank">https://groups.google.com/d/msg/sockjs/m5UtBVcmJ_g/0M92khnAGmgJ</a></blockquote>
<div><br>
Thank you Marek for your detailed answer.<br>
<br>
Both Sock.js and Cowboy are great projects and it was good
experience of having opportunity of using them.<br>
<br>
I am trying to write some reasons so that you and can give
your suggestions.<br>
<ul>
<li>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.</li>
<li>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 <a href="https://github.com/mkoppanen/php-zmq/issues/64" target="_blank">leaking
memory</a>).</li>
</ul>
<p>We are trying some basic prototype on other languages.<br>
</p>
<br>
</div>
</div>
</blockquote>
<br></div></div>
It is much better if you use <a href="https://github.com/zeromq/erlzmq2" target="_blank">https://github.com/zeromq/erlzmq2</a> for
Erlang<->ZeroMQ integration.<br>
<br>
</div>
<br>_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br></blockquote></div><br></div>