Git Product home page Git Product logo

nevy's Introduction

Hi there

Iยดm Drew. I am 21 years old, and I am proficient in Javascript, C#, C++, Rust and Python. I have experience with front-end, backend and SPA development, and also have experience with graphics programming and game development. I recently have been pursuing my interest in distributed systems with my project, Nevy.

๐Ÿš€๐Ÿ’ป Technologies & Tools

GitHub Postman Arduino

Linux MySQL MariaDB Raspberry Pi

Android Firebase Python Google Chrome Discord

โšก My Github

nevy's People

Contributors

drewridley avatar jacob-jb avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

nevy's Issues

Predicated Streaming

In Nevy, it will be essential that developers are able to specify custom logic to determine how, when and if a given component change should be synchronized. This tracking issue will contain discussions, possible designs, and the implications of such designs.

Requirements:

  • Limited fragmentation of messages
  • Ability to defer/expire messages
  • O(n) complexity or better. Should integrate with queries to reduce total search space and complexity
  • Eventually consistent, ie, changes not streamed should still eventually exist on the client for state that needs to be synchronzied.
  • Datastructure agnostic; Nevy should not enforce a particular acceleration structure or mapping for this 'predicated' streaming.
  • Entity driven; Messages or events should be optionally entity directed and the predicated logic can be associated with that entity.

Decouple from Bevy

The WebTransport implementation is tightly coupled to Bevy in update_endpoints. I'm interested in using this library to replace the renet2 WebTransport implementation, but need to use it in non-Bevy context. Can you wrap the APIs in an abstraction layer (e.g. higher-level resource)?

Connection validation

Currently, this crate does not expose ways to validate connections while they are being set up. Aggressive validation is needed to avoid attack vectors that consume server resources (e.g. opening many zombie connections).

In renet2 I have two primary validation steps:

  • Server capacity: After Endpoint::accept, I immediately check if there is server capacity. At this point very little has been invested in the connection, so the effects of connection spam are minimized.
  • WebTransport connection request: If there is capacity, I validate the WebTransport connection request. This involves extracting a netcode connection request from the WebTransport URI and waiting for that request to be validated before finalizing the connection. The request is directly embedded in the URI so I can immediately validate the request without needing to put the pending client on a timer or devote additional resources to the connection (e.g. a tokio task is needed for the stream reader), and to minimize connect times.

Also:

  • WebTransportEndpoint should have a getter for the underlying SocketAddr. That address needs to be sent to clients so they know where to connect.

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.