Random weighted
ShippedWeighted random pick — simple probabilistic distribution by weight.
Example
How Random weighted decides — the pool is evaluated and the winner is assigned. Each strategy selects differently.
▸ Show the code
// Random weighted selects from the pool and assigns.engine.Route(ductor.Route{ Match: `routable.type == "lead"`, Strategy: "random_weighted", Pool: "sales-team",}) // Durable, observable, exactly-once.decision, err := engine.Dispatch(ctx, routable)How it works
Selects a recipient at random, biased by weight. The cheapest stateless way to spread load when exact fairness isn't required.
Weighted