Codes can reduce queueing delay in data centers

Longbo Huang, Sameer Pawar, Hao Zhang, Kannan Ramchandran

TL;DR

This paper introduces a novel scheduling algorithm, Blocking-one Scheduling (BoS), to quantify how coding can reduce data retrieval latency in data centers compared to traditional replication. BoS enables analytical evaluation, showing that coding can reduce latency by up to 17% by offering more flexibility in data retrieval.

What Problem Does This Paper Address?

Data centers face a significant challenge in minimizing the latency of data retrieval, especially for frequently accessed ("popular") data. Current systems often combat this by replicating data across multiple servers. However, this can lead to inefficiencies and doesn't fully leverage the potential of advanced techniques like coding. The paper aims to analytically quantify the latency reduction achievable by using coding schemes instead of simple replication, particularly in a simplified but representative data center storage system scenario. The core problem is understanding and demonstrating the tangible benefits of coding for queueing delay in storage systems, where traditional asymptotic analysis methods are not suitable for practical system sizes.

Methods

The authors propose a novel scheduling algorithm called Blocking-one Scheduling (BoS). This algorithm is designed to simplify the analysis of coded storage systems by introducing a controlled "blocking" mechanism. Specifically, BoS blocks requests beyond the head-of-line request until the head-of-line's packet requests are fully served. This breaks the complex dependencies inherent in coded systems, allowing for a tractable, non-asymptotic analytical framework. They then use this framework to model a system with a single content, two packets, and multiple storage units (SUs), comparing a replication-based strategy against an MDS (Maximum-Distance-Code) coded strategy. The analysis involves developing continuous-time Markov chains and solving for steady-state probabilities to derive average packet request delays.

Datasets

Not discussed in the paper. The paper focuses on analytical modeling and simulation of a hypothetical storage system.

Key Insights and Ideas

  • Coding offers flexibility: The core intuition is that coded systems provide more flexibility in retrieving data. Instead of being restricted to specific servers holding a particular packet (as in replication), any two servers holding valid coded packets can reconstruct the data. This "multiplexing gain" is key to reducing contention.
  • BoS enables analysis: The Blocking-one Scheduling (BoS) algorithm is a crucial innovation. By blocking subsequent requests, it simplifies the complex dependencies in coded systems, making analytical delay calculations feasible even for non-asymptotic scenarios. This is a significant step beyond existing methods.
  • Latency reduction is substantial: The paper demonstrates that coding can offer significant latency reductions, not just theoretical gains. The analytical results show a tangible improvement over replication.
  • Average request delay ≈ average packet delay: A key finding is that under BoS, the average time to retrieve an entire request is very close to the average time to retrieve a single packet. This is a desirable property that simplifies performance expectations.

Key Results

  • The proposed BoS algorithm, combined with MDS coding, can reduce data retrieval latency by up to 17% compared to replication-based strategies.
  • For a system with r=4 redundancy factor, the delay gain is around 13%.
  • For a system with r=10 redundancy factor, the delay gain can reach 17%.
  • BoS achieves 96% of the maximum system throughput even for a redundancy factor of r=2, indicating minimal performance loss due to the blocking mechanism.
  • The analytical framework developed is non-asymptotic, making it applicable to practical system sizes.

Limitations and Future Work

  • Simplified setting: The current work focuses on a simplified scenario with a single content divided into two packets. The authors acknowledge that this is a first step and that extending the methodology to more general settings with multiple contents and more than two packets is part of their ongoing work.
  • Sub-optimal scheduling: While BoS enables analysis, it is acknowledged as sub-optimal compared to a hypothetical system with infinite memory that could achieve perfect scheduling. However, the performance loss is shown to be small and decreases with increasing redundancy.
  • Future work: The authors suggest extending their scheduling algorithm to incorporate more blocking to potentially improve analytical gains and exploring scenarios with multiple contents. They also aim to generalize the methodology to handle content split into more than two parts.

Summary updated

BibTeX
@inproceedings{huang2012codes,
  author = {Longbo Huang and Sameer Pawar and Hao Zhang and Kannan Ramchandran},
  title = {{Codes can reduce queueing delay in data centers}},
  booktitle = {ISIT},
  year = {2012},
  url = {https://openreview.net/forum?id=UuI1A2O67z},
}
Figure