Choices in Scala

We have a few options for actor-based concurrency in Scala; one of them is the scala.actor library that’s provided with the Scala installation. Akka library provides better performance and is better suited for enterprise applications (see Akka benchmarks in Appendix 2, Web Resources). To use the Scala actor library, refer to Scala’s documentation, Programming in Scala [OSV08], or Programming Scala [Sub09]. To use Akka, refer to Akka’s documentation and the examples provided in Chapter 8, Favoring Isolated Mutability.

Get Programming Concurrency on the JVM now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.