algo.HashingLoadBalancer
Description
Load-balancer using consistent hashing.
Constructor
new algo.HashingLoadBalancer(targets, unhealthy?)
Creates an instance of HashingLoadBalancer.
Methods
add(target)
Adds a target.
next(borrower?, tag?, unhealthy?)
Allocates an resource item for the next selected target.