Need help to build a bidirectional streaming server

59 views
Skip to first unread message

song...@hotmail.com

unread,
Jan 23, 2017, 12:05:00 AM1/23/17
to grpc.io
Hello,

I am trying to build a gRPC server that does bidirectional streaming with its clients. Can I have a single (server) thread that handles multiple concurrent client requests, like select() or poll()? I feel async service plus completion queue might be the solution. Is there any sample code for this? Look forward to your reply. Thank you!

Carl Mastrangelo

unread,
Jan 23, 2017, 1:32:23 PM1/23/17
to grpc.io, song...@hotmail.com
Yes, gRPC is designed for this use case.  What language are you using?

song...@hotmail.com

unread,
Jan 23, 2017, 1:36:42 PM1/23/17
to grpc.io, song...@hotmail.com
I am using c++. Thanks!

Carl Mastrangelo於 2017年1月23日星期一 UTC-8上午10時32分23秒寫道:
Reply all
Reply to author
Forward
0 new messages