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.
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,
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