Hi 

I'm new to grpc (love it so far!) and have a helloworld bidirectional 
streaming example working in C++. I made this by going through the 
helloworld and route_guide examples and combining the two so I can stream 
HelloRequest and HelloResponse messages back and forth between the C++ 
client and C++ server in any order I choose.

*My question is:* is there such a thing as 'async bidirectional streaming'? 

My understanding of async in the single non-streaming case is that it 
allows the program to do something else and not block while waiting for the 
response to the rpc. In the bidirectional streaming case I believe I can 
send something from the client to the server, do something else, send 
something else, etc... and so achieve the same non-blocking feature. 

*Do I gain anything by implementing the completion queue in bidirectional 
streaming case, or is it only useful for the non-streaming variants??* i.e. 
have I got already got the most general/flexible option already working, or 
would using a completion queue in my bidirectional streaming code give me 
any extra features/advantages/possibilities?


Thanks very much in advance!

Mike

-- 
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/22291d11-ac42-400c-94db-0f59068fb5d7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to