On Friday, November 19, 2021 at 3:07:02 PM UTC-8 [email protected] wrote:

> If i use one completion queue in server side to handle all of the
> connections, for each return from cq.AsyncNext, how do i know which
> connection it is.

You will need to augment CallData with these sort of details. You will also
need multiple instances of CallData at once, one per "in flight"
gRPC operation.

In an older thread on a similar topic, "How to implement async gRPC with
more than one method?", [1] I provided an architectural sketch of one way to
make this work. See if that helps.

[1]: https://groups.google.com/g/grpc-io/c/bXMmfah57h4/m/EUg2B8o1AgAJ

--
Christopher Warrington
Microsoft Corp.

-- 
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/0cf04180-0afe-4b4d-825f-149b51cd8a6fn%40googlegroups.com.

Reply via email to