What is backpressure in Streams?
Backpressure happens when data is produced faster than it can be consumed downstream.
In Node.js streams, it's a built-in mechanism to:
- Pause the readable stream when the writable stream is overwhelmed.
- Prevent memory overload and crashes.
This flow control allows producers and consumers to work in sync.