Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
anderspitman
· 6y ago · 0 comments
I think it's more likely I've just been too deep in JS-land. Does KJ send() do any internal buffering, or wait for the OS to tell it to send more?
Comments
[–]
decentralised
6y ago
I've been looking into streams in detail recently because I'm preparing for the OpenJSF exam... maybe this is relevant to you too:
https://nodejs.org/es/docs/guides/backpressuring-in-streams/
[–]
anderspitman
OP
6y ago
Thanks for the link. I'm actually quite familiar with that article. It's been very useful for me when designing omnistreams. You may find some of the links on the bottom of this page useful:
https://github.com/omnistreams/omnistreams-spec
[–]
kentonv
6y ago
It waits for the OS.