Scaling gRPC Applications via Custom Load Balancing

Learn how to scale a gRPC application via a custom load balancer.

By relying on a DNS load balancer or something similar, the .NET implementation of gRPC clients allows us to add our custom load balancer with any arbitrary logic. We can apply this to the resolver that pulls the list of the endpoints to connect to. However, we can also create classes with our load balancing logic.

In this lesson, we'll look at how this is done by applying the changes to the following setup, which contains both the gRPC client and server.

Get hands-on with 1400+ tech skills courses.