Skip to main content

Tomasz Nurkiewicz: Managing congested actors in Akka

There comes a time in an Akka application when an actor can no longer handle increasing load. Since each actor can only handle one message at a time and it keeps a backlog of pending messages in a queue called mailbox, there is a risk of overloading one actor if too many messages are sent to one actor at the same time or actor fails to process messages fast enough - queue will keep growing and growing. This will negatively impact responsiveness of the system and...

Community: Java Tools