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

Stream prioritization #33

Closed
steveanton opened this issue Nov 7, 2018 · 3 comments
Closed

Stream prioritization #33

steveanton opened this issue Nov 7, 2018 · 3 comments
Assignees
Labels
hard Things to discuss and think about

Comments

@steveanton
Copy link
Contributor

The QUIC IETF specification has a section on stream prioritization: https://tools.ietf.org/html/draft-ietf-quic-transport-16#section-2.4

The summary is that the application is responsible for instructing the QUIC implementation how to prioritize stream data. Which means that this API should have a way for Web developers to indicate the relative priority of streams.

@dontcallmedom dontcallmedom transferred this issue from w3c/p2p-webtransport Jun 28, 2019
@Atrius
Copy link

Atrius commented Jul 1, 2019

Depending on how datagram support works, we should also consider how to prioritize datagrams vs. streams, and datagrams vs. other datagrams.

If the application gets a callback whenever the transport is ready to send another datagram, but the applications also uses streams, what happens first?

  • the transport sends queued stream data
  • the transport calls the application for another datagram

And if the application hands datagrams to the transport, and the transport queues them to be sent at an appropriate moment, it seems fairly apparent we'd want some mechanism to say which streams and/or datagrams should go first.

@pthatcherg pthatcherg added the hard Things to discuss and think about label Sep 13, 2019
@yutakahirano yutakahirano added this to the Uncategorized Future milestone Jun 30, 2021
@LPardue
Copy link

LPardue commented Jul 30, 2021

You might be interested in the individual Internet-Draft https://datatracker.ietf.org/doc/html/draft-pardue-masque-dgram-priority-01

@wilaw wilaw added the Discuss at next meeting Flags an issue to be discussed at the next WG working label Sep 15, 2021
@wilaw wilaw removed the Discuss at next meeting Flags an issue to be discussed at the next WG working label Sep 29, 2021
@jan-ivar
Copy link
Member

Datagram send queues are specified now with sender-side back pressure so we're in a bit of a better shape than when this filed. This means applications are somewhat in control over sending priorities simply by throttling inputs independently.

That said, we could always do better, but discussion is happening over in #62 so I'm closing this one in favor of that issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hard Things to discuss and think about
Projects
None yet
Development

No branches or pull requests

7 participants