Agent-based concurrency with the Akka framework

Akka is an agent-based concurrency framework for Scala. It is developed by Typesafe Inc.—the company founded by the creator of the Scala language, Martin Odersky. Therefore, you can be pretty sure that the framework is here to stay. The framework is developed with the goal of simplifying the creation of concurrent programs for the JVM framework.

It is based on the concept of actors communicating by exchanging messages. Each actor will usually run on a separate thread and will abstract some activity that is to be done in parallel. The threading is managed behind the scenes and the writer of the program does not have to worry about low-level details.

It manages to avoid a lot of the issues that plague ...

Get Scientific Computing with Scala now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.