There's a property called SocketsHttpHandler.EnableMultipleHttp2Connections
in ASP.NET
's grpc library which enables a channel to create additional http/2 connections when the concurrent stream limit is reached. Is there anything available in Go which could help me achieve the same?
In grpc-go library's documentation, there's no details of how to create grpc channels also.
Asked
Active
Viewed 780 times
0

Jonathan Hall
- 75,165
- 16
- 143
- 189
-
https://stackoverflow.com/tour,I recommend taking the tour, as well as reading how to ask a good question and what's on topic. – yusuf hayırsever Feb 25 '21 at 06:55
1 Answers
0
There's no existing API in gRPC-Go for the same functionality. The closest you can do is to make a resolver or balancer to create multiple connections. But it won't know about the stream limit.
Documentations and examples are available in the repo:

menghanl
- 751
- 6
- 7