vinay Nayak
unread,May 3, 2023, 10:55:18 AM5/3/23Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io
Hi ,
In GRPC Asynchronous Streaming , it is mentioned that we cannot do back to back write() on the same RPC Call and we can do next Write() only after getting back tag from completion queue.
Suppose if an application is multi threaded and if any given thread can do Write(), and we have to maintain a queue where all application threads adds messages into it and proceed with execution of next instructions and grpc[client/server] thread reads from it each time a tag is received from Completion queue and sends to peer service. This way, it adds latency in the communication of messages between services. Is this expected behavior ?
Is there any better way of doing it ?