Chapter 11. Advanced Topics
In this chapter, we will cover topics that will allow your Akka application to be more resistant to failures (via durable mailboxes), interact over HTTP with other applications, and talk to other enterprise applications (using messaging). The following topics will be covered:
- Durable mailboxes
- Actors and web applications
- Integrating actors with ZeroMQ
Imagine a large distributed application with the actor(s) running, with hundreds of messages queued in the mailbox. Suddenly, the application node where the actor(s) and its attached mailbox is hosted goes down. When the application node comes back, the actor(s) will be (re)initialized but the mailbox will lose all the messages.
This kind of scenario is not ...