Service Rate Region: A New Aspect of Coded Distributed System Design

Mehmet S. Aktas, Gauri Joshi, Swanand Kadhe, Fatemeh Kazemi, Emina Soljanin · DOI

Abstract

Erasure coding has been recognized as a powerful method to mitigate delays due to slow or straggling nodes in distributed systems. This work shows that erasure coding of data objects can flexibly handle skews in the request rates. Coding can help boost the service rate region, that is, increase the overall volume of data access requests that the system can handle. This paper aims to postulate the service rate region as an important consideration in the design of erasure-coded distributed systems. We highlight several open problems that can be grouped into two broad threads: 1) characterizing the service rate region of a given code and finding the optimal request allocation, and 2) designing the underlying erasure code for a given service rate region. As contributions along the first thread, we characterize the rate regions of maximum-distance-separable, locally repairable, and Simplex codes. We show the effectiveness of hybrid codes that combine replication and erasure coding in terms of code design. We also discover fundamental connections between multi-set batch codes and the problem of maximizing the service rate region.

Introduction

In modern cloud data centers, data objects such as videos or machine learning models experience highly heterogeneous demand. While some files are "hot" and frequently accessed, others remain "cold." Traditionally, systems have relied on replication to handle high demand, which is storage-intensive. While erasure coding (e.g., Reed-Solomon codes) is widely used for reliability and straggler mitigation, its potential to enhance a system's total service capacity—or throughput—remains under-explored.

This paper introduces the Service Rate Region as a formal framework to determine the maximum set of request rates $(\lambda_1, \lambda_2, \dots, \lambda_k)$ for $k$ different objects that a coded system can handle simultaneously. The central challenge is determining how to optimally split incoming requests across different "recovery sets"—combinations of nodes that can reconstruct a file—to ensure no single node is overwhelmed.

Methods

The authors approach the characterization of the service rate region through three distinct mathematical lenses:

  1. Water-filling Algorithm: For Maximum-Distance-Separable (MDS) and Locally Recoverable Codes (LRC), a water-filling strategy is proposed. Requests are first directed to "systematic" (uncoded) nodes; once saturated, the remaining demand is distributed across the least-loaded coded nodes.
  2. Combinatorial Optimization on Graphs: For Simplex codes, the code is represented as a "recovery graph." Finding the service rate region is proven equivalent to finding a fractional matching on this graph, allowing the use of graph-theoretic bounds like vertex covers.
  3. Geometric Approach: For first-order Reed-Muller (RM) codes, the authors treat code symbols as points in a projective space. They derive upper bounds on service rates using hyperplanes and half-spaces, avoiding the exhaustive listing of recovery sets.
Queuing model for a coded system showing how the total request rate for an object is distributed across multiple recovery sets.

Key Insights: Coding as a Load Balancer

A fundamental insight of this work is that erasure coding acts as a flexible load balancer. A coded node (e.g., storing $a+b$) can serve requests for either object $a$ or object $b$, provided other nodes are available to complete the recovery. This "fluidity" allows coded systems to handle demand spikes for specific objects more effectively than simple replication.

Comparison of service rate regions for replication (black), erasure coding (blue), and hybrid (red) configurations, demonstrating how coding expands the capacity for skewed demands.

Furthermore, the authors demonstrate that hybrid codes—which combine replication and erasure coding (e.g., storing $a, a, b, a+b$)—often provide the largest and most robust service rate regions, particularly when demand is highly skewed. Crucially, the service rate region depends on the specific generator matrix of the code, meaning two codes with identical reliability properties might offer vastly different service capacities.

Key Results

  • MDS Codes: The exact service rate region is characterized for systematic MDS codes when the number of parity nodes is sufficiently large ($n-k \ge k$).
  • Simplex Codes: The service rate region for a $[2^k-1, k]$ Simplex code is proven to be a $(k-1)$-dimensional simplex defined by $\sum \lambda_i \le 2^{k-1}$.
  • Reed-Muller Codes: The paper provides the first characterization of the rate region for first-order RM codes using a geometric approach.
  • Batch Code Connection: A fundamental link is established between the "integral" service rate region and batch codes, which are designed for simultaneous data access.

Limitations and Future Work

While this work establishes the foundations of the service rate region, several avenues for future research remain. Currently, the model focuses on system stability (throughput) rather than latency; throughput-optimal policies like water-filling are not necessarily delay-optimal. Additionally, the model assumes nodes store atomic objects, whereas practical systems often "stripe" files across nodes. Generalizing these results to account for sub-packetization and designing optimal codes for specific demand distributions (e.g., Zipf distributions) are key open problems.

Summary updated

BibTeX
@article{aktas2021service,
  author = {Mehmet S. Aktas and Gauri Joshi and Swanand Kadhe and Fatemeh Kazemi and Emina Soljanin},
  title = {{Service Rate Region: A New Aspect of Coded Distributed System Design}},
  journal = {IEEE Trans. Information Theory},
  year = {2021},
  doi = {10.1109/tit.2021.3117695},
}
Figure