Distributed storage allocations for optimal delay.

Derek Leong, Alexandros G. Dimakis, Tracey Ho

Abstract

We examine the problem of creating an encoded distributed storage representation of a data object for a network of mobile storage nodes to achieve optimal recovery delay. A source node creates a single data object and disseminates an encoded representation to other nodes subject to a total storage budget. A data collector node subsequently attempts to recover the original object by contacting nodes and accessing stored data. Successful recovery occurs when the total data accessed meets or exceeds the original object size. We aim to find a budget allocation that optimizes recovery delay, focusing on two objectives: (i) maximizing the probability of successful recovery by a given deadline, and (ii) minimizing the expected recovery delay. We solve the problem for the second objective in the case of symmetric allocations and show that optimal strategies for the two objectives can differ significantly. Simulations under various scenarios, including real-world mobility traces, demonstrate that storage allocation choice significantly impacts performance and that coding's benefits depend on the specific operational circumstances.

Introduction

In mobile delay-tolerant networks (DTNs), nodes move unpredictably and communicate only during intermittent proximity. This environment poses a challenge for data persistence and retrieval. When a source node needs to deposit a large data file into the network for later retrieval by a collector, it must decide how to distribute its fixed storage budget $T$.

Two primary strategies emerge: simple replication, where full copies are given to a few nodes, and erasure coding, where the file is split into many small chunks distributed across many nodes. While replication requires meeting only one node with a full copy, coding requires meeting many nodes to reconstruct the data. This paper investigates the optimal allocation to minimize "recovery delay."

Network model for distributed storage allocation.

Methodology and Modeling

The problem is approached through mathematical analysis and discrete-time simulations. Node encounters are modeled as a Poisson process with a contact rate $\lambda$. The study focuses on "symmetric" allocations, where every participating node stores an identical amount of data.

Theoretical findings were validated using a custom simulator implementing a modified "Spray-and-Wait" protocol. Testing environments included the Random Waypoint mobility model and the CRAWDAD Taxi Traces dataset, which contains GPS coordinates of 100 taxis in San Francisco, providing a realistic, non-uniform mobility environment.

Key Insights: The Spreading Trade-off

Minimizing Expected Delay

For the objective of minimizing average (expected) delay $E[D]$, a surprising "integer budget quirk" was discovered. If the total storage budget $T$ is an integer (e.g., exactly 5 copies), simple replication—or minimal spreading—is the optimal symmetric allocation. Coding only improves the average delay when the budget is fractional.

Extracted figure from page 4 of Distributed storage allocations for optimal delay

Maximizing Recovery Probability

When the goal is to guarantee recovery by a specific deadline ($P[D \le d]$), a "phase transition" occurs. For very tight deadlines, replication remains superior. However, for more generous deadlines where high reliability (e.g., 99% success) is required, "maximal spreading" via erasure coding becomes far more effective. Coding acts as a hedge against the "long tail" of delay, ensuring the collector doesn't wait indefinitely for a single specific node.

Key Results and Conclusion

Simulations revealed that choosing maximal spreading over replication can yield a 40% to 60% reduction in the wait time required for 99% recovery probability. These results remained robust even in messy real-world taxi data, despite fluctuations in node activity.

In conclusion, while replication is often best for average-case performance with integer budgets, erasure coding is the optimal choice for high-reliability requirements in mobile networks. Future work may explore non-symmetric allocations and networks with non-uniform contact rates among "hub" nodes.

Summary updated

BibTeX
@misc{leong2011distributed,
  author = {Derek Leong and Alexandros G. Dimakis and Tracey Ho},
  title = {{Distributed storage allocations for optimal delay.}},
  year = {2011},
  eprint = {1106.2581},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1106.2581},
}
Figure