Abstract
Distributed graph processing is often limited by the communication overhead of the "shuffle" phase. This paper presents a coded computing framework that utilizes computational redundancy to enable coded multicasting. By repeating Map tasks across servers, the system reduces communication load by a factor proportional to the redundancy level. Experimental results demonstrate speedups of over 50% for standard graph algorithms like PageRank on real-world and synthetic datasets.
Introduction
Distributed graph analytics—used for applications ranging from PageRank to shortest-path discovery—rely on a "think like a vertex" paradigm. In this model, the computation for a single vertex requires data from all its neighbors. When these neighbors are distributed across different servers, the system must exchange a massive number of messages during a "Shuffle" phase. In large-scale clusters, this communication often becomes the primary bottleneck, frequently accounting for more than 50% of the total execution time. While Coded Distributed Computing (CDC) has been proposed for general MapReduce tasks, graph data is sparse and heterogeneous, requiring a specialized approach to handle asymmetric data requirements.
The Coded MapReduce Framework
The authors propose a Coded MapReduce framework specifically tailored for graphs. The process follows three main stages:
- Redundant Subgraph Allocation: Instead of storing each vertex on just one server, each vertex (and its associated file) is stored on $r$ different servers, where $r$ represents the "computation load."
- Map Phase: Each server computes intermediate values for the vertices in its allocated subgraph. Due to redundancy, the same intermediate values are available at multiple locations.
- Coded Shuffle: Instead of servers sending raw data via unicast (one-to-one), they send XORed combinations of intermediate values (multicast). Because of the redundant Map phase, a single XORed packet can be "decoded" by multiple receiving servers using data they already have locally.
Theoretical analysis across various graph models (Erdös-Rényi, Power Law, etc.) proves that the communication load $L$ follows an inverse-linear trade-off with the computation load $r$ (i.e., $L \approx 1/r$).
Experimental Evaluation
The framework was evaluated using synthetic models and the real-world TheMarker Cafe Dataset. Implementing PageRank on Amazon EC2 clusters showed significant performance boosts: a 50.8% speedup in a 10-server setup using synthetic Erdös-Rényi graphs and a 43.4% speedup using the real-world social network dataset.
As shown in the performance metrics, while the "Map" time increases slightly due to redundancy, the "Shuffle" time is slashed so drastically that the overall execution time drops significantly. However, the gains eventually saturate as the overhead of managing multicast transmissions and increased Map time begins to outweigh communication savings.
Conclusion
By strategically repeating computation, this framework effectively trades off extra processing for significantly reduced communication. Future work includes integrating this coding scheme with data combiners and exploring "graph-aware" allocation strategies that place highly connected communities on the same server to further optimize performance.
Summary updated