Lune

PPoPP2022Top-tier venue

Stream processing with dependency-guided synchronization

Konstantinos Kallas, Filip Niksic, Caleb Stanford, Rajeev Alur

Abstract

Real-time data processing applications with low latency requirements have led to the increasing popularity of stream processing systems. While such systems offer convenient APIs that can be used to achieve data parallelism automatically, they offer limited support for computations that require synchronization between parallel nodes. In this paper, we propose dependency-guided synchronization (DGS), an alternative programming model for stateful streaming computations with complex synchronization requirements. In the proposed model, the input is viewed as partially ordered, and the program consists of a set of parallelization constructs which are applied to decompose the partial order and process events independently. Our programming model maps to an execution model called synchronization plans which supports synchronization between parallel nodes. Our evaluation shows that APIs offered by two widely used systems---Flink and Timely Dataflow---cannot suitably expose parallelism in some representative applications. In contrast, DGS enables implementations with scalable performance, the resulting synchronization plans offer throughput improvements when implemented manually in existing systems, and the programming overhead is small compared to writing sequential code.

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.

2 top-tier papers have 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

  • Stream Types cites DiffStream: differential output testing for stream processing programs
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. A Robust Theory of Series Parallel GraphsRajeev Alur, Caleb Stanford, Christopher WatsonPOPL 2023 · 8 citations
  2. Stream TypesJoseph W. Cutler, Christopher Watson, Emeka Nkurumeh, Phillip Hilliard et al.PLDI 2024 · 7 citations

Builds on2

  1. Move Fast and Meet Deadlines: Fine-grained Real-time Stream Processing with CameoLe Xu, Shivaram Venkataraman, Indranil Gupta, Luo Mai et al.NSDI 2021 · 38 citations
  2. DiffStream: differential output testing for stream processing programsKonstantinos Kallas, Filip Niksic, Caleb Stanford, Rajeev AlurOOPSLA 2020 · 18 citations

Related papers

  1. Learning from the Past: Adaptive Parallelism Tuning for Stream Processing SystemsYuxing Han, Lixiang Chen, Haoyu Wang, Zhanghao Chen et al.ICDE 2025 · 2 citations
  2. DZiG: sparsity-aware incremental processing of streaming graphsMugilan Mariappan, Joanna Che, Keval VoraEuroSys 2021 · 47 citations
  3. Flo: A Semantic Foundation for Progressive Stream ProcessingShadaj Laddad, Alvin Cheung, Joseph M. Hellerstein, Mae MilanoPOPL 2025 · 3 citations
  4. DecoPa: Query Decomposition for Parallel Complex Event ProcessingSamira Akili, Steven Purtzel, Matthias WeidlichSIGMOD 2024 · 8 citations
  5. 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
Dusk over the sea between two cliffs drawn in fine vertical lines