[Paper Review] Comparing cost and performance of replication and erasure coding
This paper compares replication and erasure coding for storage systems, showing that replication offers superior performance and availability for hot data due to lower latency and faster recovery, while erasure coding provides better storage efficiency for cold data. The key contribution is a framework for choosing between the two based on data access patterns, reliability requirements, and cost-performance trade-offs, with empirical analysis of failure probabilities and system overheads.
Data storage systems are more reliable than their individual components. In order to build highly reliable systems out of less reliable parts, systems introduce redundancy. In replicated systems, objects are simply copied several times with each copy residing on a different physical device. While such an approach is simple and direct, more elaborate approaches such as erasure coding can achieve equivalent levels of data protection while using less redundancy. This report examines the trade-offs in cost and performance between replicated and erasure encoded storage systems.
Motivation & Objective
- To analyze the trade-offs between replication and erasure coding in terms of storage cost, performance, and data availability.
- To quantify how data access patterns (hot vs. cold) influence the optimal choice between replication and erasure coding.
- To provide a decision framework for selecting between replication and erasure coding based on reliability targets, latency constraints, and storage efficiency.
- To clarify the distinction between data loss (DL) and data unavailability (DU), especially in multi-data center deployments.
- To evaluate the impact of reconstruction time and failure probability on system reliability and performance.
Proposed method
- Uses probabilistic models to calculate data loss and unavailability probabilities based on individual disk failure rates.
- Applies binomial distribution to estimate the likelihood of more than n failures in an m+n erasure coding system.
- Derives equations for required number of parity disks (n) to achieve a target data loss probability (ε), given data disk count (m) and per-disk failure probability (p).
- Analyzes system overhead for multi-data center deployments, showing that 100% overhead is required for N+1 availability across 2 or more data centers, regardless of protection scheme.
- Models the convergence of binomial failure distributions to normal distributions as system size increases, proving that larger systems reduce data loss probability asymptotically.
- Proposes a hybrid approach where active (hot) data is replicated and inactive (cold) data is erasure-coded, with migration based on access frequency.
Experimental results
Research questions
- RQ1What is the minimum storage overhead required to ensure data availability across multiple data centers, regardless of the data protection mechanism used?
- RQ2How do failure probabilities and reconstruction times affect the reliability and performance of erasure-coded versus replicated systems?
- RQ3Under what conditions does erasure coding provide a net advantage over replication in terms of storage efficiency and cost?
- RQ4How does data access frequency (hot vs. cold) influence the optimal choice between replication and erasure coding?
- RQ5What is the impact of increasing system size (m+n) on data loss probability in erasure-coded systems?
Key findings
- For multi-data center deployments, 100% storage overhead is required to ensure data availability when any single data center fails, regardless of whether replication or erasure coding is used.
- Erasure coding reduces storage overhead below 100% while maintaining equivalent data loss protection, making it more storage-efficient than replication.
- Replication provides lower latency and faster reconstruction than erasure coding, making it superior for hot data with high access frequency.
- As system size (m+n) increases proportionally, the probability of data loss in erasure-coded systems approaches zero, assuming the failure rate is below a threshold.
- The probability of data unavailability is higher in erasure-coded systems than in replicated systems with the same data loss protection, due to longer repair times.
- A hybrid strategy—using replication for active data and erasure coding for inactive data—optimizes both performance and cost, as implemented in systems like Microsoft Azure.
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.