Using Akka Dispatchers In Scala
Reading Time: 4 minutes Akka dispatchers are extremely important in Akka framework. They are directly responsible for optimal performance, throughput and scalability. Akka supports dispatchers for both event-driven lightweight threads and thread-based Actors. For thread-based Actors each dispatcher is bound to a dedicated OS thread. Default dispatcher is a single event-based dispatcher for all Actors created. The dispatcher used is this one: Dispatchers.globalExecutorBasedEventDrivenDispatcher For many cases it becomes mandatory Continue Reading