[Paper Review] The CORE Storage Primitive: Cross-Object Redundancy for Efficient Data Repair & Access in Erasure Coded Storage
This paper proposes CORE, a novel storage primitive that combines traditional erasure coding with RAID-4-like cross-object parity to drastically improve repair efficiency and degraded read performance in distributed storage systems. By applying column-wise XOR parity over erasure-coded data blocks across objects, CORE reduces repair bandwidth by up to 50% and speeds up single-node recovery by 75% compared to traditional erasure codes, while maintaining high fault tolerance with only a 20% increase in storage overhead.
Erasure codes are an integral part of many distributed storage systems aimed at Big Data, since they provide high fault-tolerance for low overheads. However, traditional erasure codes are inefficient on reading stored data in degraded environments (when nodes might be unavailable), and on replenishing lost data (vital for long term resilience). Consequently, novel codes optimized to cope with distributed storage system nuances are vigorously being researched. In this paper, we take an engineering alternative, exploring the use of simple and mature techniques -juxtaposing a standard erasure code with RAID-4 like parity. We carry out an analytical study to determine the efficacy of this approach over traditional as well as some novel codes. We build upon this study to design CORE, a general storage primitive that we integrate into HDFS. We benchmark this implementation in a proprietary cluster and in EC2. Our experiments show that compared to traditional erasure codes, CORE uses 50% less bandwidth and is up to 75% faster while recovering a single failed node, while the gains are respectively 15% and 60% for double node failures.
Motivation & Objective
- To address the inefficiency of traditional erasure codes in repairing lost data and performing degraded reads under node failures.
- To explore a practical, engineering-driven alternative to complex novel codes by combining mature techniques: standard erasure codes with RAID-4-style column parity.
- To design and implement CORE as a general-purpose, block-level storage primitive compatible with HDFS.
- To evaluate CORE’s performance against traditional MDS codes and state-of-the-art Local Reconstruction Codes (LRCs), particularly in real-world clusters and AWS EC2.
- To optimize repair scheduling and data access patterns to further reduce repair costs in both network- and computation-critical environments.
Proposed method
- Apply a standard (n,k) MDS erasure code (e.g., Reed-Solomon) independently on each data object to create k data blocks and m parity blocks per object.
- Construct a matrix where each row represents an object’s encoded blocks, and add a bottom row of column-wise XOR parities (RAID-4 style) across the blocks of different objects.
- Use the column-wise parities to enable efficient, low-cost repairs: single-node failures can be repaired using only XOR operations on a small number of blocks (e.g., 3 in the example), avoiding expensive Reed-Solomon decoding.
- Integrate CORE into HDFS-RAID as a transparent storage layer, enabling it to coexist with existing HDFS data and leverage HDFS’s block management.
- Implement and evaluate three repair scheduling algorithms: Row-First, Column-First, and RGS (Repair-Group Scheduling), to minimize repair time and data transfer.
- Tune the CORE matrix parameters (e.g., (9,6,3) vs. (14,12,5)) to balance storage overhead, fault tolerance, and repair efficiency.
Experimental results
Research questions
- RQ1Can combining standard erasure coding with cross-object RAID-4-style parity significantly reduce repair bandwidth and time compared to traditional erasure codes?
- RQ2How does CORE’s performance compare to state-of-the-art Local Reconstruction Codes (LRCs) used in production systems like Windows Azure?
- RQ3To what extent can the proposed repair scheduling algorithms (Row-First, Column-First, RGS) reduce repair completion time in both network- and computation-constrained environments?
- RQ4What is the trade-off between storage overhead and repair efficiency in CORE, and can it achieve near-optimal fault tolerance with only a 20% overhead?
- RQ5How do optimizations like avoiding redundant block reads (Opt1) and minimizing repair dependencies (Opt2) improve performance in real clusters?
Key findings
- For single-node failure recovery, CORE reduces bandwidth usage by 50% and repair time by up to 75% compared to traditional erasure codes in a computation-critical cluster.
- In the case of double-node failures, CORE achieves 15% lower bandwidth usage and 60% faster repair compared to traditional erasure codes.
- The Column-First repair scheduling algorithm outperforms Row-First and RGS in minimizing data transfer, especially in network-constrained environments.
- Optimization O1 (avoiding redundant block reads) significantly improves performance in clusters where network is a bottleneck, particularly for (9,6,3) configurations.
- Optimization O2 (reducing repair dependencies) further improves repair time, especially in computation-critical clusters, though gains are less pronounced than O1.
- Increasing the CORE matrix size from (9,6,3) to (14,12,5) results in higher performance gains, particularly in computation-constrained settings.
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.