Giter Site home page Giter Site logo

openrq's Introduction

OpenRQ: an open-source RaptorQ implementation

Please visit the OpenRQ Wiki for information about the project.

Implementation maturity

OpenRQ is an implementation of a raptor code that follows exactly the instructions of RFC 6330 (RaptorQ). The following features are available:

  • splitting of data into blocks where each block can be independently encoded/decoded
  • encoding blocks into individual packets that can be independently transmitted to the receiver
  • decoding blocks from individual packets received in any order
  • configuration of encoding/decoding parameters such as number of blocks and packet size
  • multiple ways to transmit packets or configuration parameters (e.g., using Java serialization, Data{Out,In}putStreams, or ByteBuffers and Channels from java.nio)

There is one feature still missing, though:

Other useful features, such as allowing encoding/decoding directly from files or continually from streams, are not implemented yet. Users can only encode/decode from arrays of bytes.

Performance

Performance is still not optimal due to a bottleneck present in the decoding function.2

Current block decoding throughputs by total number of source symbols:

Symbols per block Decoding throughput
10 43.14 Mbps
50 50.06 Mbps
100 44.62 Mbps
500 26.21 Mbps
1000 15.39 Mbps

Development status

Not being actively developed any more, but still accepting bug reports and pull requests. Other than that, we have no planned time to return to an active development.

Related projects

  • orq - An open-source RaptorQ implementation in C++

1 This is defined in RFC 6330 as "sub-blocks" and OpenRQ only allows at most one sub-block to be configured per source block.

2 The decoding function follows the algorithm defined in RFC 6330 straightforwardly. Our implementation of the algorithm has been done with care for maximal performance (e.g., we use linear algebra functions optimized for sparse matrices), however our decoding speed is at least one order of magnitude slower than that of an official RaptorQ implementation. This makes us believe a decoding algorithm more efficient than the one defined in the RFC exists but we have no knowledge of it.

openrq's People

Contributors

zemasa avatar ricardofonseca avatar ricardojf avatar rjpfonseca avatar

Watchers

James Cloos avatar

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.