You should not need to manage your own threads for basic callback usage,
that’s one of the callback API’s design goals (
https://github.com/grpc/proposal/blob/master/L67-cpp-callback-api.md#proposal
).
Take a look at the route_guide example here:
https://github.com/grpc/grpc/blob/v1.41.x/exam
Hi,
If using the callback API, you wouldn't need to create a separate thread
for each RPC. The callbacks in the reactor would be automatically invoked
by the threads managed by the gRPC library. That being said, if the reactor
is going to be blocking for a substantial amount of time, you would