O'Reilly logo

Developing an Akka Edge by Thomas Lockney and Raymond Tay

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 6: Dispatchers

Now as we turn to the matter of dispatchers, things might get slightly more confusing. It's perhaps best to think of dispatchers as embodying two fundamental concepts: management of the actor mailbox and the threading strategy used to allow actors to do actual work. We'll discuss both of these in a bit more depth as they are the focus of the primary differences between various dispatcher choices.

Let's look at the mailbox choices first, as they are the simpler part of this picture. There are primarily two important concerns that make up the selections available. That is, you have the choice of whether to assign a distinct mailbox for each actor or to share one for all. Further, you can choose whether the mailboxes should ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required