Git Product home page Git Product logo

c-nydus's Issues

Python ctypes bindings.

These should be extremely minimal. To start, just have Python call the server methods, which will just block.

UDT connection occasionally hangs after UDT close call.

Seems to occur sporadically when immediately closing the UDT socket after accepting the connection. Could the UDP layer be dropping it?

To reproduce w/ 5ebffae:

nc -l 9090
nydus
up -v localhost 9000

Run a few times, setting up the nc and up after each run. Will usually work, but occasionally up will hang.

Abstracted servers / clients for easy mix-and-match.

Although TCP / UDT pairing is the current focus, it would be ideal to abstract away the underlying protocol and simply expose a struct that provides the bare minimum necessary to connect any two socket-based protocols in a producer / consumer configuration.

Should start one client and one server type per instance.

Right now the system is hardcoded to start two servers - a TCP server and a UDT server. Each of these each starts a client type - a TCP client and UDT client. Currently, this is done because there is no argument parsing being done to select the types at runtime.

Ideally, each instance of nydus should only start one server type and one client type. Each of these should be specified at runtime. The server should be given a host and port to listen on, and the client should be given a host and port to which it will forward traffic.

EPoll and ring buffers.

In order to minimize the impedance mismatch of utilizing two different protocols, it would be good to use both epoll and ring buffers to produce async I/O in the translation layer.

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.