I am trying to write a streaming server as part of implementing a gRPC 
dial-out collector for Cisco's model-driven telemetry 
(https://github.com/cisco/bigmuddy-network-telemetry-proto/blob/master/proto_archive/mdt_grpc_dialout/mdt_grpc_dialout.proto).

Is there a way to create the gRPC server with C++ that does not require 
blocking?  The basic synchronous examples all require blocking, which will 
not work, so I have been looking at the various asynchronous examples.  I 
haven't been able to get those to work but I'm not sure I'm doing it 
correctly.

It seems like I would want to in some way use the CompletionQueues to hold 
messages that come in and process them when I can.  Is there a reason I 
would want to use Next() versus AsyncNext() (it seems the former blocks and 
the latter does not but I'm not sure)?  How does the combination of 
RegisterService() and AddCompletionQueue() work?

Thanks,
Todd

-- 
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 grpc-io+unsubscr...@googlegroups.com.
To post to this group, send email to grpc-io@googlegroups.com.
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/6ec43779-ec32-4105-9a45-1d60b7f3ebdd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to