📥Backpressure
Also known as Back Pressure, Flow Control (Streaming)
A slow reader asks a fast writer to slow down. Then no data is lost.
Think of it like
It is like asking a friend to slow down while you pass bricks. Your hands are full.
Example
A shop sends 1,000 events a second, but the step that writes to the warehouse takes 400. Backpressure slows the reads from the stream until it catches up.
Why it matters
Every pipeline has a slowest step. Backpressure keeps one slow step from crashing the whole thing.
Definition
Common mistake
Key takeaways
- 1Slowest step. The reader sets the pace.
- 2A signal back. Slow down travels upstream.
- 3Not a cure. A lasting gap needs more readers.