Git Product home page Git Product logo

Comments (2)

lemunozm avatar lemunozm commented on August 9, 2024

Thanks again @RobDavenport. I put a big effort to clean the internals to make message-io "easy" to contribute.

As an overview (as you say, I will open some related issues):

  • [unestimated] (#52) Add a WebRTS adapter to complete the web support (I do not know much about this protocol and I need to learn about it before implementing an adapter, if somebody knows and wants to help, it is welcome!)
  • [medium] (#53) Add a reliable & ordering over UDP adapter
  • Any other adapter is totally welcome.
  • [easy] (#55) Improved RemoteAddr usage.
  • [medium] (#54) Add configuration properties to the adapter.
  • [difficult] A non-blocking connect() function. Currently, connect blocks until the connection is performed. It is suitable for the majority of cases, but it could be cool to offer a non-blocking version that allows reading the connect status in the event loop.
  • [medium] Non-blocking write with POLLIN event. Although writing data can be considered "non-blocking" because it is rare that the OS sending buffer is full, It could happen (sender really fast and receiver really slow). In this case, currently, message-io will block the sender until the OS sends data and empty the buffer. It should be little time but has a cost. Instead, in those cases, the data could be stored and the socket registered as POLLIN to wake up later and send the data using the internal message-io thread.
  • [medium/difficult] More robust and stable throughput performance tests against directly std.
  • [easy] (#75) Add a Reader to the Decoder.
  • [unestimated] reading with balanced change. I do not know a possible fix to it but there is an issue where if a receiver is slow and a sender is really fast sending without waiting, the receiver only will read from one socket because this socket never will return a WouldBlock (I will open an issue with an extended explanation).
  • [easy] (#60) Reduce the encoding size using variadic int encoding.
  • New and fresh ideas coming from rustaceans :)

from message-io.

lemunozm avatar lemunozm commented on August 9, 2024

I close it since there are issues have been created with this info

from message-io.

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.