Repair Scheduling in Wireless Distributed Storage with D2D Communication

Jesper Pedersen, Alexandre Graell i Amat, Iryna Andriyanova, Fredrik Brännström · DOI

Abstract

We consider distributed storage (DS) for a wireless network where mobile devices arrive and depart according to a Poisson random process. Content is stored in a number of mobile devices, using an erasure correcting code. When requesting a piece of content, a user retrieves the content from the mobile devices using device-to-device (D2D) communication or, if not possible, from the base station (BS), at the expense of a higher communication cost. We consider the repair problem when a device that stores data leaves the network. In particular, we introduce a repair scheduling where repair is performed periodically. We derive analytical expressions for the overall communication cost of repair and download as a function of the repair interval. Our results indicate that DS can reduce the overall communication cost with respect to the case where content is only downloaded from the BS, provided that repairs are performed frequently enough. The required repair frequency depends on the code used for storage and the network parameters. In particular, minimum bandwidth regenerating codes require very frequent repairs, while maximum distance separable codes give better performance if repair is performed less frequently. We also show that instantaneous repair is not always optimal.

Introduction

As mobile data traffic continues to skyrocket, cellular base stations (BS) face significant congestion. A promising solution is Wireless Distributed Storage (WDS), which leverages the storage capacity of mobile devices to cache popular content closer to users. In a WDS system, files are encoded and distributed across multiple mobile nodes. Users can then retrieve data via Device-to-Device (D2D) communication, which is significantly more resource-efficient than traditional BS downloads.

System model for Wireless Distributed Storage (WDS) with D2D and BS communication.

However, the inherent mobility of users presents a challenge: as devices leave the network, the stored data "slices" are lost. To maintain data availability, the system must periodically repair these losses by transferring data to new nodes. This paper investigates the optimal scheduling of these repairs to minimize the total communication cost, balancing the expense of frequent repairs against the high cost of falling back to the base station when peer-stored data becomes unavailable.

Methodology

The researchers employed a rigorous stochastic framework to model the dynamic network environment:

  • Mobility Model: The cell is modeled as an $M/M/\infty$ queue, where devices arrive and depart following a Poisson process.
  • Coding Schemes: The study compares three primary erasure-correcting codes: Maximum Distance Separable (MDS), Minimum Storage Regenerating (MSR), and Minimum Bandwidth Regenerating (MBR).
  • Periodic Scheduling: Rather than instantaneous repair, the system introduces a repair interval ($\Delta$). Analytical expressions (Theorems 1 and 2) were derived to calculate the expected total cost (Repair + Download) as a function of this interval.

Key Insights and Results

The "Instantaneous" Fallacy

Contrary to common intuition in distributed systems, fixing failures the moment they occur is not always the most cost-effective strategy. For certain codes, particularly MDS, waiting for a non-zero interval $\Delta$ can be cheaper as it allows for batching repairs or avoiding unnecessary transmissions, provided the D2D cost is sufficiently low.

Performance and Code Sensitivity

The effectiveness of a repair schedule is highly sensitive to the chosen coding scheme. MBR codes, designed for low-bandwidth repair, perform best with very frequent, near-instantaneous repairs. In contrast, MDS codes are more resilient to longer repair intervals.

Expected communication cost as a function of the repair interval for various coding schemes.

As shown in the figure above, there is a clear threshold, $\Delta_{max}$, beyond which the cost of WDS exceeds that of a simple BS-only model (represented by the dotted line at 1). For MDS codes, this threshold is roughly 1.5 times the average lifetime of a node in the cell. Furthermore, WDS only provides a clear advantage when the cost ratio ($\rho$) between BS and D2D communication is high—typically at least a factor of 5.

Conclusion

This research demonstrates that WDS with D2D communication can significantly reduce network load if repair intervals are carefully tuned. While the current model assumes a single-file scenario and simplified Poisson mobility, it provides a foundational mathematical framework for future work. Subsequent research should explore multi-file resource contention and more complex mobility patterns reflecting real-world pedestrian or vehicular behavior to further refine these decentralized storage strategies.

Summary updated

Abstract

We consider distributed storage (DS) for a wireless network where mobile devices arrive and depart according to a Poisson random process. Content is stored in a number of mobile devices, using an erasure correcting code. When requesting a piece of content, a user retrieves the content from the mobile devices using device-to-device communication or, if not possible, from the base station (BS), at the expense of a higher communication cost. We consider the repair problem when a device that stores data leaves the network. In particular, we introduce a repair scheduling where repair is performed (from storage devices or the BS) periodically. We derive analytical expressions for the overall communication cost of repair and download as a function of the repair interval. We illustrate the analysis by giving results for maximum distance separable codes and regenerating codes. Our results indicate that DS can reduce the overall communication cost with respect to the case where content is only downloaded from the BS, provided that repairs are performed frequently enough. The required repair frequency depends on the code used for storage and the network parameters. In particular, minimum bandwidth regenerating codes require very frequent repairs, while maximum distance separable codes give better performance if repair is performed less frequently. We also show that instantaneous repair is not always optimal.
BibTeX
@inproceedings{pedersen2015repair,
  author = {Jesper Pedersen and Alexandre Graell i Amat and Iryna Andriyanova and Fredrik Brännström},
  title = {{Repair Scheduling in Wireless Distributed Storage with D2D Communication}},
  booktitle = {ITW Fall},
  year = {2015},
  url = {https://openreview.net/forum?id=CIfyHhsuM9U},
}
Figure