3 ms·
The buffer size handling of stream is is handling in nodejs using a mechanism called backpressuring. https://en.m.wikipedia.org/wiki/Backpressure_routing https
by mmis1000 7y ago
The buffer size handling of stream is is handling in nodejs using a mechanism called backpressuring.
https://en.m.wikipedia.org/wiki/Backpressure_routing https://en.m.wikipedia.org/wiki/Backpressure_routing
And nodejs's site even has a article for it.
https://nodejs.org/es/docs/guides/backpressuring-in-streams/ https://nodejs.org/es/docs/guides/backpressuring-in-streams/
However, even the nodejs runtime itself already provide mechanism to let you handle backpressuring easily. Most people still don't do and make their program crash when streaming target is stuck for whatever reason.