DRPQ: Distributed Evaluation of Regular Path Queries On Streaming Graphs
Siyuan Zhang, Kai Zhang, Zhenying He, Yinan Jing, Zhigang Zhao, X. Sean Wang
Abstract
Persistent Regular Path Query (RPQ) on streaming graphs is widely applicable to many online analysis applications. Existing research primarily focuses on the single-worker scenario, while scaling out to distributed RPQ processing on multiple workers is desirable when facing a high workload. Existing distributed solutions are designed for general streaming queries, and various bottlenecks exist that significantly limit the performance when performing streaming RPQ evaluation. The challenge is how to execute queries with multiple workers while introducing limited overhead and ensuring sufficient speedup as the number of workers increases.
This paper introduces a distributed processing strategy called DRPQ by carefully dividing a query into multiple partially matched query tasks. The idea is to form query tasks based on initial matches of the graph against the given regular expression, and to dynamically distribute these tasks to workers to balance their workloads. To reduce redundant evaluation across different workers, a grouping method is proposed to find query tasks that are likely to share evaluation processes, and send them to the same workers. Extensive experiments on two real-world graph datasets demonstrate that DRPQ is significantly more efficient and scalable than existing distributed solutions. Furthermore, the proposed grouping method proves to be particularly effective, nearly doubling the throughput in most cases.
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 5abcfa3c-4f83-4229-88ce-97d21ecfac9bBuilds on12
- Regular Path Query Evaluation on Streaming GraphsAnil Pacaci, Angela Bonifati, M. Tamer ÖzsuSIGMOD 2020 · 49 citations
- Worst-Case Optimal Graph Joins in Almost No SpaceDiego Arroyuelo, Aidan Hogan, Gonzalo Navarro, Juan L. Reutter et al.SIGMOD 2021 · 34 citations
- Representing Paths in Graph Database Pattern MatchingWim Martens, Matthias Niewerth, Tina Popp, Carlos Rojas et al.VLDB 2023 · 32 citations
- On the Optimization of Recursive Relational Queries: Application to Graph QueriesLouis Jachiet, Pierre Genevès, Nils Gesbert, Nabil LayaïdaSIGMOD 2020 · 31 citations
- DLCR: Efficient Indexing for Label-Constrained Reachability Queries on Large Dynamic GraphsXin Chen, You Peng, Sibo Wang, Jeffrey Xu YuVLDB 2022 · 26 citations
Related papers
- MWP: Multi-Window Parallel Evaluation of Regular Path Queries on Streaming GraphsSiyuan Zhang, Zhenying He, Yinan Jing, Kai Zhang et al.SIGMOD 2024 · 2 citations
- LM-SRPQ: Efficiently Answering Regular Path Query in Streaming GraphsXiangyang Gou, Xinyi Ye, Lei Zou, Jeffrey Xu YuVLDB 2024 · 8 citations
- Wings: Efficient Online Multiple Graph Pattern MatchingGuanxian Jiang, Yunjian Zhao, Yichao Li, Zhi Liu et al.ICDE 2024 · 1 citation
- Evaluating Complex Queries on Streaming GraphsAnil Pacaci, Angela Bonifati, M. Tamer ÖzsuICDE 2022 · 18 citations
- cuRPQ: A High-Performance GPU-Based Framework for Processing Regular and Conjunctive Regular Path QueriesSungwoo Park, Seohyeon Kim, Min-Soo KimSIGMOD 2026 · 1 citation
