Skip to Content
Mastering Functional Programming
book

Mastering Functional Programming

by Anatolii Kmetiuk
August 2018
Intermediate to advanced
380 pages
10h 2m
English
Packt Publishing
Content preview from Mastering Functional Programming

Working with actor systems

The strength of the actor model is that actors are lightweight, which means you can use millions of them on a single JVM running on an ordinary computer. Most of the time, you are not going to use a single actor but many actors. This requires a model to handle multiple actors.

In Akka, actors are organized in hierarchical trees—meaning that every actor has a parent and can have multiple children. Next, we will have a look at a slightly more complicated example that will showcase how actors work in hierarchies.

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Learning Functional Programming

Learning Functional Programming

Jack Widman

Publisher Resources

ISBN: 9781788620796Supplemental Content