Hacker News new | ask | show | jobs
by delamon 99 days ago
> There can be overload, but the backpressure should propagate downstream and senders and intermediaries should buffer locally if needed.

You're only delaying the inevitable. Even with local buffering, you can arrive at a point where you can buffer no more and have either to choke the production workload or start dropping messages.

1 comments

I wouldn't call that "inevitable." Buffering exists for a reason--to buy you a bit of safety for short-lived busy periods (or, in the case of queues, delayed or temporarily failed consumers). It also amortizes the cost of I/O. Buffering isn't just for logging; it's all over the networking and I/O stacks.