NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A New Frontier for Pull-Based Graph Processing

Samuel Grossman, Christos KozyrakisarXiv 2019

In the landscape of large-scale graph analytics, a fundamental trade-off has long dictated system design: the choice between Push and Pull processing patterns. While push-based engines excel at handling sparse "frontiers" (processing only the subset of vertices that have changed), they suffer from heavy synchronization overheads. Conversely, pull-based engines are faster due to their read-dominant, lock-free nature but are historically "frontier-blind," wasting significant computation by checking every edge even when only a few updates are pending.

To bridge this gap, state-of-the-art frameworks typically employ "Hybrid" engines that switch between patterns. However, these systems force developers to implement algorithms twice and often incur performance penalties during push phases. Researchers from Stanford University have introduced Wedge, a pull-only framework that eliminates the need for push-based engines by redesigning the concept of the "frontier."

The Push-Pull Dilemma

The core challenge in graph processing is the misalignment between the pull pattern and frontier optimization.

  • Push pattern: Iterates over source vertices. If a vertex is active, it "pushes" updates to neighbors. This aligns with frontier tracking but requires atomic operations or locks to handle concurrent writes to the same destination.
  • Pull pattern: Iterates over destination vertices to aggregate incoming messages. Because frontiers traditionally track active sources, a pull engine must check every incoming edge to identify relevant updates, leading to massive work-efficiency losses on sparse frontiers.
Comparison of Push (lock-heavy) and Pull (lock-free) processing patterns.

The Wedge Approach: Frontier Transformation

Wedge challenges the conventional wisdom that pull engines cannot be efficient on sparse frontiers. It introduces a Frontier Transformation step that replaces the push engine in a hybrid system. Instead of a simple list of active vertices, Wedge creates a destination-oriented, edge-based data structure called the Wedge Frontier. This structure identifies exactly which edges in the graph's topology need to be traversed.

Key components of the Wedge framework include:

  1. Transformation Step: An $O(|V| + |E|)$ parallel operation that converts a standard vertex-based frontier into a Wedge Frontier.
  2. Fullness Threshold: To manage overhead, Wedge only performs this transformation if the frontier is sparse enough. If the frontier is dense, it defaults to a standard full-graph pull.
  3. Frontier Precision: Wedge can "coarsen" the frontier, using one bit to represent a group of edges. This balances the cost of building the frontier against the efficiency of the subsequent pull operation.

Evaluation and Key Results

Wedge was evaluated against leading hybrid frameworks like Grazelle and Ligra across diverse datasets, including social networks (Friendster, Twitter) and web graphs (uk-2007).

Overall performance speedup and time division between pull and push phases in hybrid systems.

The results demonstrate that Wedge achieves the best of both worlds. By moving to a pull-only model, it outperformed Grazelle by up to 2.8× and Ligra by 4.9×. In specific iterations where the frontier was sparse, Wedge was up to 3300× faster than a standard pull engine without frontier optimization. Furthermore, the "Fullness Threshold" and "Precision" knobs provided up to 5× and 2× performance improvements, respectively.

Conclusion and Future Work

Wedge simplifies the graph processing stack by allowing developers to write their algorithms only once for a pull-based model while maintaining high throughput across both sparse and dense frontiers. While the transformation step currently faces some multi-core scaling challenges due to thread imbalance, it represents a prime candidate for future hardware acceleration. By transforming the frontier to match the engine's needs, Wedge establishes a new high-water mark for lock-free graph analytics.

Summary updated

BibTeX
@misc{grossman2019new,
  author = {Samuel Grossman and Christos Kozyrakis},
  title = {{A New Frontier for Pull-Based Graph Processing}},
  year = {2019},
  eprint = {1903.07754},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1903.07754},
}
Figure