Code Monkey home page Code Monkey logo

acqueduct's People

Contributors

knetic avatar

Watchers

 avatar  avatar

acqueduct's Issues

Use inflate/deflate rather than compress/decompress

Right now there is a lot of unnecessary overhead by assuming that each packet represents a single compressed message. Some packets are probably too small to really work this way. Instead, inflate/deflate functions (from zlib) should be used to lower this overhead.

Handle named pipe creation from application

Currently, it's expected that the user use mkfifo to create a fifo pipe for acqueduct client to read from. It would be better if acqueduct made that file itself, taking a "i" parameter which specifies the fifo location (defaulting to "./acq").

However, this would seem to make stdin no longer used to supply info to acqueduct, which is non-optimal. Best-case would be to implement an epoll system (similar to that found on the server) which takes data from either stdin or the named pipe, pushing the data through the socket no matter the source.

Prepend client information in server

The server, right now, doesn't output any information about where data came from, nor does it have any format at all to differentiate packets received. It should.

Evaluate different compression methods

Currently, zlib with the most basic settings is used to compress data. It may not be the best choice for high-throughput data. Investigation into bzip, at the very least, should occur.

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.