Documentation
¶
Overview ¶
Package ringhash implements the ringhash balancer.
Index ¶
Constants ¶
View Source
const Name = "ring_hash_experimental"
Name is the name of the ring_hash balancer.
Variables ¶
This section is empty.
Functions ¶
func SetXDSRequestHash ¶ added in v1.72.0
SetXDSRequestHash adds the request hash to the context for use in Ring Hash Load Balancing using xDS route hash_policy.
Types ¶
type LBConfig ¶ added in v1.41.0
type LBConfig struct { serviceconfig.LoadBalancingConfig `json:"-"` MinRingSize uint64 `json:"minRingSize,omitempty"` MaxRingSize uint64 `json:"maxRingSize,omitempty"` RequestHashHeader string `json:"requestHashHeader,omitempty"` }
LBConfig is the balancer config for ring_hash balancer.
Click to show internal directories.
Click to hide internal directories.