package weightedroundrobin
import "google.golang.org/grpc/balancer/weightedroundrobin"
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.
Index ¶
Constants ¶
const Name = "weighted_round_robin"
Name is the name of the weighted round robin balancer.
Functions ¶
func SetBackendService ¶
SetBackendService stores the backendService on the resolver state so that it can be used later as a label in wrr metrics.
Source Files ¶
balancer.go config.go logging.go scheduler.go
Directories ¶
| Path | Synopsis |
|---|---|
| balancer/weightedroundrobin/internal | Package internal allows for easier testing of the weightedroundrobin package. |
- Version
- v1.80.0-dev
- Published
- Jan 21, 2026
- Platform
- js/wasm
- Imports
- 23 packages
- Last checked
- 22 minutes ago –
Tools for package owners.