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

Supervision

Supervision in simple terms means overseeing the performance or operations of a group. In our case, we are creating hundreds of actors to do work for us, it is possible that some of these actors might fail or throw exceptions in certain situations.

Supervisors provide a dependency relationship between the actors – in the sense that every actor has a supervisor attached to it. The supervisor is responsible for delegating the tasks to the actors – called subordinates and manage the lifecycle of the Subordinate actors. This is shown in the following image:

Supervision

If any of the subordinates report a failure or exception, the supervisor is informed ...

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