Efficiently repairing algebraic geometry codes

Lingfei Jin, Yuan Luo, Chaoping XingarXiv 2017

Abstract

Minimum storage regenerating (MSR) codes are a class of maximal distance separable (MDS) codes that minimize data storage per node. However, traditional MSR codes like Reed-Solomon (RS) codes face a fundamental "node bottleneck": the number of nodes $n$ is upper bounded by $2^b$, where $b$ is the number of bits stored per node. This paper addresses this limitation by investigating algebraic geometry (AG) codes, which allow for an unbounded number of nodes while maintaining near-minimum storage. We generalize the repair algorithm for RS codes to arbitrary one-point AG codes using $p$-linearized polynomials to manage the overhead introduced by the curve's genus. Our results show that AG codes, particularly those based on the Garcia-Stichtenoth tower and Hermitian curves, provide efficient repair bandwidth and can outperform RS codes in specific practical parameters.

Introduction

In modern distributed storage systems, such as cloud-scale databases, data is distributed across multiple nodes to ensure reliability. When a node fails, the system must perform a "repair" operation by downloading data from the remaining healthy nodes. This process involves a critical trade-off between storage efficiency and repair bandwidth.

Maximum Distance Separable (MDS) codes, most notably Reed-Solomon (RS) codes, are the gold standard for storage efficiency. However, they suffer from a strict mathematical constraint: the number of nodes in the system cannot exceed the size of the alphabet used to represent the data. In massive systems requiring many nodes but small alphabet sizes (to minimize hardware complexity), RS codes become impractical. This paper explores Algebraic Geometry (AG) codes as a solution to this "node bottleneck."

The Challenge of Repairing AG Codes

The goal of a regenerating code is to minimize the amount of data transferred during a repair (the repair bandwidth). A breakthrough by Guruswami and Wootters (STOC 2016) provided an efficient repair scheme for RS codes by using trace functions to project data from healthy nodes.

Extending this logic to AG codes—which are defined on complex algebraic curves rather than a simple line—introduces a significant hurdle: the genus ($g$) of the curve. In the context of AG codes, the curve's geometry acts as a "tax" on repair efficiency. Using the standard trace function approach on a curve with a high genus leads to excessive repair bandwidth, neutralizing the benefits of the code.

Innovation: $p$-Linearized Polynomials

To overcome the genus tax, this research introduces a repair framework based on $p$-linearized polynomials. Instead of relying on a standard trace function, the authors construct repair functions that can be "tuned" to the specific properties of the underlying algebraic curve.

By carefully selecting the degree of these polynomials, the algorithm effectively neutralizes the overhead caused by the curve's genus. This allows for the construction of an efficient repair algorithm for any one-point AG code. The paper distinguishes between two types of repair:

  1. Weak Repair: The total bandwidth is minimized, but individual nodes may contribute different amounts of data.
  2. Strong Repair: Every participating node sends exactly the same amount of data, ensuring balanced load during recovery.

Key Results and Applications

The Garcia-Stichtenoth Tower

The authors applied their algorithm to AG codes based on the Garcia-Stichtenoth tower, a mathematical construction known for producing codes that exceed the Gilbert-Varshamov bound. For a code of rate $1 - \epsilon$, they achieved a repair bandwidth of approximately $(n-1)(1-\tau)\log q$. While slightly above the absolute theoretical lower bound, this bandwidth is significantly lower than the naive approach of downloading the entire file, all while allowing the number of nodes $n$ to grow toward infinity.

Hermitian Codes

Hermitian curves are particularly useful because they possess a large number of rational points relative to their genus, allowing for many storage nodes. The paper demonstrates that Hermitian codes can achieve "strong repair." In a comparative example, a Hermitian code over a smaller alphabet ($q=2^6$) was shown to match the repair performance of an RS code requiring a much larger alphabet ($q=2^9$). This suggests that AG codes are not just theoretical curiosities but can be more hardware-efficient than RS codes in specific configurations.

Conclusion

This work establishes AG codes as viable candidates for large-scale distributed storage systems. By breaking the node limit inherent in Reed-Solomon codes and providing an efficient linear repair algorithm, the authors demonstrate that AG codes can achieve near-optimal storage with manageable repair costs. Future research remains to determine if non-linear repair approaches can further reduce bandwidth to reach the absolute theoretical limits and to simplify the algebraic machinery required to construct these codes for arbitrary curves.

Summary updated

BibTeX
@misc{jin2017efficiently,
  author = {Lingfei Jin and Yuan Luo and Chaoping Xing},
  title = {{Efficiently repairing algebraic geometry codes}},
  year = {2017},
  eprint = {1710.01874},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1710.01874},
}
Figure