what is use case for streaming rpc?

41 views
Skip to first unread message

Robert Qiu

unread,
Aug 18, 2019, 10:45:31 PM8/18/19
to grpc.io
Hi There, 

I am pretty interested in "Server Streaming RPC", "Client Streaming RPC" as well as "Bidirectional RPC" which is clearly depicted in the link itemized below:



I wonder what the use cases are for "Server Streaming RPC", "Client Streaming RPC" as well as "Bidirectional RPC"?    Streaming video service, like Google youtube, Netflix?


Best,
Robert Qiuxin

Juanli Shen

unread,
Aug 21, 2019, 1:36:07 PM8/21/19
to grpc.io
A real life example of using streaming RPC is load reporting: https://github.com/grpc/grpc/tree/master/src/cpp/server/load_reporter

In that case, the server may send multiple updates about load reporting config, and the client can send multiple reports periodically. 

But streaming RPCs are not intended to use for streaming video services though. I think such streaming support is covered in a different area.
Reply all
Reply to author
Forward
0 new messages