Lune

ICDE2026Top-tier venue

Low-Latency Stateful Stream Processing Through Timely and Accurate Prefetching

Eleni Zapridou, Anastasia Ailamaki

Abstract

Mission-critical applications often run "forever" and process large data volumes in real time while demanding low latency. To handle the large state of these applications, modern streaming engines rely on key-value stores and store state on local storage or remotely, but accessing such state inflates latency. As today's engines tightly couple the data path with state I/O, a tuple triggers state access only when it reaches a stateful operator, placing I/O on the critical path and stalling the CPU. However, the keys used to access the state are frequently known earlier in the query plan. Building on this insight, we propose Keyed Prefetching, which decouples the data path from state access by extracting future access keys at upstream operators and proactively staging the corresponding state in memory before tuples arrive. This overlaps I/O with ongoing computation and hides the latency of large-state accesses. We pair Keyed Prefetching with Timestamp-Aware Caching, a cache-eviction policy that jointly manages previously accessed and prefetched entries to use memory efficiently. Together, these techniques reduce latency for long-running, real-time queries without sacrificing throughput.

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.

Questions to start from

Lune can draw on

the full paper · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Fries: Fast and Consistent Runtime Reconfiguration in Dataflow Systems with Transactional Guarantees cites Rhino: Efficient Management of Very Large Distributed State for Stream Processing Engines
  • Meces: Latency-efficient Rescaling via Prioritized State Migration for Stateful Distributed Stream Processing Systems cites Rhino: Efficient Management of Very Large Distributed State for Stream Processing Engines
Builds onCited byLeft to right by year; the more cited, the higher.

Builds on7

  1. Rhino: Efficient Management of Very Large Distributed State for Stream Processing EnginesBonaventura Del Monte, Steffen Zeuch, Tilmann Rabl, Volker MarklSIGMOD 2020 · 56 citations
  2. Meces: Latency-efficient Rescaling via Prioritized State Migration for Stateful Distributed Stream Processing SystemsRong Gu, Han Yin, Weichang Zhong, Chunfeng Yuan et al.USENIX ATC 2022 · 22 citations
  3. A new benchmark harness for systematic and robust evaluation of streaming state storesEsmail Asyabi, Yuanli Wang, John Liagouris, Vasiliki Kalavri et al.EuroSys 2022 · 15 citations
  4. EIRES: Efficient Integration of Remote Data in Event Stream ProcessingBo Zhao, Han van der Aa, Thanh Tam Nguyen, Quoc Viet Hung Nguyen et al.SIGMOD 2021 · 13 citations
  5. Fries: Fast and Consistent Runtime Reconfiguration in Dataflow Systems with Transactional GuaranteesZuozhi Wang, Shengquan Ni, Avinash Kumar, Chen LiVLDB 2023 · 9 citations

Related papers

  1. FlowKV: A Semantic-Aware Store for Large-Scale State Management of Stream Processing EnginesGyewon Lee, Jaewoo Maeng, Jinsol Park, Jangho Seo et al.EuroSys 2023 · 6 citations
  2. S-QUERY: Opening the Black Box of Internal Stream Processor StateJim Verheijde, Vassilios Karakoidas, Marios Fragkoulis, Asterios KatsifodimosICDE 2022 · 5 citations
  3. Klink: Progress-Aware Scheduling for Streaming Data SystemsOmar Farhat, Khuzaima Daudjee, Leonardo QuerzoniSIGMOD 2021 · 7 citations
  4. Scabbard: Single-Node Fault-Tolerant Stream ProcessingGeorgios Theodorakis, Fotios Kounelis, Peter R. Pietzuch, Holger PirkVLDB 2022 · 21 citations
  5. TiLT: A Time-Centric Approach for Stream Query Optimization and ParallelizationAnand Jayarajan, Wei Zhao, Yudi Sun, Gennady PekhimenkoASPLOS 2023 · 6 citations
Dusk over the sea between two cliffs drawn in fine vertical lines