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
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
脉络
它引用的 Paper4
- LiveGraph: A Transactional Graph Storage System with Purely Sequential Adjacency List ScansXiaowei Zhu, Marco Serafini, Xiaosong Ma, Ashraf Aboulnaga 等VLDB 2020 · 53 次引用
- aDFS: An Almost Depth-First-Search Distributed Graph-Querying SystemVasileios Trigonakis, Jean-Pierre Lozi, Tomás Faltín, Nicholas P. Roth 等USENIX ATC 2021 · 28 次引用
- GAIA: A System for Interactive Analysis on Distributed Graphs Using a High-Level LanguageZhengping Qian, Chenqiang Min, Longbin Lai, Yong Fang 等NSDI 2021 · 21 次引用
- Banyan: A Scoped Dataflow Engine for Graph Query ServiceLi Su, Xiaoming Qin, Zichao Zhang, Rui Yang 等VLDB 2022 · 10 次引用
相关 Paper
- Aster: Enhancing LSM-structures for Scalable Graph DatabaseDingheng Mo, Junfeng Liu, Fan Wang, Siqiang LuoSIGMOD 2025 · 10 次引用
- Chimera: A system design of dual storage and traversal-join unified query processing for SQL/PGQGeonho Lee, Jeongho Park, Min-Soo KimVLDB 2025 · 4 次引用
- Graphix: "One User's JSON is Another User's Graph"Glenn Galvizo, Michael J. CareyICDE 2024 · 1 次引用
- G-Tran: A High Performance Distributed Graph Database with a Decentralized ArchitectureHongzhi Chen, Changji Li, Chenguang Zheng, Chenghuan Huang 等VLDB 2022 · 20 次引用
- Connectivity-Oriented Property Graph Partitioning for Distributed Graph Pattern Query ProcessingMin Shi, Peng Peng, Xu Zhou, Jiayu Liu 等SIGMOD 2025 · 3 次引用
