Skip to main content

Module load_balancer

Module load_balancer 

Source

Structs§

LoadBalanceSegment
Outcome-aware LoadBalance segment. Holds N destinations + a strategy. On each call: strategy picks ONE destination (round-robin / failover / random / weighted), runs it. If chosen destination returns Completed, return Completed. If Stopped: return Stopped immediately (no failover — Stop is successful control flow). If Failed: strategy decides (failover retries next dest, others return Failed).
LoadBalancerService