0

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.

Jonathan Hall
  • 75,165
  • 16
  • 143
  • 189

1 Answers1

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