A performance test comparing Scala verses Erlang with simple agents to determine messaging performance
Erlang Scala Shell
Pull request Compare This branch is 3 commits behind fbettag:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
erlang
scala
.gitignore
README.md

README.md

Scala (and Akka) vs Erlang Actors

Benchmark for testing Actor implementations on Scala, Akka and Erlang. The Actor has 2 responsibilities: 1) Add a count X to the Actors current tally 2) 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.