quic: is stream priority compatible to w3c webtransport sendgroups ?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 122k
- Forks
- 37.3k
- Avg merge
- 4d 2h
- Merged PRs (30d)
- 283
Description
Currently, when calling createBidirectionalStream you can specify a priority (same also for unidirectional stream):
priority {string} The priority level of the stream. One of 'high', 'default', or 'low'. Default: 'default'.
The W3C specification for webtransport defines a sendGroup mechanism; see https://www.w3.org/TR/webtransport/#sendGroup.
For me, this is not the most important mechanism (but I can not tell for others), but I just wanted to bring it to your attention (@jasnell) and ask if it is worth thinking about an implementation that aligns with this spec, as the workgroup has put much thought into it.
Currently, I think it is a very different approach.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Begin with the WebTransport sendGroup section linked in the issue and Node's QUIC stream-priority API for createBidirectionalStream and unidirectional streams. Determine whether a concrete compatibility change is wanted, then define spec-aligned behavior and tests before implementation; the issue currently names no files or tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- api, networking
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100