Hello,

I am looking into gRPC in async mode to see if it is suitable for the 
application that I am working on.
I have difficulties to understand how does it really work with regards to 
greeter_async_server, and I have following questions:

1. It seems for the provided example greeter_async_server, the framework 
starts 3 additional threads. Does gRPC in async mode starts its own threads 
to handle io? Can the number of threads be controlled and what they are 
used for?

2. The incoming messages are received by calling next on cq in HandleRpcs 
and then being handled by calling proceed on already existing object of 
calldata. My question how calldata object is being deleted its state 
machine requires 3 calls for it to being deleted, but it is just invoked 
twice by constructor and directly calling proceed. Is it deleted by the 
framework?

Many thanks in advance.

Best// Maysam

-- 
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 post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/grpc-io.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/d6d20ace-def6-49c9-b180-71a77d841af2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to