Code Monkey home page Code Monkey logo

Comments (3)

Atrius avatar Atrius commented on August 19, 2024

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.

LPardue avatar LPardue commented on August 19, 2024

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

from webtransport.

jan-ivar avatar jan-ivar commented on August 19, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.