From Free Software Directory
Jump to: navigation, search


an "erasure code", or "forward error correction code".

The most widely known example of an erasure code is the RAID-5 algorithm which makes it so that in the event of the loss of any one hard drive, the stored data can be completely recovered. The algorithm in the zfec package has a similar effect, but instead of recovering from the loss of only a single element, it can be parameterized to choose in advance the number of elements whose loss it can tolerate. This package is largely based on the old "fec" library by Luigi Rizzo et al., which is a mature and optimized implementation of erasure coding. The zfec package makes several changes from the original "fec" package, including addition of the Python API, refactoring of the C API to support zero-copy operation, a few clean-ups and optimizations of the core code itself, and the addition of a command-line tool named "zfec".




Download version 1.4.4 (stable)
released on 5 January 2009

VCS Checkout



LicenseVerified byVerified onNotes
GPLv2orlaterKelly Hopkins8 June 2009
BSD 2ClauseKelly Hopkins8 June 2009

Leaders and contributors

Zooko O'Whielacronx Maintainer

Resources and communication

AudienceResource typeURI
DeveloperMailing List Subscribehttp://allmydata.org/cgi-bin/mailman/listinfo/zfec-dev

Software prerequisites

This entry (in part or in whole) was last reviewed on 7 October 2016.


Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.

The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.