Documentation ¶
There is no documentation for this package.
Directories ¶
Path | Synopsis |
---|---|
registry/balancer/p2c
Package p2c helps you to to select two nodes randomly from all available nodes and then select a less loaded node based on the load of these two nodes (in other words - "Power of Two").
|
Package p2c helps you to to select two nodes randomly from all available nodes and then select a less loaded node based on the load of these two nodes (in other words - "Power of Two"). |
registry/node/ewma
Package ewma (Exponentially-Weighted Moving Average) maintain a moving average of each replica’s round-trip time, weighted by the number of outstanding requests, and distribute traffic to replicas where that cost function is smallest.
|
Package ewma (Exponentially-Weighted Moving Average) maintain a moving average of each replica’s round-trip time, weighted by the number of outstanding requests, and distribute traffic to replicas where that cost function is smallest. |
internal
|
|
pkg
|
|
subset/internal/consistent
Package consistent provides a consistent hashing function.
|
Package consistent provides a consistent hashing function. |
werror
Package werror provides a way to return detailed information for an RPC request error.
|
Package werror provides a way to return detailed information for an RPC request error. |
Click to show internal directories.
Click to hide internal directories.