What are some suggested techniques for integrating GRPC server-side 
processing (i.e. CompletionQueue.Next) with another library's event model?

For example, can I get e.g. an eventfd on Linux that I can pass to 
epoll/select/etc to know when that a call to cq.Next will not block?

I'm interested in building some applications that will receive data from 
multiple channels, not all GRPC-based.  I'd like to keep processing simple 
and single-threaded as much as possible, so I'd like to run all of the GRPC 
event handlers on the same thread I'm using for my other processing.  I 
could "burn" a thread that sits in a loop calling cq.Next and then passing 
the tags over to my own processing thread, but that seems inelegant.

-- 
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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/1970642d-90f2-469d-ba73-ecd24952c2c8%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to