Skip to content

A performance test comparing Scala verses Erlang with simple agents to determine messaging performance

Notifications You must be signed in to change notification settings

joelvim/scala-vs-erlang

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

A performance test comparing Scala verses Erlang with simple agents to determine messaging performance

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Erlang 47.7%
  • Scala 44.4%
  • Shell 7.9%