O'Reilly logo

Akka Concurrency by Derek Wyatt

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 11

Dispatchers and Mailboxes

We're getting ready to put actors aside for the moment and move on to some of Akka's other features, but before we do that we need to learn a little bit about what keeps Akka ticking.

Way back in Chapter 5, we discussed the dispatcher and the mailbox without going too deeply into what they are, what purpose they really serve, and what control you have over them. This chapter will help bring closure to our understanding of actors while, at the same time, bridge us over into the next topic of futures. We'll also reference routing, where we describe the "missing" router.

11.1 Dispatchers

Up until now, we haven't really cared how our code was executed, so long as it worked. While you don't really have to understand ...

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