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

Stopping actors

Once the actors have processed the messages, it may be imperative to stop them. Stopping of actors may be required because we have created a large number of actors and now the load has come down, so we can stop some to conserve resources. In this section, we will see the various options available to stop actors.

Stopping actors

Actor termination involves multiple steps. Once the STOP signal is received by the actor, the following actions take place:

  1. Actor stops processing the mailbox messages.
  2. Actor sends the STOP signal to all the children.
  3. Actor waits for termination message from all its children.
  4. Next, Actor starts the self-termination process that ...

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