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

Summary

In this chapter, we have seen how we can use the supervisor strategy to build linkages between the actors and handle failure of the actors in the hierarchy. The actor hierarchy can go to any level of depth. In case the actors are not managed via the same supervisor hierarchy, we can make use of lifecycle monitoring that allows us to be notified when the actor terminates, so that the application can take corrective action.

In the next chapter, we will examine how to have concurrency control using the software transactional memory (STM). We will cover how to apply the transactional concepts (begin/commit/rollback semantics) within the Actor Model.

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