Re: [whatwg/streams] Proposal: ReadableStream tee() backpressure (Issue #1235)

> If it's true that this is a server-focused problem and doesn't matter for browsers

I would not characterize it like that. It's a problem for any environment where you're going to be teeing a stream and reading a large amount of data faster through one branch than the other. The impact is less acute in browsers since those are generally single user environments with far fewer of these things likely happening in parallel, but the problem would still exist there.

> I am surprised that a simple problem like "change the backpressure semantics" requires such a large and complicated solution

Unfortunately it does. The backpressure signaling in a ReadableStream never appears to have taken tee branching into consideration.

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

Message ID: <whatwg/streams/issues/1235/1163496322@github.com>

Received on Wednesday, 22 June 2022 19:01:36 UTC