W3C home > Mailing lists > Public > public-webrtc-logs@w3.org > January 2019

Re: [webrtc-pc] (How) does SCTP handle CPU-bound congestion on JavaScript thread? (#2086)

From: Bernard Aboba via GitHub <sysbot+gh@w3.org>
Date: Fri, 25 Jan 2019 14:48:14 +0000
To: public-webrtc-logs@w3.org
Message-ID: <issue_comment.created-457595771-1548427693-sysbot+gh@w3.org>
This is a design problem with the eventing model of WebSockets/RTCDataChannel.  A better approach (if events were used at all) would have been to event the availability of data, then let the application retrieve the data all at once, as a sequence of messages.  That way the buildup of received (and unprocessed) data would apply backpressure.  Plus the transfer of data could avoid copies. 

GitHub Notification of comment by aboba
Please view or discuss this issue at https://github.com/w3c/webrtc-pc/issues/2086#issuecomment-457595771 using your GitHub account
Received on Friday, 25 January 2019 14:48:16 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 19:22:10 UTC