I'm learning gRPC and when I was checking asynchronous servers, I noticed 
that a call for obtaining gRPC requests like:

"service_->RequestSayHello(&ctx_, &request_, &responder_, new_call_cq_, 
notification_cq_, this);"

takes 2 completion queues as input. From their name, it seems that they are 
for finding getting new calls and for notifications separately. I have seen 
that same queue is used as for both, but is there any benefit for using 2 
different queues for each one?

In addition, what factors are important for selecting number of completion 
queues? Should I select 1 per service or 1 per rpc call? or use other 
factors such as selecting 1 for a highly accessed service?

-- 
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/3d730524-7940-4bd1-97d9-101132a43094%40googlegroups.com.

Reply via email to