When multiple clients concurrently make the same call to a GRPC server, does the server answer these calls asynchronously? In case I want the server to handle the calls synchronously should I use some sort of locking like AsyncSemaphore
? Using this pattern, how long can I "hold" an ongoing call (e.g. two clients make the same call at the same time, one blocks until the call of the first client has been answered) until GRPC cancels it or the client drops the connection? Does GRPC have critical timeouts in this regard?
1
votes
Did you implement the GRPC server? Is it someone else's code? What language / platform is it running on?
– mjwills
It's my code, the language is C#
– user1549233
What happened when you tried it? Did it answer them asychronously?
– mjwills
I'd like to avoid the try and guess approach. I guess the server handles the calls concurrently. However, this doesn't answer my question regarding timeouts.
– user1549233