Spruce: a Fast yet Space-saving Structure for Dynamic Graph Storage
Jifan Shi, Biao Wang, Yun Xu
Abstract
Dynamic graphs have been gaining increasing popularity across various application domains. With the growing size of these graphs, the update performance as well as space occupancy is becoming a crucial aspect of dynamic graph storage. Although existing dynamic graph systems can handle massive streaming updates (e.g., insertions and deletions), they cannot achieve both high throughput and low memory footprint. Drawing inspiration from the basic operations of the van Emde Boas (vEB) tree in double-logarithmic time, we designed Spruce, a high-performance yet space-saving in-memory structure to store dynamic graphs. Spruce uses a compact representation to construct the tree-like multilevel structure, which shares the common prefixes of vertices and has no merging or splitting of nodes to achieve the requirements of low memory consumption and high-efficiency dynamic operations. Furthermore, Spruce incorporates a read-optimized concurrency protocol, which refines ROWEX and Optimistic Locking, to facilitate efficient simultaneous read/write operations. Our experiment demonstrates that compared to Sortledton (the best of competitors), Spruce is up to 2.4X faster in ingesting graph updates, while saving up to 38.5% of memory space. As for graph analytics, Spruce shows high adaptability to different analytical workloads, and achieves comparable performance to other state-of-the-art dynamic graph structures.
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.
8 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Dynamic Graph Databases with Out-of-order Updates cites Sortledton: a universal, transactional graph data structure
- Dynamic Graph Databases with Out-of-order Updates cites LiveGraph: A Transactional Graph Storage System with Purely Sequential Adjacency List Scans
- Dynamic Graph Databases with Out-of-order Updates cites Teseo and the Analysis of Structural Dynamic Graphs
- Sortledton: a universal, transactional graph data structure cites LiveGraph: A Transactional Graph Storage System with Purely Sequential Adjacency List Scans
- Sortledton: a universal, transactional graph data structure cites Terrace: A Hierarchical Graph Container for Skewed Dynamic Graphs
- GTX: A Write-Optimized Latch-free Graph Data System with Transactional Support cites Sortledton: a universal, transactional graph data structure
- GTX: A Write-Optimized Latch-free Graph Data System with Transactional Support cites LiveGraph: A Transactional Graph Storage System with Purely Sequential Adjacency List Scans
- GTX: A Write-Optimized Latch-free Graph Data System with Transactional Support cites CuckooGraph: A Scalable and Space-Time Efficient Data Structure for Large-Scale Dynamic Graphs
- GTX: A Write-Optimized Latch-free Graph Data System with Transactional Support cites Terrace: A Hierarchical Graph Container for Skewed Dynamic Graphs
- GTX: A Write-Optimized Latch-free Graph Data System with Transactional Support cites Teseo and the Analysis of Structural Dynamic Graphs
- GTX: A Write-Optimized Latch-free Graph Data System with Transactional Support cites RisGraph: A Real-Time Streaming System for Evolving Graphs to Support Sub-millisecond Per-update Analysis at Millions Ops/s
- CuckooGraph: A Scalable and Space-Time Efficient Data Structure for Large-Scale Dynamic Graphs cites Sortledton: a universal, transactional graph data structure
- CuckooGraph: A Scalable and Space-Time Efficient Data Structure for Large-Scale Dynamic Graphs cites LiveGraph: A Transactional Graph Storage System with Purely Sequential Adjacency List Scans
- CuckooGraph: A Scalable and Space-Time Efficient Data Structure for Large-Scale Dynamic Graphs cites Terrace: A Hierarchical Graph Container for Skewed Dynamic Graphs
- CuckooGraph: A Scalable and Space-Time Efficient Data Structure for Large-Scale Dynamic Graphs cites Teseo and the Analysis of Structural Dynamic Graphs
- CuckooGraph: A Scalable and Space-Time Efficient Data Structure for Large-Scale Dynamic Graphs cites RisGraph: A Real-Time Streaming System for Evolving Graphs to Support Sub-millisecond Per-update Analysis at Millions Ops/s
- Terrace: A Hierarchical Graph Container for Skewed Dynamic Graphs cites Teseo and the Analysis of Structural Dynamic Graphs
- LSMGraph: A High-Performance Dynamic Graph Storage System with Multi-Level CSR cites Sortledton: a universal, transactional graph data structure
- LSMGraph: A High-Performance Dynamic Graph Storage System with Multi-Level CSR cites LiveGraph: A Transactional Graph Storage System with Purely Sequential Adjacency List Scans
- LSMGraph: A High-Performance Dynamic Graph Storage System with Multi-Level CSR cites Terrace: A Hierarchical Graph Container for Skewed Dynamic Graphs
- LSMGraph: A High-Performance Dynamic Graph Storage System with Multi-Level CSR cites RisGraph: A Real-Time Streaming System for Evolving Graphs to Support Sub-millisecond Per-update Analysis at Millions Ops/s
- Teseo and the Analysis of Structural Dynamic Graphs cites LiveGraph: A Transactional Graph Storage System with Purely Sequential Adjacency List Scans
- Aster: Enhancing LSM-structures for Scalable Graph Database cites Sortledton: a universal, transactional graph data structure
- Aster: Enhancing LSM-structures for Scalable Graph Database cites Teseo and the Analysis of Structural Dynamic Graphs
- RisGraph: A Real-Time Streaming System for Evolving Graphs to Support Sub-millisecond Per-update Analysis at Millions Ops/s cites LiveGraph: A Transactional Graph Storage System with Purely Sequential Adjacency List Scans
Cited by top-tier papers8
- 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
- Aster: Enhancing LSM-structures for Scalable Graph DatabaseDingheng Mo, Junfeng Liu, Fan Wang, Siqiang LuoSIGMOD 2025 · 10 citations
- Dynamic Graph Databases with Out-of-order UpdatesMuhammad Ghufran Khan, Ioana Manolescu, Angelos-Christos G. AnadiotisVLDB 2024 · 5 citations
- GTX: A Write-Optimized Latch-free Graph Data System with Transactional SupportLibin Zhou, Lu Xing, Yeasir Rayhan, Walid G. ArefSIGMOD 2025 · 3 citations
- CuckooGraph: A Scalable and Space-Time Efficient Data Structure for Large-Scale Dynamic GraphsZhuochen Fan, Yalun Cai, Zirui Liu, Jiarui Guo et al.ICDE 2025 · 3 citations
Builds on7
- Teseo and the Analysis of Structural Dynamic GraphsDean De Leo, Peter BonczVLDB 2021 · 65 citations
- RisGraph: A Real-Time Streaming System for Evolving Graphs to Support Sub-millisecond Per-update Analysis at Millions Ops/sGuanyu Feng, Zixuan Ma, Daixuan Li, Shengqi Chen et al.SIGMOD 2021 · 56 citations
- LiveGraph: A Transactional Graph Storage System with Purely Sequential Adjacency List ScansXiaowei Zhu, Marco Serafini, Xiaosong Ma, Ashraf Aboulnaga et al.VLDB 2020 · 53 citations
- Terrace: A Hierarchical Graph Container for Skewed Dynamic GraphsPrashant Pandey, Brian Wheatman, Helen Xu, Aydin BuluçSIGMOD 2021 · 53 citations
- Sortledton: a universal, transactional graph data structurePer Fuchs, Jana Giceva, Domagoj MarganVLDB 2022 · 46 citations
Related papers
- RapidStore: An Efficient Dynamic Graph Storage System for Concurrent QueriesChiyu Hao, Jixian Su, Shixuan Sun, Hao Zhang et al.VLDB 2025 · 2 citations
- RadixGraph: A Fast, Space-Optimized Data Structure for Dynamic Graph StorageHaoxuan Xie, Junfeng Liu, Siqiang Luo, Kai WangSIGMOD 2026 · 1 citation
- Revisiting the Design of In-Memory Dynamic Graph StorageJixian Su, Chiyu Hao, Shixuan Sun, Hao Zhang et al.SIGMOD 2025 · 6 citations
- Auxo: A Scalable and Efficient Graph Stream Summarization StructureZhiguo Jiang, Hanhua Chen, Hai JinVLDB 2023 · 18 citations
- Enabling Efficient Update on Rule-Based Compressed GraphLin Feng, Feng Zhang, Zheng Chen, Yuxin Tang et al.SIGMOD 2026 · 1 citation
