GithubHelp home page GithubHelp logo

Add concept of ordered channels? about bud HOT 2 OPEN

bloom-lang avatar bloom-lang commented on June 2, 2024
Add concept of ordered channels?

from bud.

Comments (2)

neilconway avatar neilconway commented on June 2, 2024

See also #26.

from bud.

neilconway avatar neilconway commented on June 2, 2024

Random thought: tcp provides an ordered stream abstraction, but for many applications, the receiver can consume network messages out-of-order in certain (many) circumstances (eg commutative operations, multiplexing multiple application-level sessions over a single channel). Providing "too much" ordering harms performance, because 1. It prevents forward progress due to needless waiting 2. It results in not sending the packet that would be most useful to the receiver. Naturally, these factors are most significant when there is significant packet loss (eg wireless).

Hence, what about pushing program semantics down to the transport layer? When we can prove that delivering a packet "out of order" is equivalent to in-order delivery, we can deliver that packet to the recipient application early. We might also be able to leverage program semantics to do more intelligent retransmission: we should be more aggressive about retransmission of packets that block the forward progress of the recipient.

from bud.

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.