Skip to main content

Module routing

Module routing 

Source
Expand description

Routers — distribute messages across a pool of routees.

We model a “routee” as any crate::actor::ActorRef<M> for a common message type M. Each router type carries routing state and exposes a single route(msg) entry point. For brevity here we expose 6 routing logics — the full set.

Structs§

BroadcastRouter
ConsistentHashRouter
ListenerRouter
Pub/sub router with dynamic subscriber set.
RandomRouter
ResizeAdvice
ResizerConfig
RoundRobinRouter
ScatterGatherFirstCompletedRouter
SmallestMailboxRouter
TailChoppingRouter