Comments (3)
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.
from webtransport.
You might be interested in the individual Internet-Draft https://datatracker.ietf.org/doc/html/draft-pardue-masque-dgram-priority-01
from webtransport.
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.
from webtransport.
Related Issues (20)
- estimatedSendRate absent vs null HOT 1
- getStats() being rejected
- Quality of a bandwidth estimate HOT 16
- Allow more aggressive garbage collection HOT 5
- Should the constructor take http3Only or something more transport agnostic? HOT 10
- WebTransportSendStream's abortSignal algorithm doesn't make sense
- No write requests are being rejected on in-flight error HOT 2
- Should all fields in WebTransportConnectionStats be nullable? HOT 2
- Send algos contains normative MAY and SHOULD in non-normative notes
- Clarify what sending "completed" means e.g. wrt. flow control HOT 2
- How should the WebTransport constructor handles timeouts? HOT 5
- serverCertificateHashes really only allow if not pooled? HOT 10
- Remove dependency on "Data Recvd" state HOT 3
- What are "first-strong heuristics"? HOT 2
- WPT tests are needed for serverCertificateHash feature HOT 2
- Working with servers behind a NAT or on a local network (aka "p2p") HOT 2
- Relative URL in WebTransport constructor HOT 1
- Listening to event by event name HOT 6
- Keep connection on tab switch HOT 10
- wt.ready and wt.closed trigger unhandled rejections
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from webtransport.