Lune

SIGMOD2021Top-tier venue

Terrace: A Hierarchical Graph Container for Skewed Dynamic Graphs

Prashant Pandey, Brian Wheatman, Helen Xu, Aydin Buluç

Abstract

Various applications model problems as streaming graphs, which need to quickly apply a stream of updates and run algorithms on the updated graph. Furthermore, many dynamic real-world graphs, such as social networks, follow a skewed distribution of vertex degrees, where there are a few high-degree vertices and many low-degree vertices.

Existing static graph-processing systems optimized for graph skewness achieve high performance and low space usage by preprocessing a cache-efficient graph partitioning based on vertex degree. In the streaming setting, the whole graph is not available upfront, however, so finding an optimal partitioning is not feasible in the presence of updates. As a result, existing streaming graph-processing systems take a "one-size-fits-all" approach, leaving performance on the table.

We present Terrace, a system for streaming graphs that uses a hierarchical data structure design to store a vertex's neighbors in different data structures depending on the degree of the vertex. This multi-level structure enables Terrace to dynamically partition vertices based on their degrees and adapt to skewness in the underlying graph.

Our experiments show that Terrace supports faster batch insertions for batch sizes up to 1M when compared to Aspen, a state-ofthe-art graph streaming system. On graph query algorithms, Terrace is between 1.7×-2.6× faster than Aspen and between 0.5×-1.3× as fast as Ligra, a state-of-the-art static graph-processing system.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

27 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Spruce: a Fast yet Space-saving Structure for Dynamic Graph Storage cites Sortledton: a universal, transactional graph data structure
  • Spruce: a Fast yet Space-saving Structure for Dynamic Graph Storage cites Teseo and the Analysis of Structural Dynamic Graphs
  • LSGraph: A Locality-centric High-performance Streaming Graph Engine cites Sortledton: a universal, transactional graph data structure
  • LSGraph: A Locality-centric High-performance Streaming Graph Engine cites Teseo and the Analysis of Structural Dynamic Graphs
  • LSMGraph: A High-Performance Dynamic Graph Storage System with Multi-Level CSR cites Spruce: a Fast yet Space-saving Structure for Dynamic Graph Storage
  • LSMGraph: A High-Performance Dynamic Graph Storage System with Multi-Level CSR cites LSGraph: A Locality-centric High-performance Streaming Graph Engine
  • LSMGraph: A High-Performance Dynamic Graph Storage System with Multi-Level CSR cites Sortledton: a universal, transactional graph data structure
  • Dynamic Graph Algorithms with Batch Updates in the Massively Parallel Computation Model cites Parallel Batch-Dynamic Graphs: Algorithms and Lower Bounds
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers27

  1. Sortledton: a universal, transactional graph data structurePer Fuchs, Jana Giceva, Domagoj MarganVLDB 2022 · 46 citations
  2. LSMGraph: A High-Performance Dynamic Graph Storage System with Multi-Level CSRSong Yu, Shufeng Gong, Qian Tao, Sijie Shen et al.SIGMOD 2025 · 25 citations
  3. Spruce: a Fast yet Space-saving Structure for Dynamic Graph StorageJifan Shi, Biao Wang, Yun XuSIGMOD 2024 · 19 citations
  4. LSGraph: A Locality-centric High-performance Streaming Graph EngineHao Qi, Yiyang Wu, Ligang He, Yu Zhang et al.EuroSys 2024 · 15 citations
  5. BP-tree: Overcoming the Point-Range Operation Tradeoff for In-Memory B-treesHelen Xu, Amanda Li, Brian Wheatman, Manoj Marneni et al.VLDB 2023 · 13 citations

Builds on3

  1. Teseo and the Analysis of Structural Dynamic GraphsDean De Leo, Peter BonczVLDB 2021 · 65 citations
  2. Parallel Batch-Dynamic Graphs: Algorithms and Lower BoundsLaxman Dhulipala, David Durfee, Janardhan Kulkarni, Richard Peng et al.SODA 2020 · 28 citations
  3. Dynamic Graph Algorithms with Batch Updates in the Massively Parallel Computation ModelKrzysztof Nowicki, Krzysztof OnakSODA 2021 · 5 citations

Related papers

  1. EIGA: elastic and scalable dynamic graph analysisKasimir Gabert, Kaan Sancak, M. Yusuf Özkaya, Ali Pinar et al.SC 2021 · 5 citations
  2. Hybrid Edge Partitioner: Partitioning Large Power-Law Graphs under Memory ConstraintsRuben Mayer, Hans-Arno JacobsenSIGMOD 2021 · 29 citations
  3. GraphZeppelin: Storage-Friendly Sketching for Connected Components on Dynamic Graph StreamsDavid Tench, Evan West, Victor Zhang, Michael A. Bender et al.SIGMOD 2022 · 5 citations
  4. Pensieve: Skewness-Aware Version Switching for Efficient Graph ProcessingTangwei Ying, Hanhua Chen, Hai JinSIGMOD 2020 · 12 citations
  5. Improving Streaming Graph Processing Performance using Input KnowledgeAbanti Basak, Zheng Qu, Jilan Lin, Alaa R. Alameldeen et al.MICRO 2021 · 20 citations
Dusk over the sea between two cliffs drawn in fine vertical lines