This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix InstantiatingGrpcChannelProvider's channel pool to play nicely wi…
…th DirectPath (#798) * Fix InstantiatingGrpcChannelProvider's channel pool to play nicely with DirectPath By default grpclb strategy for DirectPath is to create a subchannel for every address resolved by the grpclb and round robin over them. Unfortunately this doesn't work well when Channel pooling is enable in the InstantiatingGrpcChannelProvider, which will create multiple ManagedChannels, each containing a bunch of subchannels. Since channel pooling is needed to have good performance targeting CFEs, the solution here is to force each ManagedChannel to pick a single subchannel. Thus preserving the CFE behavior of a single ManagedChannel only containing a single subchannel. * Always use pick_first even if poolSize = 1 * split up service config * reformat service config * added a ref for the service config proto
- Loading branch information