Skip to content

Commit e657820

Browse files
SmallestMailboxPool clarification (#5295)
about routee selection algorithm Co-authored-by: Aaron Stannard <[email protected]>
1 parent 7a5caa2 commit e657820

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/articles/actors/routers.md

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -472,10 +472,9 @@ var router = system.ActorOf(Props.Empty.WithRouter(new ScatterGatherFirstComplet
472472

473473
The `SmallestMailboxPool` router will send the message to the routee with fewest messages in mailbox. The selection is done in this order:
474474

475-
1. Pick any idle routee (not processing message) with empty mailbox
476-
2. Pick any routee with empty mailbox
477-
3. Pick routee with fewest pending messages in mailbox
478-
4. Pick any remote routee, remote actors are consider lowest priority, since their mailbox size is unknown
475+
1. Pick any routee with empty mailbox
476+
2. Pick routee with fewest pending messages in mailbox
477+
3. Pick any remote routee, remote actors are consider lowest priority, since their mailbox size is unknown
479478

480479
![SmallestMailbox Router](/images/SmallestMailbox.png)
481480

0 commit comments

Comments
 (0)