herd v0.4.2 Herd.Router behaviour View Source
Manages load balancing between nodes in the cluster, for example through a hash ring
Link to this section Summary
Callbacks
Add nodes to the router
Gets a node from the router using the given key
Gets nodes mapped by the given keys
Initialize a new load router
Return all nodes in the router
Remove nodes from the router
Link to this section Types
Link to this section Callbacks
Add nodes to the router
Gets a node from the router using the given key
Gets nodes mapped by the given keys
Initialize a new load router
Return all nodes in the router
Remove nodes from the router