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

Durable mailboxes

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 ...

Get Akka Essentials now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.