async_grpc icon indicating copy to clipboard operation
async_grpc copied to clipboard

grpc async server threading models

Open yiakwy opened this issue 6 years ago • 1 comments

Hi, I am glad to see your solution for aysnc grpc server to handle multiple services methods with an acceptable threading model. I am writing gprc pubsub services and try to provide a threading model for the async grpc server and clients with multiple services methods.

I try to figure it out from your source code and it is hard because you override almost grpc c++ api codes and it is not easy to see what you have done on top of grpc c++ code base. Could you tell me how this be handled in aysnc_grpc? @cschuet

yiakwy avatar Feb 20 '19 04:02 yiakwy

Hi @cschuet I found that your solution are very similar to existing grpc solutions: https://github.com/grpc/grpc/blob/master/src/cpp/server/load_reporter/load_reporter_async_service_impl.h

I also invite you to participate in the disscussion of grpc async server threading models: https://groups.google.com/forum/#!topic/grpc-io/CC73-Dr4Ilc https://github.com/grpc/grpc/issues/18055

yiakwy avatar Feb 21 '19 09:02 yiakwy