Class RoundRobinStrategy

Assembly: redb.Route.dll

Round-robin load balancer strategy.
Cycles through endpoints evenly using a lock-free rotating index.

public sealed class RoundRobinStrategy : ILoadBalancerStrategy

Inheritance

Object→RoundRobinStrategy

Implements

Methods

Select(IExchange, IReadOnlyList<string>)

Selects the next target URI based on strategy logic.

public string Select(IExchange exchange, IReadOnlyList<string> endpoints)