5 Fault tolerance

This chapter covers

  • Self-healing systems and the let-it-crash principle
  • The actor lifecycle signals
  • Supervising strategies and their signals
  • Monitoring and watching

This chapter covers Akka’s tools for making applications more resilient. These tools, which follow the let-it-crash principle, are supervision, monitoring, and the actor lifecycle features. We look at examples that show how to apply them to typical failure scenarios.

NOTE The source code for this chapter is available at www.manning.com/books/akka-in-action-second-edition or https://github.com/franciscolo pezsancho/akka-topics/tree/main/chapter05. You can find the contents of any snippet or listing in the .scala file with the same name as the class, object, or trait. ...

Get Akka in Action, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.