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

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 ...

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