O'Reilly logo

Akka Essentials by Munish K. Gupta

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 5. Dispatchers and Routers

Dispatchers are the heart of the Akka application and this is what makes it humming. Routers on the other hand, route incoming messages to outbound actors. In this chapter we will cover the following:

  • What a dispatcher is and how it works, various types of dispatchers and their usage and configuration settings
  • Different types of mailboxes, and their usage and configuration
  • What a router is, and different types of routers and their usage
  • How to write a custom router

Dispatcher is the engine that powers the Akka application. It is very important to understand the switches and knobs that need to be tuned to extract the maximum concurrency and scalability out of the application.

Dispatchers

In the real world, dispatchers ...

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