streaming
Process or forward data incrementally as it arrives.
Use this when A download buffers the entire response before sending any bytes.
without the term
“Exporting a big CSV crashes the server with out of memory because it builds the whole file before sending it. Can you send it to the user bit by bit as it's generated?”
with the term · How do you ask a model for streaming?
Stream this response without buffering the full body. Verify bounded memory, slow-consumer handling, and cancellation.
What is streaming?
Streaming handles data in chunks instead of requiring the complete body in memory first.
Why does streaming matter when vibe coding?
Convenient whole-body helpers can erase streaming behavior and exhaust memory on large inputs.
How do you do streaming?
Keep the path incremental, respect backpressure, and test cancellation and errors after output has begun.
What goes wrong with streaming?
A later transformation reads the whole stream into a string.