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 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 fc37358f-6244-459e-9101-30a8ac1ef221Cited by top-tier papers1
Ask how each one uses itBuilds 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
