grpc icon indicating copy to clipboard operation
grpc copied to clipboard

Add support for load balancing

Open polvalente opened this issue 3 years ago • 3 comments

The gRPC.io blog has a great post regarding load balancing.

Since some use cases for gRPC don't have an explicit proxy between services, we should investigate how to implement it from the client side.

Another reference on the suggested architecture from the gRPC github repo: https://github.com/grpc/grpc/blob/master/doc/load-balancing.md

polvalente avatar Aug 01 '22 01:08 polvalente

One way of doing load balancing as mentioned on the linked document is using xDS, however, xDS has other features that might be useful as well but requires a lot more work. It might be a good idea to scope this issue to limit this issue to pick_first and round_robin load balancing (grpclb is deprecated), and have a separate issue for xDS features.

hkrutzer avatar Aug 02 '22 10:08 hkrutzer

One way of doing load balancing as mentioned on the linked document is using xDS, however, xDS has other features that might be useful as well but requires a lot more work. It might be a good idea to scope this issue to limit this issue to pick_first and round_robin load balancing (grpclb is deprecated), and have a separate issue for xDS features.

Agreed, those two seem like a good place to start

polvalente avatar Aug 02 '22 15:08 polvalente