Accelerating Data Access for Single Node in Distributed Storage Systems via MDS Codes

Hao Shi, Zhengyi Jiang, Zhongyi Huang, Linqi Song, Hanxu HouarXiv 2025 · DOI

Introduction

In modern distributed storage environments, such as cloud databases and large-scale file systems, data is typically encoded using Maximum Distance Separable (MDS) codes like Reed-Solomon. While these codes are primarily valued for their high reliability and low storage overhead—allowing data recovery even if $n-k$ nodes fail—this paper explores a different utility: reducing data access latency.

The primary challenge addressed here is "tail latency" during single-node access. In many applications, a request for a specific chunk of data can be delayed if the target node is geographically distant, under heavy load, or experiencing transient performance issues. Traditional systems simply wait for the slow node to respond. This research proposes using the mathematical properties of MDS codes to "bypass" slow nodes by fetching data from multiple nodes in parallel and reconstructing the desired information.

Leveraging MDS Redundancy for Speed

The core insight of this work is that redundancy can be reframed as a performance tool rather than just a safety net. According to the MDS property, any $k$ out of $n$ nodes can reconstruct the original data. If a specific node (the "target") is slow, its data can be derived from other available nodes.

Illustration of data reconstruction in a (3,2) MDS code system to bypass a slow node.

As shown in the figure above, in a (3,2) MDS system, Node 3 stores parity data ($a_{1,1} \oplus a_{2,1}$). If Node 2 is slow ($x_2 = 100$) compared to Node 1 and Node 3 ($x_1, x_3 = 50$), the system can reconstruct Node 2's data using the XOR sum of data from Nodes 1 and 3, effectively reducing the wait time by half.

Algorithmic Approaches

The authors introduce two primary algorithms to implement this strategy:

  1. Accelerated Access with Known Latency (AAKL): This algorithm is applicable when the system has prior knowledge of current node latencies. It determines whether it is more efficient to wait for the target node or to fetch data from the $k$ fastest available nodes to perform reconstruction.
  2. Accelerated Access with Unknown Latency (AAUL): A more practical "race" approach where requests are sent to all $n$ nodes simultaneously. The process terminates as soon as the target node responds or enough data is received from $k$ other nodes to reconstruct the target's data.

Performance Evaluation

The effectiveness of these algorithms was evaluated through theoretical analysis and Monte Carlo simulations (10,000 trials) using two delay models: the Uniform distribution and the Shifted-Exponential distribution.

Comparison of latency between Direct Access (DA) and the proposed AAKL/AAUL algorithms under a Uniform distribution.

The results demonstrate significant improvements. Under a Uniform distribution with $n=10$ and $k=6$, the average latency was reduced from 49.70 to 40.78. In the case of a (3,2) MDS code, the algorithms can slash worst-case latency by over 60%. Furthermore, the AAUL algorithm acts as a safety mechanism, ensuring that the user never waits longer than they would with a standard Direct Access (DA) method, effectively capping tail latency.

Conclusion

This research demonstrates that MDS codes offer a powerful mechanism for accelerating single-node data access in distributed systems. By leveraging the "code rate" ($c = k/n$), systems can achieve latency reductions that scale quadratically with redundancy in certain network models. While the "greedy" nature of the AAUL approach increases network traffic and computational overhead for reconstruction, the trade-off is a significantly more responsive storage system. Future work will focus on extending these algorithms to handle simultaneous access for multiple nodes.

Summary updated

BibTeX
@misc{shi2025accelerating,
  author = {Hao Shi and Zhengyi Jiang and Zhongyi Huang and Linqi Song and Hanxu Hou},
  title = {{Accelerating Data Access for Single Node in Distributed Storage Systems via MDS Codes}},
  year = {2025},
  eprint = {2501.11353},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2501.11353},
}
Figure