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

ASYMP: Fault-tolerant Mining of Massive Graphs

Eduardo Fleury, Silvio Lattanzi, Vahab S. Mirrokni, Bryan PerozziarXiv 2017

Introduction

Processing massive graphs with trillions of edges presents significant challenges for traditional distributed frameworks. Most existing systems, such as MapReduce and Pregel, rely on the Bulk Synchronous Parallel (BSP) model. In BSP, computation proceeds in discrete "super-steps" where every participating machine must complete its task and synchronize before the next round begins. This synchronization creates two primary bottlenecks: stragglers, where a single slow machine delays the entire cluster, and topological inefficiency, where the number of rounds is tied to the graph's diameter, leading to many low-utility synchronization steps in sparse graphs.

ASYMP is a distributed graph processing system designed by Google to overcome these limitations. By adopting an asynchronous, lockless architecture, ASYMP achieves 3-50x speedups over synchronous counterparts and demonstrates remarkable resilience to machine failures.

System Architecture

The core innovation of ASYMP is its move away from global synchronization toward an asynchronous message-passing model. This design allows workers to process data as it arrives, without waiting for a global barrier.

The Five-Thread Worker Model

Each ASYMP worker machine utilizes a specialized five-thread architecture to maximize throughput and efficiency. This model separates concerns such as message reception, state updates, and data fetching.

The internal architecture of an ASYMP worker, highlighting the five-thread model and disk-based edge storage.

As shown in the architecture diagram, the worker components include:

  • Incoming Message Processor: Updates vertex states based on received data.
  • Active Node Selector (Priority Queue Logic): Uses a priority queue to determine which node to process next, optimizing convergence.
  • Adjacency List Fetcher: Pulls edge data from bulk storage rather than RAM, allowing the system to handle graphs larger than the aggregate memory of the cluster.
  • Message Creator: Executes user-defined logic to generate outgoing messages.
  • Message Sender: Batches messages to peers via RPC.

Lockless Design and Fault Tolerance

To maximize performance, ASYMP avoids global locks, allowing messages to be processed in arbitrary order. This asynchrony also simplifies fault tolerance. Instead of a "stop-the-world" recovery process, ASYMP uses asynchronous checkpointing. If a machine fails, its peers simply re-send the messages generated since the failed machine's last checkpoint, allowing the system to recover gracefully without halting the entire job.

Datasets and Evaluation

The system was evaluated on an unprecedented scale using a variety of datasets:

  • Public Graphs: Including LiveJournal, Twitter, Friendster, and the UK Webgraph.
  • Google Internal Data: Real-world networks from Google+, Orkut, and document similarity networks. The largest of these, WebGraph27, contains 356 billion nodes and 1.62 trillion edges.
  • Synthetic Benchmarks: RMAT graphs with up to $2^{32}$ nodes were used to test pure scalability.

Key Results and Insights

ASYMP's performance gains are driven by several key insights:

  1. Priority-Driven Convergence: By using priority queues for message ordering (e.g., propagating the smallest ID first in Connected Components), ASYMP significantly reduces the total number of messages required for convergence.
  2. Memory Efficiency: Streaming edges from disk rather than keeping them in RAM enables the processing of trillion-edge graphs on commodity hardware.
  3. Extreme Resilience: In stress tests where 50% of machines were artificially terminated, the total execution time increased by only 41%. In contrast, such a failure rate would typically cause total job failure in synchronous systems.

In terms of raw speed, ASYMP outperformed state-of-the-art MapReduce and Pregel implementations by 3x to 50x for Connected Component algorithms. The system also demonstrated near-linear scalability relative to both graph size and the number of machines.

Limitations and Future Work

While highly effective, ASYMP is best suited for self-stabilizing or idempotent algorithms where message order does not affect the final result. Algorithms requiring strict "exactly-once" semantics or specific ordering, such as certain PageRank variants, require more complex state management. Additionally, at very high scales (e.g., 64x machines), the effectiveness of local priority queues can diminish as they make less globally optimal decisions. Future work involves automated priority tuning and expanding the library of supported asynchronous primitives for complex machine learning tasks.

Summary updated

BibTeX
@misc{fleury2017asymp,
  author = {Eduardo Fleury and Silvio Lattanzi and Vahab S. Mirrokni and Bryan Perozzi},
  title = {{ASYMP: Fault-tolerant Mining of Massive Graphs}},
  year = {2017},
  eprint = {1712.09731},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1712.09731},
}
Figure