hyperium / tonic

A native gRPC client & server implementation with async/await support.
https://docs.rs/tonic
MIT License
9.69k stars 990 forks source link

xDS Load Balancing Support #479

Open Daniel-B-Smith opened 3 years ago

Daniel-B-Smith commented 3 years ago

Feature Request

It would be great to see an implementation of gRPC RFC A27.

Motivation

Load balancing / consistency with official gRPC clients.

This is a non-trivial undertaking and not something we need right now. I'm filling this for tracking / in case someone else wants to take up the undertaking. If/when we get to the point of needing xDS support, we'll have to decide between adding it to Tonic (which would be nice since Tonic is much nicer to work with) or using grpcio (assuming we/they upgrade to gRPC C 1.30+).

iamazy commented 3 years ago

Waiting for this feature and the other xDS features support

olix0r commented 3 years ago

This should probably be implemented outside of tonic. Tonic has a simple api to consume balancer updates (via tower-balance). An implementation of tower-discover for SDS would satisfy this.

lacasaprivata2 commented 2 years ago

https://www.youtube.com/watch?v=cGJXkZ7jiDk

LucioFranco commented 1 year ago

This should probably be implemented outside of tonic. Tonic has a simple api to consume balancer updates (via tower-balance). An implementation of tower-discover for SDS would satisfy this.

Going to second this, likely will want to implement this outside of tonic as tonic will be pushing for stabilizing the core rather than working on extra features at the moment.

bcmyers commented 4 months ago

This is exciting news! https://groups.google.com/g/grpc-io/c/ExbWWLaGHjI/m/TJssglLiBgAJ