Distributed Asynchronous Regular Path Queries (RPQs) on Graphs - Inria - Institut national de recherche en sciences et technologies du numérique Access content directly
Conference Papers Year : 2023

Distributed Asynchronous Regular Path Queries (RPQs) on Graphs

Vasileios Trigonakis
Ayoub Berdai
Luigi Fusco
Călin Iorgulescu
Jinsoo Lee
Sungpack Hong
Hassan Chafi


Graph engines play a crucial role in modern data analytics pipelines, serving as a middleware for handling complex queries across various domains, such as financial fraud detection. Graph queries enable flexible exploration and analysis, akin to SQL in relational databases. Among the most expressive and powerful constructs of graph querying are regular path queries (RPQs). RPQs enable support for variable-length path patterns based on regular expressions, such as (p1:Person)-/:Knows+/->(p2:Person) that searches for non-empty paths of any length between two persons. In this paper, we introduce a novel design for distributed RPQs that builds on top of distributed asynchronous pipelined traversals to enable (i) memory control of path explorations, with (ii) great performance and scalability. Through our evaluation, we show that with sixteen machines, it outperforms Neo4j by 91× on average and a relational implementation of the same queries in PostgreSQL by 230×, while maintaining low memory consumption. CCS Concepts • Information systems → Parallel and distributed DBMSs; Main memory engines; Database query processing; Graph-based database models; DBMS engine architectures.
Fichier principal
Vignette du fichier
rpqd.pdf (422.13 Ko) Télécharger le fichier
Origin Files produced by the author(s)

Dates and versions

hal-04355309 , version 1 (20-12-2023)




Tomáš Faltín, Vasileios Trigonakis, Ayoub Berdai, Luigi Fusco, Călin Iorgulescu, et al.. Distributed Asynchronous Regular Path Queries (RPQs) on Graphs. Middleware 2023: 24th International Middleware Conference, Dec 2023, Bologna, Italy, Italy. pp.35-41, ⟨10.1145/3626562.3626833⟩. ⟨hal-04355309⟩


17 View
13 Download



Gmail Mastodon Facebook X LinkedIn More