Summary

We saw the role played by dispatchers and how they can be chosen and configured based on the type of application. Dispatcher's tuning will have maximum impact on the application throughput, so make sure you tune your engine to extract the maximum power. On the other hand, routers allow us to load-balance the incoming message traffic and distribute the same to the routee actors. Application scalability is achieved by using the appropriate router type. Together, dispatchers and routers are responsible for achieving the maximum throughput and scalability of the application.

In the next chapter, we will cover techniques for building fault tolerance and actor supervision strategies when writing large-scale concurrent programs. We will look at ...

Get Akka Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.