package reed-solomon-erasure

  1. Overview
  2. Docs

This library provides an encoder/decoder for Reed-Solomon erasure code.

Please note that erasure coding means errors are not directly detected or corrected, but missing data pieces(shards) can be reconstructed given that the configuration provides high enough redundancy.

You will have to implement error detection separately(e.g. via checksums) and simply leave out the corrupted shards when attempting to reconstruct the missing data.

type reed_solomon

Reed-Solomon codec

Warning : This type is NOT thread-safe

type shard_by_shard

Reed-Solomon codec

Warning : This type is NOT thread-safe

type bigstring = Core_kernel.Bigstring.t
module RS_Error : sig ... end
module ReedSolomon : sig ... end

Reed-Solomon erasure code encoder/decoder.

module RS_SBS_Error : sig ... end
module ShardByShard : sig ... end

Bookkeeper for shard by shard encoding.

module RS_Shard_utils : sig ... end