Skip to content

Why it matters

Without buffers, every fast producer would block on slow consumers, and every burst of traffic would become a lost packet.

Buffers convert backpressure into latency. If a producer is faster than a consumer, either the producer waits (blocking) or the excess is stored (buffering). Buffers prefer latency: the data waits, not the producer. That trade-off is what makes networks and IO work at heterogeneous speeds.