Backpressure is what happens when data is produced faster than it can be consumed. In streams, if a fast readable source pushes data into a slow writable destination, the unconsumed data buffers in memory — and without handling, that buffer grows until memory is exhausted. Backpressure is the mechanism (and discipline) for keeping producer and consumer in balance.
The problem
Fast source ──(1 GB/s)──▶ Slow destination (10 MB/s write speed)
▲
The 990 MB/s difference piles up in a memory buffer → OOM crash
Example: reading a huge file fast and writing it to a slow network socket or disk — if you don't respect the destination's pace, memory balloons.
