Net Core gRPC Load Balancing

This repository

This repository present examples on how to work with gRPC load balancing.

Best links available online about gRPC load balancing are:

Scenarios covered by this repository are:

  • round robin for gRPC C# client README
  • lookaside load balancing for gRPC C# client README
  • round robin for gRPC dotnet client README
  • lookaside load balancing for gRPC dotnet cient README
  • lookaside load balancing for gRPC dotnet cient with custom dns server (CoreDNS) README
  • lookaside load balancing for gRPC dotnet in asp.net core README
  • sidecar load (static config) balancing for gRPC dotnet README
  • sidecar load (dynamic config) balancing for gRPC dotnet README
  • istio service mesh load balancing for gRPC dotnet README
  • xDS balancing for gRPC dotnet README
  • lookaside load balancing for gRPC Java client README
  • lookaside load balancing for gRPC Go client README
  • lookaside load balancing for gRPC Python client README

Repository also contains simple load balancer for gRPC in K8s written in C#

Getting started

  1. Download repository
  2. Download .Net SDK (in the moment of writing 3.1.101)
  3. Initialize git submodule(s) (see more https://stackoverflow.com/questions/44366417/what-is-the-point-of-git-submodule-init)
  4. Open README.md file for scenario of choice
  5. Setup K8s cluster
  6. Create pods/services/deployments as described in README.md

Sources