Supporting Descendants in SIMD-Accelerated JSONPath
Mateusz Gienieczko, Filip Murlak, Charles Paperman
Abstract
Harnessing the power of SIMD can bring tremendous performance gains in data processing. In querying streamed JSON data, the state of the art leverages SIMD to fast forward significant portions of the document. However, it does not provide support for descendant, which excludes many real-life queries and makes formulating many others hard. In this work, we aim to change this: we consider the fragment of JSONPath that supports child, descendant, wildcard, and labels. We propose a modular approach based on novel depth-stack automata that process a stream of events produced by a state-driven classifier, allowing fast forwarding parts of the input document irrelevant at the current stage of the computation. We implement our solution in Rust and compare it with the state of the art, confirming that our approach allows supporting descendants without sacrificing performance, and that reformulating natural queries using descendants brings impressive performance gains in many cases.
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.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- GpJSON: High-performance JSON Data Processing on GPUs cites Scalable Structural Index Construction for JSON Analytics
- JSONSki: streaming semi-structured data with bit-parallel fast-forwarding cites Scalable Structural Index Construction for JSON Analytics
Cited by top-tier papers1
Builds on2
Related papers
- Streaming Validation of JSON Documents Against SchemasAlexis Le Glaunec, Angela W. Li, Konstantinos MamourasVLDB 2026 · 2 citations
- Scalable Complex Event Processing on Video StreamsChenxia Han, Chaokun Chang, Srijan Srivastava, Yao Lu et al.SIGMOD 2025
- Scaling Out Schema-free Stream JoinsDamjan Gjurovski, Sebastian MichelICDE 2020 · 1 citation
- Speculative Speculative DecodingTanishq Kumar, Tri Dao, Avner MayICLR 2026 · 15 citations
- cuJSON: A Highly Parallel JSON Parser for GPUsAshkan Vedadi Gargary, Soroosh Safari Loaliyan, Zhijia ZhaoASPLOS 2026
