Chapter 16. Performance tips

In this chapter

  • Key parameters of performance in actor systems
  • Eliminating bottlenecks to improve performance
  • Optimizing CPU usage with dispatcher tuning
  • Changing the use of thread pools
  • Performance improvements by changing thread releasing

We’ve pretty much run the gamut of Akka’s actor functionality thus far in the book. We started with structuring your applications to use actors, how to deal with state and errors, and how to connect with external systems and deal with persistence. You’ve also seen how you can scale out using clusters. We’ve used the Akka actors like a black box: you send messages to the ActorRef, and your receive method implementation is called with the message. The fact that you don’t ...

Get Akka in Action now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.