PegasusN: A Scalable and Versatile Graph Mining System

Ha-Myung Park, Chiwan Park, U Kang

Abstract

As web indexes and social networks reach trillion-page and billion-user scales, traditional graph mining systems face a "scalability wall." PegasusN is a versatile system built on Hadoop and Spark designed to overcome these limits. By integrating pre-partitioning and data pruning, PegasusN successfully processes "peta-scale" graphs, such as the 72-billion-edge ClueWeb12, which cause other state-of-the-art frameworks to fail.

Introduction

Modern graph data has outpaced the capabilities of conventional processing tools. Existing solutions typically fall into three categories, each with significant limitations:

  • Single-machine systems are constrained by local storage and CPU.
  • Distributed memory systems crash when graph data exceeds available cluster RAM.
  • Early MapReduce systems (like the original Pegasus) suffer from high I/O overhead due to constant data shuffling across the network.

PegasusN addresses these challenges by providing a system that is both versatile—supporting structure analysis, subgraph enumeration, generation, and visualization—and scalable enough to handle graphs exceeding distributed memory capacity.

System Architecture and Methods

PegasusN operates via a unified interactive shell, coordinating four primary modules: Graph Structure Analysis, Subgraph Enumeration, Graph Generation, and Graph Visualization.

PegasusN System Architecture Overview

The system achieves high performance through two key innovations:

  1. Pre-partitioning: The graph is divided into balanced blocks that account for sparsity. By caching these blocks in memory or on disk, PegasusN avoids the "shuffle tax"—the repetitive movement of massive intermediate data across the network.
  2. Pruning: PegasusN identifies and removes data that will no longer change in subsequent iterations, reducing both communication and computational load as algorithms converge.

Experimental Evaluation

The researchers evaluated PegasusN against six competitors (Pegasus, Pregelix, GraphX, PowerGraph, Hama, and Giraph) using five real-world datasets of increasing scale, culminating in the 71.7-billion-edge ClueWeb12 (CW12) graph.

Key Results

The evaluation focused on PageRank, Connected Components, and Triangle Enumeration across these datasets.

Performance comparison of PegasusN against state-of-the-art systems across multiple algorithms
  • Unmatched Scalability: PegasusN was the only system capable of processing the 72-billion-edge CW12 dataset. All other tested systems failed due to memory errors or timeouts.
  • Efficiency: On the CW09 dataset, the Spark-based version of PegasusN outperformed competitors in PageRank completion time.
  • Linear Scaling: PegasusN demonstrated near-linear performance scaling relative to graph size, whereas competing systems often showed exponential runtime increases before failing.

Conclusion

PegasusN represents a shift toward graph-aware distributed computing. By combining robust pre-partitioning with iterative pruning, it breaks the scalability wall for peta-scale graph mining. Future work will focus on improving visualization for massive graphs and exploring lower hardware thresholds for these optimizations.

Summary updated

BibTeX
@inproceedings{park2018pegasusn,
  author = {Ha-Myung Park and Chiwan Park and U Kang},
  title = {{PegasusN: A Scalable and Versatile Graph Mining System}},
  booktitle = {AAAI Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.1609/aaai.v32i1.11372},
}
Figure