Lune

ASPLOS2022Top-tier venue

JSONSki: streaming semi-structured data with bit-parallel fast-forwarding

Lin Jiang, Zhijia Zhao

Abstract

Semi-structured data, such as JSON, are fundamental to the Web and document data stores. Streaming analytics on semi-structured data combines parsing and query evaluation into one pass to avoid generating parse trees. Though promising, its conventional design requires to parse the data stream in detail character by character, which limits the efficiency of streaming analytics.

This work reveals a wide range of opportunities to fast-forward the streaming over certain data substructures irrelevant to the query evaluation. However, identifying these substructures itself may need detailed parsing. To resolve this dilemma, this work designs a highly bit-parallel solution that intensively utilizes bitwise and SIMD operations to identify the irrelevant substructures during the streaming. It includes a new streaming model-recursive-descent streaming, for an easy adoption of fast-forward optimizations, a concept-structural intervals, for partitioning the data stream, and a group of bit-parallel algorithms implementing various fast-forward cases. The solution is implemented as a JSON streaming framework, called JSONSki. It offers a set of APIs that can be invoked during the streaming to dynamically fast-forward over different cases of irrelevant substructures. Evaluation using real-world datasets and standard path queries shows that JSONSki can achieve significant speedups over the state-of-the-art JSON processing tools while taking a minimum memory footprint.

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

  • Scalable Structural Index Construction for JSON Analytics cites ParPaRaw: Massively Parallel Parsing of Delimiter-Separated Raw Data
  • Scalable Structural Index Construction for JSON Analytics cites Challenging Sequential Bitstream Processing via Principled Bitwise Speculation
  • Supporting Descendants in SIMD-Accelerated JSONPath cites Scalable Structural Index Construction for JSON Analytics
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers1

  1. Supporting Descendants in SIMD-Accelerated JSONPathMateusz Gienieczko, Filip Murlak, Charles PapermanASPLOS 2023 · 6 citations

Builds on3

  1. Scalable Structural Index Construction for JSON AnalyticsLin Jiang, Junqiao Qiu, Zhijia ZhaoVLDB 2021 · 16 citations
  2. ParPaRaw: Massively Parallel Parsing of Delimiter-Separated Raw DataElias Stehle, Hans-Arno JacobsenVLDB 2020 · 11 citations
  3. Challenging Sequential Bitstream Processing via Principled Bitwise SpeculationJunqiao Qiu, Lin Jiang, Zhijia ZhaoASPLOS 2020 · 9 citations

Related papers

  1. Streaming Validation of JSON Documents Against SchemasAlexis Le Glaunec, Angela W. Li, Konstantinos MamourasVLDB 2026 · 2 citations
  2. Scaling Out Schema-free Stream JoinsDamjan Gjurovski, Sebastian MichelICDE 2020 · 1 citation
  3. JSON Tiles: Fast Analytics on Semi-Structured DataDominik Durner, Viktor Leis, Thomas NeumannSIGMOD 2021 · 28 citations
  4. Interleaved Bitstream Execution for Multi-Pattern Regex Matching on GPUsTianao Ge, Xiaowen Chu, Hongyuan LiuMICRO 2025 · 4 citations
  5. cuJSON: A Highly Parallel JSON Parser for GPUsAshkan Vedadi Gargary, Soroosh Safari Loaliyan, Zhijia ZhaoASPLOS 2026
Dusk over the sea between two cliffs drawn in fine vertical lines