Akka: Getting Started Tutorial for Scala
Slightly modified app from Akka tutorial from here.
How to compile and run
Go to project root directory and start SBT with sbt
command.
Compile project with:
> compile
Then run it with:
> run
Output should be similar to this:
[info] Running Pi
Starting calculation: Mon Sep 21 13:07:54 CEST 2015
Number of elements: 10000
Number of messages: 100000
Pi approximation: 3.141592652589859
Calculation time: 2116 milliseconds
Stopping calculation: Mon Sep 21 13:07:56 CEST 2015
[success] Total time: 3 s, completed Sep 21, 2015 1:07:56 PM