streaming

Sending a response in pieces as they become available instead of building the whole thing first.

In more detail

Streaming lowers peak memory and lets the client start early, but it does not reduce total work. The client needs a framing rule to know where each record ends, and the contract must say what a broken connection means for a partial result.

Example

In the browser: Streaming lowers the time until the first useful output and keeps memory use flat, because no one needs to hold the whole payload at once.

Related terms

Taught in

References

Certification courses