Thanks for you recommendations, I will study it
(ServerContext:auth_context, ServerContext::peer) and give replies if they
can help.
Actually, I'm doing a project to optimize grpc with rdma.
Finsh/FinalizeResult are the places to serialize/deserialize message
from/to user to/from grpc
On Monday, November 22, 2021 at 7:09:22 PM UTC-8 meng...@gmail.com wrote:
> I didn't have any hint to locate which connection/fd from this 'tag'. I
> think grpc have some record to pair this 'tag' with connection. And if one
> client send multiple requests, each request has its own 'tag', but
Thanks. I'm learning your thread
https://groups.google.com/g/grpc-io/c/bXMmfah57h4/m/EUg2B8o1AgAJ.
And i think server handle all new connections in 'on_read' function (inside
src/core/lib/iomgr/tcp_server_posix.cc). For each connection, server create
a fd for it (so one connection bind with
On Friday, November 19, 2021 at 3:07:02 PM UTC-8 meng...@gmail.com 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.