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

Chapter 6. Supervision and Monitoring

This chapter will cover fault tolerance lifecycle, supervision strategies, and linking strategies when writing large-scale concurrent programs. The reader is introduced to the "Let It Crash" paradigm and how it is managed in the Actor Model using the various supervision strategies, which are as follows:

  • One-For-One strategy
  • All-For-One strategy

In addition, we will cover actor state transitions that are not bound by parent-child relationship via lifecycle monitoring.

Let It Crash

When an actor crashes or throws an exception, who is responsible to catch the exception?

One way to look at it is to make sure that every actor knows how to handle failures, but then it becomes more defensive programming. The actor keeps ...

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