algo.RoundRobinLoadBalancer
Description
Load-balancer that rotates targets by round-robin algorithm.
Constructor
new algo.RoundRobinLoadBalancer(targets, unhealthy?)
Creates an instance of RoundRobinLoadBalancer.
Methods
next(borrower?, tag?, unhealthy?)
Allocates an resource item for the next selected target.
set(target, weight)
Sets weight of a target.