I too would be interested in a more straightforward example that isn't so tied to the GRPC test framework.
Also it would be helpful to understand the threading implications of a C++ service that mixes sync and async methods. My understanding is that a thread pool is provided for sync services but you have to provide your own threading model to wait on the completion queue for async services. What is the end result when a service mixes async and sync methods? On Monday, October 30, 2017 at 8:01:33 PM UTC-4, [email protected] wrote: > > Are there any standalone examples of doing this for C++ servers? This > issue (https://github.com/grpc/grpc/issues/4285) points to > test/cpp/end2end/hybrid_end2end_test.cc as examples of doing this. > > My use case is a service comprised mostly of unary rpcs, but also > supporting a server streaming rpc where one or more clients can register to > receive future events from the server over a long-running connection. > Was hoping to find an example that isn't as tightly coupled with the GRPC > test framework. > > Thanks in advance! > > Chris > -- 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/30b06af4-7dc3-4c37-9358-a712e907d6c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
