Off topic: a guaranteed way to start a flame war in an automotive forum is to state that there is no such thing as "backpressure" and that fluid dynamics and the continuity equation fully explain why restricting exhaust pipe diameter results in increased performance.
I have often found limiting the buffer size as a simple way to communicate back to producers that more work can't be taken. Then what happens is all a producer strategy to drop work or wait for a period of time then drop or just hold onto the work until the buffer has a clear space. Its about the simplest message from consumer to producer you can do and how games tend to do backpressure and how Go channels work.
5 comments
[ 2.4 ms ] story [ 22.2 ms ] threadLight the fire and then sit back and enjoy.
Thanks for posting, I'm glad you found this interesting.
Would be glad to know any feedback or requests you have, to improve further.
In the same vein, on the consumer side we talk of admission control (which is just another name for "drop incoming messages") and throttling...