-
Notifications
You must be signed in to change notification settings - Fork 10.9k
Closed
Labels
disposition/help wantedMaintainers do not have enough resources to allocate to this at the moment. Help is appreciated!Maintainers do not have enough resources to allocate to this at the moment. Help is appreciated!kind/enhancementlang/corepriority/P2
Description
It is currently not possible to use the ring_hash
balancer without xDS. As far as I can tell (from the Go code and the A42 gRFC), there is no strong ties between xDS and the ring_hash
balancer: the only missing piece to use it directly via service config is that there is no public interface to set the hash code in the request context (or equivalent, e.g. CallConfig
in c-core and CallOption
in Java).
So the main thing to define would be the interface to set the hash on a per-request basis, across language. That may warrant another gRFC.
The alternative for gRPC users that want to use consistent hashing is to either build an xDS infrastructure, or copy paste the ring_hash
balancer code just to expose a way to set the hash, which is not ideal.
Metadata
Metadata
Assignees
Labels
disposition/help wantedMaintainers do not have enough resources to allocate to this at the moment. Help is appreciated!Maintainers do not have enough resources to allocate to this at the moment. Help is appreciated!kind/enhancementlang/corepriority/P2