Scala (and Akka) vs Erlang Actors
Benchmark for testing Actor implementations on Scala, Akka and Erlang. The Actor has 2 responsibilities:
- Add a count X to the Actors current tally
- Get the current count and reset the agent count to zero
I've used Scala 2.9.1 and Erlang 5.8.5.
My results can be found in my Blogpost Scala, Akka and Erlang Actor Benchmarks.
To run the erlang OTP version compile the 3 files then run client:runTest(3000000).
To run the erlang bare receive version compile server2 as well and then run client:runTest2(3000000).
To run the scala version do
./sbt run and select one of the benchmarks.