Skip to content

Platform: Add support for streaming queries

Problem to solve

The gRPC service is expected to handle large datasets as gracefully as possible. Of course, low-performance or high-cost queries should be optimised, but we should also limit their impact. One solution is to support server-side streaming of query responses.

Protobuf prescribes certain limits which we should use to swap between unary and streaming requests.

Edited by Robert Hunt