<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
There are reasons to use ZeroMQ and Erlang together. A few, just
thought of briefly are:<br>
1) A quick way to integrate with external languages (non-Erlang
languages)<br>
2) A way of avoiding the limitations of distributed Erlang and its
net tick time<br>
<br>
I won't bother to list the problems with using gproc, since that is
discussed elsewhere (where it remains on-topic).<br>
<br>
On 08/16/2012 03:35 PM, Andrew Berman wrote:
<blockquote
cite="mid:CAEVpa74OgBPS=F3mSJR=ofZ-uWiaxfQfN2TfMzM=Xt6GMGs+NA@mail.gmail.com"
type="cite">
<meta http-equiv="Context-Type" content="text/html;
charset=ISO-8859-1">
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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>On Mon, Aug 13, 2012 at 12:12 PM, Michael Truog <span><<a
moz-do-not-send="true" href="mailto:mjtruog@gmail.com">mjtruog@gmail.com</a>></span>
wrote:<br>
<blockquote>
<div>
<div>
<div> 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 moz-do-not-send="true"
href="https://groups.google.com/d/msg/sockjs/m5UtBVcmJ_g/0M92khnAGmgJ">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
moz-do-not-send="true"
href="https://github.com/mkoppanen/php-zmq/issues/64">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 moz-do-not-send="true"
href="https://github.com/zeromq/erlzmq2">https://github.com/zeromq/erlzmq2</a>
for Erlang<->ZeroMQ integration.<br>
<br>
</div>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a moz-do-not-send="true"
href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a moz-do-not-send="true"
href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</blockquote>
<br>
</body>
</html>