Lune

SIGMOD2024Top-tier venue

MWP: Multi-Window Parallel Evaluation of Regular Path Queries on Streaming Graphs

Siyuan Zhang, Zhenying He, Yinan Jing, Kai Zhang, X. Sean Wang

Abstract

A persistent Regular Path Query (RPQ) on a streaming graph is to continuously find every pair of vertices that are connected by a path in the graph within a sliding window, such that the edge label sequence of this path matches a given regular expression. The existing RPQ evaluation algorithm in the literature incrementally maintains a set of spanning-tree-like data structures to quickly form query results and to avoid reprocessing edges that are shared by multiple sliding windows. This approach allows parallel processing of the graph edges within a sliding window but requires a blocking expiration phase between sliding windows to remove the old edges. This blocking phase can significantly degrade the query performance, especially when the edges arrive quickly and the sliding windows overlap significantly.

This paper presents a new RPQ evaluation strategy called Multi-Window Parallel (MWP) method leveraging a new data structure called Timestamped Rooted Digraph (TRD). The novel idea is to incrementally maintain TRDs for the quick formulation of query results, like the aforementioned spanning trees, but simultaneously contain needed information for multiple sliding windows. MWP eliminates the forced blocking expiration phase. Only when memory runs low, a quick "dirty garbage collection" (DGC) process is done to remove some unneeded edges and nodes on TRDs, without incurring large costs. Extensive experiments on real graph datasets show that MWP significantly outperforms the existing algorithm in terms of throughput, tail latency, and scalability, and that DGC provides an effective solution for releasing memory with minimum impact.

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.

1 top-tier paper has 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

  • Time- and Space-Efficient Regular Path Queries cites On the Optimization of Recursive Relational Queries: Application to Graph Queries
  • Time- and Space-Efficient Regular Path Queries cites Worst-Case Optimal Graph Joins in Almost No Space
  • Time- and Space-Efficient Regular Path Queries cites Regular Path Query Evaluation on Streaming Graphs
  • DRPQ: Distributed Evaluation of Regular Path Queries On Streaming Graphs cites Time- and Space-Efficient Regular Path Queries
  • DRPQ: Distributed Evaluation of Regular Path Queries On Streaming Graphs cites On the Optimization of Recursive Relational Queries: Application to Graph Queries
  • DRPQ: Distributed Evaluation of Regular Path Queries On Streaming Graphs cites Sliding Window-based Approximate Triangle Counting over Streaming Graphs with Duplicate Edges
  • DRPQ: Distributed Evaluation of Regular Path Queries On Streaming Graphs cites Worst-Case Optimal Graph Joins in Almost No Space
  • DRPQ: Distributed Evaluation of Regular Path Queries On Streaming Graphs cites Regular Path Query Evaluation on Streaming Graphs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. DRPQ: Distributed Evaluation of Regular Path Queries On Streaming GraphsSiyuan Zhang, Kai Zhang, Zhenying He, Yinan Jing et al.SIGMOD 2026

Builds on5

  1. Regular Path Query Evaluation on Streaming GraphsAnil Pacaci, Angela Bonifati, M. Tamer ÖzsuSIGMOD 2020 · 49 citations
  2. Worst-Case Optimal Graph Joins in Almost No SpaceDiego Arroyuelo, Aidan Hogan, Gonzalo Navarro, Juan L. Reutter et al.SIGMOD 2021 · 34 citations
  3. On the Optimization of Recursive Relational Queries: Application to Graph QueriesLouis Jachiet, Pierre Genevès, Nils Gesbert, Nabil LayaïdaSIGMOD 2020 · 31 citations
  4. Sliding Window-based Approximate Triangle Counting over Streaming Graphs with Duplicate EdgesXiangyang Gou, Lei ZouSIGMOD 2021 · 26 citations
  5. Time- and Space-Efficient Regular Path QueriesDiego Arroyuelo, Aidan Hogan, Gonzalo Navarro, Javiel Rojas-LedesmaICDE 2022 · 17 citations

Related papers

  1. LM-SRPQ: Efficiently Answering Regular Path Query in Streaming GraphsXiangyang Gou, Xinyi Ye, Lei Zou, Jeffrey Xu YuVLDB 2024 · 8 citations
  2. Regular Path Query Evaluation Sharing a Reduced Transitive Closure Based on Graph ReductionInju Na, Yang-Sae Moon, Ilyeop Yi, Kyu-Young Whang et al.ICDE 2022 · 10 citations
  3. Temporal Regular Path QueriesMarcelo Arenas, Pedro Bahamondes, Amir Aghasadeghi, Julia StoyanovichICDE 2022 · 11 citations
  4. Evaluating Complex Queries on Streaming GraphsAnil Pacaci, Angela Bonifati, M. Tamer ÖzsuICDE 2022 · 18 citations
  5. cuRPQ: A High-Performance GPU-Based Framework for Processing Regular and Conjunctive Regular Path QueriesSungwoo Park, Seohyeon Kim, Min-Soo KimSIGMOD 2026 · 1 citation
Dusk over the sea between two cliffs drawn in fine vertical lines