Components of Akka Actor

In Akka Toolkit, an Actor is an object (instance). Unlike an OOP (Object-Oriented Programming) object, it is not a simple or plain object. Internally, an Akka's Actor contains many components to perform its job or computation easily.

An Akka's Actor contains the following main components under-the-hood:

  • ActorRef
  • Dispatcher
  • MailBox
  • Actor

The following diagram shows the internal components of an Actor and how they work with one another:

In the Akka Toolkit, an Actor is not just a normal OOP's object. It contains many components under-the-hood to perform its job. Unlike an OOP's object, an Actor does many things using ...

Get Scala Reactive Programming 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.