Hello! I have a situation where the server sets H/2 max concurrent streams intentionally low (e.g. 16 or 32) for good reason (that are somewhat orthogonal to gRPC so I will skip the details) The behavior I seem to be observing is that Java gRPC client stalls when it hits that limit and waits for streams to free up before issuing more requests. Is this the expected behavior?
I was hoping for a knob that allows me to instruct gRPC to dial additional H/2 connections when it hits the limit. Turns out the .Net implementation has something exactly like that https://docs.microsoft.com/en-us/aspnet/core/grpc/performance?view=aspnetcore-5.0#connection-concurrency Does Java gRPC stack have an equivalent? It would be pretty useful in seamlessly handling service to service communication where server can support a higher gRCP req/sec but only if the client were to dial more H/2 connections. I say "seamlessly" because of course we can write code to somehow dial more subchannels to server but we want the client to do this automatically without programmer picking hardcoded connection count. Thanks in advance! Gaurav -- You received this message because you are subscribed to the Google Groups "grpc.io" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/a687afdc-6c52-449f-85ab-5c9d83543f08n%40googlegroups.com.
