Abstract
Distributed graph processing systems following the Pregel "think like a vertex" model often struggle with skewed degree distributions and inefficient communication patterns. This paper introduces Pregel+, a system implementing vertex mirroring and a request-respond API to mitigate these bottlenecks. By strategically creating vertex mirrors based on a cost model and enabling a pull-based communication paradigm, Pregel+ significantly reduces network traffic and improves load balancing. Experimental results on massive real-world datasets demonstrate speedups of over 2x compared to state-of-the-art systems.
Introduction
Distributed graph processing has revolutionized the analysis of massive networks, from social media to the semantic web. Most modern systems adopt the Pregel model: a vertex-centric approach where computation occurs in iterative "supersteps." While intuitive, this model often hits a performance wall when faced with real-world data characterized by power-law degree distributions.
The Bottleneck Challenge
Performance in Pregel-like systems is primarily hindered by two types of bottlenecks:
- Structural Bottlenecks: High-degree "hub" vertices (e.g., celebrities in social networks) generate massive communication bursts, overwhelming single workers while others remain idle.
- Algorithmic Bottlenecks: Certain logic patterns, such as pointer jumping in connected component algorithms, force many vertices to query a single "root" vertex. Even if that root has a low physical degree, it becomes a logical hotspot.
These issues lead to imbalanced workloads and severe network congestion, preventing efficient scaling.
Vertex Mirroring and the Combiner Tradeoff
To address structural bottlenecks, the authors propose vertex mirroring. Instead of a hub vertex $v$ sending individual messages to all $d(v)$ neighbors across the network, Pregel+ creates mirrors of $v$ on every worker machine where its neighbors reside. The hub sends a single message to each mirror, which then distributes the message locally.
A critical contribution of this work is the analysis of the interaction between mirroring and message combiners. While combiners aggregate messages sent to a vertex, mirroring optimizes messages sent from a vertex.
The authors developed a rigorous cost model to determine a mirroring threshold ($\tau$). They prove that mirroring should only be applied if a vertex's degree is high enough to outweigh the overhead of maintaining mirrors, specifically when $deg(v) \ge M \cdot \exp(deg_{avg}/M)$, where $M$ is the number of machines.
The Request-Respond Paradigm
For algorithmic bottlenecks that mirroring cannot solve, Pregel+ introduces a Request-Respond API. This allows vertices to "pull" data via a two-phase process:
- Request Phase: Multiple vertices on a worker requesting an attribute from the same remote vertex have their requests merged into a single network message.
- Respond Phase: The target worker sends a single response back, which is then shared locally among all requesters.
This paradigm bounds the number of messages for any vertex to at most $2M$, regardless of the number of vertices attempting to communicate with it.
Experimental Evaluation
The researchers evaluated Pregel+ using five large-scale datasets, including WebUK (5.5B edges) and the USA Road network. The system was implemented in C++ to avoid the garbage collection overheads common in Java-based systems like Apache Giraph.
Key performance gains included:
- Mirroring: On the BTC dataset, the
Hash-Minalgorithm's execution time dropped from 26.97 seconds to 9.55 seconds. - Request-Respond: For the
S-Vconnected components algorithm on the USA road network, execution time fell from 261.9 seconds to 137.7 seconds. - Efficiency: Pregel+ consistently outperformed established systems like GraphLab/PowerGraph and Apache Giraph, often by a factor of 2x or more, while significantly reducing total message volume.
Conclusion
By addressing both structural and algorithmic bottlenecks through vertex mirroring and the request-respond paradigm, Pregel+ demonstrates that smarter communication is the key to scaling distributed graph analytics. These techniques provide a robust blueprint for handling the skews and logical hotspots inherent in real-world massive graphs.
Summary updated