Backpressure for WebSockets |
|||||||
Issue descriptionChromium's WebSocket implementation supports backpressure, but this is not exposed to the Javascript API. What this means in practice is that backpressure will only be applied at or close to 100% utilisation, which is too late to ensure a smooth user experience. This is a placeholder for the issue.
,
May 7 2018
Some ideas that have been discussed for outgoing messages: * An onbufferempty event which fires when bufferedAmount transitions from non-zero to zero. * send(ReadableStream) * WebSocket exposes a writable stream. write() on the stream is equivalent to calling send(), except backpressure signals are available. * As above, plus write(ReadableStream) permits arbitrarily large messages to be sent.
,
Nov 28
,
Nov 28
,
Nov 28
,
Nov 29
Can you tell me the reason of the priority change?
,
Dec 6
hey kenji, can you help triage and assign an estimated milestone?
,
Dec 7
Plan for now to Q1: exploration. We'll assign Milestone and Priority based on what we learn.
,
Dec 13
sam for investigation. |
|||||||
►
Sign in to add a comment |
|||||||
Comment 1 by ricea@chromium.org
, May 7 2018Components: Blink>Network>WebSockets