What's the easiest way of making a gRPC server that can run single-threaded 
in cooperation with other file-descriptor based operations? What I plan is 
a single threaded server that waits on available data on any number of file 
descriptors via select(), one of the file descriptors corresponding to the 
socket that I'm serving gRPC requests on.

I looked at the async hello world sample, but am unsure as to whether or 
not I can just call the HandleRpcs() member function whenever my select() 

I'm assuming (and thus looking for confirmation :-)) that this would also 
work with stream messages on the server? (I.e., more data is available, the 
select() pops, I call HandleRpcs() to dispose of the additional data, and 
everything is right with the world?)

Thanks in advance!


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 
For more options, visit https://groups.google.com/d/optout.

Reply via email to