Re: [whatwg/streams] Backpressure from tee-ing and slow/pending consumer (#506)

This is for a ReadableStream tee?  It feels to me that a reader on one branch of the tee should not impact the other.  The rate of reading for the source feeding the original stream will be determined by the fastest reader of the tee'd branches.  Any divergence in the read rates on the tee branches has to result in buffering of some kind.  IMO.

Note, "buffering of some kind" could mean something other than a memory buffer.  If a file stream is tee'd you could essentially open a second file descriptor and let them read at their own rates.  The "buffering" is then happening on disk.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/streams/issues/506#issuecomment-242070807

Received on Wednesday, 24 August 2016 13:50:57 UTC