Go to file
Matthew Oliver f6fa6c668b Update code_organization.md docs
Liberasurecode docs haven't been updated in a while. There have been
some new implementations added so these have been added to the
code_organisation.md doc. Although I didn't add ALL files in the
repo, just the more important implementation ones, namele:

  - isa_l_rs_cauchy.c
  - isa_l_rs_vand_inv.c
  - liberasurecode_rs_vand

Tim provided an overview of erasure coding to a colleague, and makes a
good additional doc for this repo, and I have his permission to add it.

  doc/erasure_coding.md

Co-Authored-By: Tim Burke <tim.burke@gmail.com>
Change-Id: Ifd3e4aea4dbed664fb77a3e4a3106bd3b0d6f343
Signed-off-by: Matthew Oliver <matt@oliver.net.au>
2025-08-07 20:27:15 -07:00
2025-08-07 20:27:15 -07:00
2022-08-30 12:12:08 -07:00
2015-06-21 22:17:08 +00:00
2020-10-08 14:46:14 -07:00
2024-07-01 13:52:14 -07:00
2024-08-14 09:52:13 -07:00
2017-07-06 17:40:38 +00:00
2024-10-23 16:41:47 -07:00
2024-08-15 13:52:31 -07:00
2020-03-10 18:38:10 -07:00
2024-09-23 08:30:19 -07:00
2024-07-01 13:52:14 -07:00
2016-05-27 14:27:11 -04:00
2016-05-27 14:27:11 -04:00
2023-10-04 15:13:15 -07:00

liberasurecode

liberasurecode is an Erasure Code API library written in C with pluggable Erasure Code backends.


Highlights

  • Unified Erasure Coding interface for common storage workloads.

  • Pluggable Erasure Code backends - liberasurecode supports the following backends:

    • 'liberasurecode_rs_vand' - Native, software-only Erasure Coding implementation that supports a Reed-Solomon backend
    • 'Jerasure' - Erasure Coding library that supports Reed-Solomon, Cauchy backends [1]
    • 'ISA-L' - Intel Storage Acceleration Library - SIMD accelerated Erasure Coding backends [2]
    • 'SHSS' - NTT Lab Japan's hybrid Erasure Coding backend [4]
    • 'Flat XOR HD' - built-in to liberasurecode, based on [3]
    • 'libphazr' - Phazr.IO's erasure code backend with built-in privacy [5]
    • 'NULL' template backend implemented to help future backend writers
  • True 'plugin' architecture - liberasurecode uses Dynamically Loaded (DL) libraries to realize a true 'plugin' architecture. This also allows one to build liberasurecode indepdendent of the Erasure Code backend libraries.

  • Cross-platform - liberasurecode is known to work on Linux (Fedora/Debian flavors), Solaris, BSD and Darwin/Mac OS X.

  • Community support - Developed alongside Erasure Code authority Kevin Greenan, liberasurecode is an actively maintained open-source project with growing community involvement (Openstack Swift, Ceph, PyECLib, NTT Labs).


Active Users


Build and Install

Install dependencies -

Debian/Ubuntu hosts:

 $ sudo apt-get install build-essential autoconf automake libtool zlib1g-dev

Fedora/RedHat/CentOS hosts:

 $ sudo yum install -y gcc make autoconf automake libtool zlib-devel

To build the liberasurecode repository, perform the following from the top-level directory:

 $ ./autogen.sh
 $ ./configure
 $ make
 $ make test
 $ sudo make install

Getting Help


References

[1] Jerasure, C library that supports erasure coding in storage applications, http://jerasure.org

[2] Intel(R) Storage Acceleration Library (Open Source Version), https://01.org/intel%C2%AE-storage-acceleration-library-open-source-version

[3] Greenan, Kevin M et al, "Flat XOR-based erasure codes in storage systems", https://web.archive.org/web/20161001210233/https://www.kaymgee.com/Kevin_Greenan/Publications_files/greenan-msst10.pdf

[4] Kota Tsuyuzaki tsuyuzaki.kota@lab.ntt.co.jp, "NTT SHSS Erasure Coding backend"

[5] Jim Cheung support@phazr.io, "Phazr.IO libphazr erasure code backend with built-in privacy"

Description
Erasure Code API library written in C with pluggable Erasure Code backends.
Readme 2.4 MiB
Languages
C 98.5%
M4 0.8%
Makefile 0.6%
Shell 0.1%