weightedroundrobin
v1.85.0
google.golang.org/grpc/balancer/weightedroundrobin
Documentation
pkg.go.dev ↗Package weightedroundrobin provides an implementation of the weighted round robin LB policy, as defined in gRFC A58.
Experimental
Notice: This package is EXPERIMENTAL and may be changed or removed in a later release.
Constants
Name
const Name = "weighted_round_robin"
Name is the name of the weighted round robin balancer.
Functions
SetBackendService
func SetBackendService(state resolver.State, backendService string) resolver.State
SetBackendService stores the backendService on the resolver state so that it can be used later as a label in wrr metrics.