Expand description
PlacementActor — picks the best-fit DeviceActor for each
request based on a configurable PlacementPolicy.
Polls each device’s DeviceMsg::Stats periodically (default 250
ms) to maintain a load snapshot. Callers send Pick to receive
a DeviceChoice with the selected ActorRef<DeviceMsg>.
Modules§
- sharded
atomr-cluster-shardingadapter forsuper::PlacementActor.
Structs§
- Device
Choice - Least
Loaded Policy - Least-loaded by
queue_depth + active_streamsheuristic. Filters out devices belowmin_free_bytes/min_compute_cap. - Placement
Actor - Placement
Hints - Round
Robin Policy - Round-robin policy. Ignores
hints.