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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
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
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to grpc.io, song...@hotmail.com
I am using c++. Thanks!
Carl Mastrangelo於 2017年1月23日星期一 UTC-8上午10時32分23秒寫道: