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.