[Paper Review] Erasure Coding for Distributed Storage: An Overview
This survey provides a comprehensive overview of erasure coding techniques for distributed storage, focusing on regenerating codes (RG), locally recoverable (LR) codes, and advanced repair methods for Reed-Solomon codes. It highlights key advances such as Minimum Bandwidth Regenerating (MBR) and Minimum Storage Regenerating (MSR) codes, and demonstrates practical implementations in systems like Windows Azure and Ceph that achieve significant repair bandwidth and storage overhead reductions.
In a distributed storage system, code symbols are dispersed across space in nodes or storage units as opposed to time. In settings such as that of a large data center, an important consideration is the efficient repair of a failed node. Efficient repair calls for erasure codes that in the face of node failure, are efficient in terms of minimizing the amount of repair data transferred over the network, the amount of data accessed at a helper node as well as the number of helper nodes contacted. Coding theory has evolved to handle these challenges by introducing two new classes of erasure codes, namely regenerating codes and locally recoverable codes as well as by coming up with novel ways to repair the ubiquitous Reed-Solomon code. This survey provides an overview of the efforts in this direction that have taken place over the past decade.
Motivation & Objective
- To address the inefficiency of traditional Reed-Solomon codes in repairing failed nodes in large-scale distributed storage systems.
- To analyze the trade-offs between storage overhead, repair bandwidth, and repair degree in modern erasure coding schemes.
- To evaluate the practical performance and deployment of advanced erasure codes such as LR, RG, and LRG codes in real-world systems like Windows Azure and HDFS.
- To summarize theoretical advances in regenerating codes, including MSR and MBR codes, and their optimization for low sub-packetization and optimal access.
- To present empirical evaluations of code implementations in production environments, demonstrating cost and performance benefits over replication and traditional erasure coding.
Proposed method
- The paper surveys the evolution of erasure coding from traditional Reed-Solomon codes to regenerating codes (RG), which minimize repair bandwidth via the (n,k,d,α,β,B) parameterization.
- It introduces Minimum Bandwidth Regenerating (MBR) and Minimum Storage Regenerating (MSR) codes as extremal points of the storage-repair bandwidth (S-RB) tradeoff.
- The framework of piggybacking is used to construct MDS array codes with reduced repair bandwidth, exemplified by the Hitchhiker system and HashTag codes.
- Locally recoverable (LR) codes are introduced to minimize the number of helper nodes during repair, with repair degree r as a key parameter.
- Locally Regenerating (LRG) codes are proposed to simultaneously optimize repair bandwidth and repair degree.
- Practical evaluations are conducted using real deployments in Hadoop, Ceph, and Windows Azure, with performance comparisons against replication and traditional RS codes.
Experimental results
Research questions
- RQ1How can erasure codes be designed to minimize repair bandwidth while maintaining high storage efficiency in distributed storage systems?
- RQ2What are the fundamental trade-offs between storage overhead, repair bandwidth, and repair degree in regenerating codes?
- RQ3To what extent can locally recoverable (LR) codes reduce the number of nodes contacted during node repair compared to traditional Reed-Solomon codes?
- RQ4How do advanced repair techniques for Reed-Solomon codes, such as those based on piggybacking, improve repair efficiency?
- RQ5What are the real-world performance and cost implications of deploying modern erasure codes like Clay, PM-RBT, and LRG codes in production storage systems?
Key findings
- The adoption of locally recoverable (LR) codes in Windows Azure reduced storage overhead from 1.5 (for [16,12] RS code) to 1.29 with an (n=18,k=14,r=7) code, saving millions in operational costs.
- An (n=16,k=12,r=6) LR code in Azure achieved repair degree comparable to a [9,6] RS code, demonstrating significant repair efficiency gains.
- The Hitchhiker system, based on piggybacking, was successfully implemented in HDFS and integrated into Apache Hadoop, showing improved repair performance.
- The Clay code, implemented in Ceph, achieved optimality in storage overhead, repair bandwidth, access, and sub-packetization, with vector code support added to Ceph.
- The PM-RBT code, an optimal-access version of the product-matrix MSR code, demonstrated favorable performance in Amazon EC2 with a rate-1/2 code.
- Liquid storage, based on capacity-optimized lazy repair, approached theoretical limits and outperformed small-block-length codes in MTTDL (Mean Time To Data Loss).
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.