What is server-side streaming in gRPC and in what use cases would you use it?
Last updated
Server-side streaming is an RPC where the client sends one request and the server responds with a stream of many messages over the same call, keeping the stream open until the server finishes.
Shape: Declared as
returns (stream T); one request in, N responses out, then a single closing status.Client behavior: The client iterates/reads messages as they arrive rather than waiting for one big response.
Use cases:
Live feeds and subscriptions: price ticks, notifications, log tailing.
Large result sets streamed as chunks so the client processes incrementally without buffering everything.
Progress updates for a long-running server task.
Benefit: Lower time-to-first-byte and bounded memory versus assembling a huge single response.
- https://www.vskills.in/interview-questions/grpc-interview-questions
- https://www.youtube.com/watch?v=2w7aBrtoqAg
- https://techwasti.com/25-grpc-interview-questions-and-answers-for-developers
- https://www.secondtalent.com/interview-guide/grpc-developers/
- https://interviewprep.org/grpc-interview-questions/
- https://medium.com/system-design-interviews-simplified/system-design-mock-interview-rest-graphql-and-grpc-7a5a3964977c
- https://www.remoterocketship.com/advice/10-grpc-interview-questions-and-answers-in-2023/
- https://medium.com/coding-odyssey/grpc-with-spring-boot-deep-dive-with-interview-questions-48aa83be0ec6
- https://articles.shadecoder.com/grpc-vs-rest-interview-comparison-for-2026
- https://www.scribd.com/document/988441763/19-REST-GraphQL-GRPC-API-Design-Contract-Strategy-Interview-Questions-Master
- https://www.youtube.com/watch?v=5YqAXWz6Fpc
- https://oneuptime.com/blog/post/2026-01-08-grpc-deadlines-timeouts/view