org.apache.pekko.routing.SmallestMailboxRoutingLogic
See theSmallestMailboxRoutingLogic companion object
class SmallestMailboxRoutingLogic extends RoutingLogic
Tries to send to the non-suspended routee with fewest messages in mailbox. The selection is done in this order:
-
pick any idle routee (not processing message) with empty mailbox
-
pick any routee with empty mailbox
-
pick routee with fewest pending messages in mailbox
-
pick any remote routee, remote actors are consider lowest priority, since their mailbox size is unknown
Attributes
- Companion
- object
- Source
- SmallestMailbox.scala
- Graph
-
- Supertypes
Members list
In this article