Closed brunczelandras closed 6 months ago
Is this a known limitation or what is the state of this issue? Are concurrent requests by GRPC not supported?
Hi :)
Hi! Thanks for reporting this issue!
Although, .NET server is not developed as part of this project.
Maybe https://github.com/grpc/grpc-dotnet would be a more appropriate place for this report?
@sampajano Hi, There's no performance degradation if I use grpc client without GrpcWebHandler so I don't think that the grpc-dotnet project should handle this issue.
@brunczelandras Ah. Understand your concern..
Although, the server implementations / performance are outside of the concern of this repo, as this repo hosts only the Javascript client.
The official solution we support is Envoy + gRPC server, and hence .NET is out of the scope.
I think you would have better luck reporting the issue where the server code is developed. :)
Closing for now. Feel free to reopen if you still have questions :)
I am using GrpcWebHandler to make my .Net Framework client working. I am using Win10. Throughput of the client requests is decreasing significantly when the client sends the requests in multiple threads at the same time. After some investigation I see that sporadically there is around 1 second timeframe when there are no requests sent or responses received at all. Rest of the time the requests are processed in few milliseconds. If the client sends e.g. 10 requests in parallel then it happens 1 or 2 times. If the client sends the requests sequentially then everything is fine. I am using version 2.51.0.
Proto file
Client (.Net Framework)
GrpcClientFactory.cs
Service (.Net 6)
MyServiceStartup.cs
MyServiceImpl.cs
Output