Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Transport: Frame/stream transport and transferrable streams #3

Open
aboba opened this issue Oct 13, 2022 · 0 comments
Open

Transport: Frame/stream transport and transferrable streams #3

aboba opened this issue Oct 13, 2022 · 0 comments

Comments

@aboba
Copy link
Collaborator

aboba commented Oct 13, 2022

frame/stream transport has become a popular transport mode for WebTransport, since it eliminates head-of-line blocking, simplifies framing and makes it possible to implement partial reliability.

WebTransport supports transfer of unidirectional streams or bidirectional streams (the readable and writable components can each be transferred to different workers). However, transferring a created "frame/stream" transport (either sending or receiving) does not perform well. Creating or receiving multiple streams and only sending or receiving one frame on them is inherently a high overhead process, that is hard to implement efficiently along with transfer.

In contrast, reliable/unordered transports can be constructed in RTCDataChannel and transferred.

Related (WebTransport): w3c/webtransport#420, w3c/webtransport#424

Related (RTCDataChannel): w3c/webrtc-extensions#114

@aboba aboba changed the title Frame/stream transport and transferrable streams Transport: Reliable/unordered transport and transferrable streams Oct 13, 2022
@aboba aboba changed the title Transport: Reliable/unordered transport and transferrable streams Transport: Frame/stream transport and transferrable streams Dec 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant