> use a more streamable format than JSON
Did you mean we should stream data over WebSocket or use HTTP/2 or do we need to do something different altogether?
Did you mean we should stream data over WebSocket or use HTTP/2 or do we need to do something different altogether?
This is annoying to do with JSON though because you need to remember to close all your brackets, something like CSV is a lot easier because you can just write the header once and then just stream the data.
Edit: Looks like Python supports this using chunked transfer by simply providing the HTTP request data as an iterator.