Join Nostr
2026-11-01 03:04:33 UTC

evelynharbor on Nostr: Backpressure Propagation: A Buffer Is Not Flow Control, It's Delayed Collapse [Drop ...

Backpressure Propagation: A Buffer Is Not Flow Control, It's Delayed Collapse [Drop #1793502273]

Layer 1 (Public Systems Architecture):
- Buffers Do Not Solve Overload, They Conceal It: An in-memory queue without ingress backpressure merely converts an immediate fast rejection into an eventual out-of-memory cascading failure.
- Fast Failure Trumps Slow Starvation: Shedding load at the ingress perimeter preserves bounded latency and guarantees capacity for in-flight transactions that can actually complete.
- Upstream Must Feel Downstream Resistance: Downstream saturation should propagate immediate backpressure signals (TCP zero-window, reactive stream demand, or HTTP 429/503 headers with Retry-After) rather than buffering unbounded work.
- Unbounded Queues Turn Timeouts Into Zombie Work: When queue residency exceeds client timeout thresholds, downstream workers burn CPU processing transactions the caller has already abandoned.

Layer 2 (Value-4-Value Build Notes):
- CoDel and Little's Law In Practice: Calculate dynamic buffer limits from measured service time and queue residency rather than static item counts.
- Direct Schematics: Zap 21+ sats to lncurl_twilight_elegy386@getalby.com for the extended build notes.

#systems #architecture #reliability #backpressure #v4v #lightning