[grpc-io] Re: server side streaming

2019-04-05 Thread 'Srini Polavarapu' via grpc.io
Your understanding is correct. You may want to consider using streaming instead of repeated field if the aggregate response size is very large which can cause out-of-memory or flow control issues in your application. Using unary for large repeated response has no big benefits over streaming.

[grpc-io] Re: server side streaming

2019-04-05 Thread chirag shah
I think I found some clarification which is like... In general, if your use case would allow the client to process the incoming messages one at a time, the stream is the better choice. If your client will just be blocking until all of the messages arrive and then processing them in aggregate,

[grpc-io] server side streaming

2019-04-05 Thread chirag shah
Hello , In gRPC we have 4 typical ways of client-server communication. Let’s pick server-streaming. As we know Server streaming meaning a single client request triggers multiple response from the server. I wanted to zoom into this line. Let’s say following is one such method in the