flow control
Limiting how much data a sender may send before the receiver says it has room for more, so a fast sender cannot overwhelm a slow receiver.
In more detail
TCP does it per connection; HTTP/2 does it again per stream and per connection with window updates. It is a form of backpressure built into the protocol.
Related terms
- HTTP/2 — A version of HTTP that sends the same methods, statuses and headers in a binary format and runs many requests at once over one connection.
- backpressure — A slow consumer signalling a fast producer to pause, so data does not pile up in memory faster than it can be handled.
- TCP — The internet protocol that delivers data between programs reliably and in order, used by the web and most databases.
Taught in
- Native HTTP/2 Protocols: Multiplexed Streams & Push — Node.js Internals & Backend Services