S-QUERY: Opening the Black Box of Internal Stream Processor State
Jim Verheijde, Vassilios Karakoidas, Marios Fragkoulis, Asterios Katsifodimos
Abstract
Distributed streaming dataflow systems have evolved into scalable and fault-tolerant production-grade systems. Their applicability has departed from the mere analysis of streaming windows and complex-event processing, and now includes cloud applications and machine learning inference. Although the advancements in the state management of streaming systems have contributed significantly to their maturity, the internal state of streaming operators has been so far hidden from external applications. However, that internal state can be seen as a materialized view that can be used for analytics, monitoring, and debugging. In this paper we argue that exposing the internal state of streaming systems to outside applications by making it queryable, opens the road for novel use cases. To this end, we introduce S-QUERY: an approach and reference architecture where the state of stream processors can be queried - either live or through snapshots, achieving different isolation levels. We show how this new capability can be implemented in an existing open-source stream processor, and how queryable state can affect the performance of such a system. Our experimental evaluation suggests that the snapshot configuration adds only up to 8ms latency in the 99.99thpercentile and negligible increase in 0-90thpercentiles.
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
Cited by top-tier papers1
Builds on2
- Clonos: Consistent Causal Recovery for Highly-Available Streaming DataflowsPedro F. Silvestre, Marios Fragkoulis, Diomidis Spinellis, Asterios KatsifodimosSIGMOD 2021 · 24 citations
- Towards Concurrent Stateful Stream Processing on Multicore ProcessorsShuhao Zhang, Yingjun Wu, Feng Zhang, Bingsheng HeICDE 2020 · 21 citations
Related papers
- StreamSwitch: Fulfilling Latency Service-Layer Agreement for Stateful StreamingZhaochen She, Yancan Mao, Hailin Xiang, Xin Wang et al.INFOCOM 2023 · 5 citations
- Low-Latency Stateful Stream Processing Through Timely and Accurate PrefetchingEleni Zapridou, Anastasia AilamakiICDE 2026
- Rhino: Efficient Management of Very Large Distributed State for Stream Processing EnginesBonaventura Del Monte, Steffen Zeuch, Tilmann Rabl, Volker MarklSIGMOD 2020 · 56 citations
- Incremental Stream Query Deployment under Continuous Infrastructure Changes in the Cloud-Edge ContinuumAnkit Chaudhary, Felix Lang, Danila Ferents, Nils L. Schubert et al.VLDB 2026 · 2 citations
- Shared Arrangements: practical inter-query sharing for streaming dataflowsFrank McSherry, Andrea Lattuada, Malte Schwarzkopf, Timothy RoscoeVLDB 2020 · 25 citations
