Re: [fetch] Setting strategy to control ReadableStream's internal buffer (#257)

Right. I think BYOB reader can be used to give you more direct control over JS memory allocation, but it won't necessarily control UA and OS memory allocation.

I am sympathetic to the idea of being able to provide fetch with some kind of high water mark, but I'm not sure it's very implementable in practice given all the behind-the-scenes work going on. Maybe it would be useful, not as much for controlling memory allocation, but for hinting cases when you know that backpressure should not be applied too quickly (and you're willing to sacrifice memory for this). But that's a pretty rare use case.

---
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/fetch/issues/257#issuecomment-199989114

Received on Tuesday, 22 March 2016 19:54:31 UTC