<div dir="ltr">Hi guys,<div><br></div><div>Comparing Akka to Erlang/OTP is complex by its very nature. Akka streams and</div><div>transactors have no direct translation to Erlang/OTP for example, at least to my</div><div>knowledge. Akka as a recent incarnation of the actor model has some ideas that</div>
<div>should inspire innovation in OTP. Akka clustering, for example, was inspired by</div><div>Riak core. So when we compare Akka are we including that? Should we widen</div><div>OTP to include riak core to have a fairer comparison to Akka?</div>
<div><br></div><div>If you are in a JVM environment. It is far better to adopt Akka than to roll your own</div><div>actor style framework. However, if your domain lends itself well to natural concurrency</div><div>it will be fairly easier to describe and implement that system using Erlang/OTP.</div>
<div><br></div><div>If, on the other hand, you require fine grained concurrency control and multi-threading</div><div>then the JVM *will* suit you better, on average, but it'll cost you at the long tail, and when</div>
<div>the the stop-the-world pause hits you, it can hit you terribly awfuly badly (unless you have</div><div>mastered the art of JVM and GC tuning - there are over 800 tunables, so good luck!). Its just</div><div>something one has to get used to when dealing with the JVM.</div>
<div><br></div><div>Ultimately, making an informed choice between Erlang/OTP and JVM/Akka requires deeper<br></div><div>thinking. There isn't enough overlap between the communities to be easily able to weed</div><div>
out individual or community bias (I am tarring myself with this brush too!) For your application, it</div><div>is already using Erlang, so why not check out some of the cassandra bindings available such</div><div>as (in no particular order):</div>
<div><br></div><div><a href="https://github.com/dieswaytoofast/erlang_cassandra">https://github.com/dieswaytoofast/erlang_cassandra</a><br></div><div><a href="https://github.com/matehat/cqerl">https://github.com/matehat/cqerl</a><br>
</div><div><div><a href="https://github.com/RJ/erlang-cassandra-cql">https://github.com/RJ/erlang-cassandra-cql</a><br></div></div><div><br></div><div><br></div><div>Cheers,</div><div><br></div><div>Darach.</div><div><br>
</div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Aug 26, 2014 at 8:45 PM, Lee Sylvester <span dir="ltr"><<a href="mailto:lee.sylvester@gmail.com" target="_blank">lee.sylvester@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word">My thoughts are simply that, where Erlang was designed from the ground up to cater, Akka has been built on top of a platform that has not. There is much that Erlang provides for free that just makes life easy. Akka may do this, too, but since it’s built on the JVM, you’re bound to run into some headaches.<span class="HOEnZb"><font color="#888888"><div>
<br></div></font></span><div><span class="HOEnZb"><font color="#888888"><div>Lee</div><div><br></div></font></span><div><br><div><div><div class="h5"><div>On 26 Aug 2014, at 20:34, Youngkin, Rich <<a href="mailto:richard.youngkin@pearson.com" target="_blank">richard.youngkin@pearson.com</a>> wrote:</div>
<br></div></div><blockquote type="cite"><div><div class="h5"><div dir="ltr">Hi all,<div><br></div><div>I'm working on an application written in Erlang. In recent months there have been more and more questions questioning Erlang/OTP. There is general recognition that many of the Erlang/OTP's features (e.g., immutable state,supervision) are beneficial. The questions mostly revolve around availability of Erlang expertise and supporting libraries (e.g., Cassandra support just to name one whereas Akka has the entire JVM ecosystem available to it). Akka has been proposed as an alternative to Erlang.</div>
<div><br></div><div>Googling around for good comparisons between Erlang and Akka hasn't turned up a lot of useful information, but there is some (e.g., <a href="http://stackoverflow.com/questions/4491039/how-does-akka-compare-to-erlang" target="_blank">http://stackoverflow.com/questions/4491039/how-does-akka-compare-to-erlang</a>).</div>
<div><br></div><div>I'd be interested if anyone in this community has any advice and/or opinions regarding Erlang vs. Akka. Anyone?</div><div><br></div><div>Thanks,<br>Rich</div></div></div></div><div class="">
_______________________________________________<br>erlang-questions mailing list<br><a href="mailto:erlang-questions@erlang.org" target="_blank">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>
</div></blockquote></div><br></div></div></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>