Skip to content

Instantly share code, notes, and snippets.

View srikanthccv's full-sized avatar
🔪

Srikanth Chekuri srikanthccv

🔪
View GitHub Profile
@srikanthccv
srikanthccv / grpc-load-balancing.md
Created November 4, 2022 09:21 — forked from rponte/grpc-load-balancing.md
gRPC Load Balancing may not be that easy

Why gRPC load balancing is so tricky?

At a high-level, we need to understand two points:

  • gRPC is built on HTTP/2, and HTTP/2 is designed to have a single long-lived TCP connection (a sticky and persistent connection);
  • To do gRPC load balancing, we need to shift from connection balancing to request balancing;

Some interesting articles about this subject