Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Akka and built in Scala Actors: What's the difference for local use?

Tags:

scala

akka

actor

I know that Akka is a powerful (actor model) framework capable of concurrently running tasks on distributed systems. I know that there's a great comparison of actor model implementations in Scala. But I'm still wondering whether there are any benefits of using Akka for local calculations on multicore machine over built in Scala actors? And which one of them is more effective in terms of memory/CPU usage?

like image 708
nab Avatar asked May 18 '12 17:05

nab


2 Answers

Scala Actors is pulled out into its own jar for Scala 2.10 and will be deprecated as well. Akka will be shipped as the successor. As for efficiency Akka has a pretty solid story. Feel free to benchmark yourself.

like image 72
Viktor Klang Avatar answered Nov 06 '22 08:11

Viktor Klang


Builtin Scala Actors are deprecated from Scala 2.10 , default library is Akka.See Scala 2.10 release announcement

Here is the Migration Guide to Akka.

like image 27
fedvasu Avatar answered Nov 06 '22 09:11

fedvasu