Scaling Asynchronous Graph Query Processing via Partitioned Stateful Traversal Machines
Shaoyuan Chen, Hongtao Chen, Shaonan Ma, Yajie Qin, Zheng Wang, Weiyu Xie, Mingxing Zhang, Kang Chen, Xia Liao, Yingdi Shan, Jinlei Jiang, Yong Wei Wu
Abstract
Due to the escalating demand to analyze large graphs, many organizations are now collecting billion-level property graph datasets, concurrently executing many complex graph queries against them, and expecting interactive-level response latency. However, such requirements are particularly challenging because of the notoriously irregular data access pattern and complex dependencies between heterogeneous subtasks. Despite the widespread availability of many-core CPUs and high-speed networking in modern datacenters, existing distributed graph query systems struggle with their inherent inefficiencies, resulting in low hardware utilization and poor query performance on these state-of-the-art hardware. To address these challenges, we introduce the Partitioned Stateful Traversal Machine (PSTM), which extends the Gremlin graph traversal machine. PSTM retains the expressive power of the Gremlin query language, enabling it to accommodate a wide range of graph query tasks, including traversal, pattern matching, filtering, and result aggregation. It additionally introduces query memoranda, allowing for more efficient implementation and execution of numerous graph queries in distributed environments. Moreover, PSTM facilitates various system-level optimizations, such as massively parallel execution, overlapping computation with communication, locality-aware data access, and lightweight progress tracking. Building upon PSTM, we develop GraphDance, a distributed graph database featuring an efficient asynchronous PSTM run-time. Our evaluations, conducted on an 8-node cluster, show that GraphDance achieves millisecond-level query latency for complex queries on terabyte-scale graphs, with an average latency reduction of 89.2% across all interactive complex queries in the LDBC SNB benchmark compared to existing distributed graph query systems.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 971a3ce0-bae4-4a23-a4ad-4bbde200ae40Builds on4
- 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
- aDFS: An Almost Depth-First-Search Distributed Graph-Querying SystemVasileios Trigonakis, Jean-Pierre Lozi, Tomás Faltín, Nicholas P. Roth et al.USENIX ATC 2021 · 28 citations
- GAIA: A System for Interactive Analysis on Distributed Graphs Using a High-Level LanguageZhengping Qian, Chenqiang Min, Longbin Lai, Yong Fang et al.NSDI 2021 · 21 citations
- Banyan: A Scoped Dataflow Engine for Graph Query ServiceLi Su, Xiaoming Qin, Zichao Zhang, Rui Yang et al.VLDB 2022 · 10 citations
Related papers
- Aster: Enhancing LSM-structures for Scalable Graph DatabaseDingheng Mo, Junfeng Liu, Fan Wang, Siqiang LuoSIGMOD 2025 · 10 citations
- Chimera: A system design of dual storage and traversal-join unified query processing for SQL/PGQGeonho Lee, Jeongho Park, Min-Soo KimVLDB 2025 · 4 citations
- Graphix: "One User's JSON is Another User's Graph"Glenn Galvizo, Michael J. CareyICDE 2024 · 1 citation
- G-Tran: A High Performance Distributed Graph Database with a Decentralized ArchitectureHongzhi Chen, Changji Li, Chenguang Zheng, Chenghuan Huang et al.VLDB 2022 · 20 citations
- Connectivity-Oriented Property Graph Partitioning for Distributed Graph Pattern Query ProcessingMin Shi, Peng Peng, Xu Zhou, Jiayu Liu et al.SIGMOD 2025 · 3 citations
