Lune

USENIX ATC2022顶会

Meces: Latency-efficient Rescaling via Prioritized State Migration for Stateful Distributed Stream Processing Systems

Rong Gu, Han Yin, Weichang Zhong, Chunfeng Yuan, Yihua Huang

摘要

Stateful distributed stream processing engines (SPEs) usually call for dynamic rescaling due to varying workloads. However, existing state migration approaches suffer from latency spikes, or high resource usage, or major disruptions as they ignore the order of state migration during rescaling. This paper reveals the importance of state migration order to the latency performance in SPEs. Based on that, we propose Meces, an on-the-fly state migration mechanism which prioritizes the state migration of hot keys (those being processed or about to be processed by downstream operator tasks) to achieve smooth rescaling. Meces leverages a fetch-on-demand design which migrates operator states at record-granularity for state consistency. We further devise a hierarchical state data structure and gradual strategy for migration efficiency. Meces is implemented on Apache Flink and evaluated with diversified benchmarks and scenarios. Compared to state-of-the-art approaches, Meces improves stream processing performance in terms of latency and throughput during rescaling by orders of magnitude, with negligible overhead and no disruption to non-rescaling periods.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Fugue: Online Elasticity for Distributed Stateful Stream Processing 引用了 Towards Fine-Grained Scalability for Stateful Stream Processing Systems
  • Fugue: Online Elasticity for Distributed Stateful Stream Processing 引用了 Rhino: Efficient Management of Very Large Distributed State for Stream Processing Engines
  • Styx: Transactional Stateful Functions on Streaming Dataflows 引用了 Fault-tolerant and transactional stateful serverless workflows
  • Styx: Transactional Stateful Functions on Streaming Dataflows 引用了 Rhino: Efficient Management of Very Large Distributed State for Stream Processing Engines
  • Towards Fine-Grained Scalability for Stateful Stream Processing Systems 引用了 Sponge: Fast Reactive Scaling for Stream Processing with Serverless Frameworks
  • Towards Fine-Grained Scalability for Stateful Stream Processing Systems 引用了 Rhino: Efficient Management of Very Large Distributed State for Stream Processing Engines
  • Sponge: Fast Reactive Scaling for Stream Processing with Serverless Frameworks 引用了 Rhino: Efficient Management of Very Large Distributed State for Stream Processing Engines
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper6

  1. Sponge: Fast Reactive Scaling for Stream Processing with Serverless FrameworksWon Wook Song, Taegeon Um, Sameh Elnikety, Myeongjae Jeon 等USENIX ATC 2023 · 28 次引用
  2. Styx: Transactional Stateful Functions on Streaming DataflowsKyriakos Psarakis, George Christodoulou, Georgios Siachamis, Marios Fragkoulis 等SIGMOD 2025 · 3 次引用
  3. Towards Fine-Grained Scalability for Stateful Stream Processing SystemsYunfan Qing, Wenli ZhengICDE 2025 · 2 次引用
  4. Impeller: Stream Processing on Shared LogsZhiting Zhu, Zhipeng Jia, Newton Ni, Dixin Tang 等EuroSys 2025 · 1 次引用
  5. Fugue: Online Elasticity for Distributed Stateful Stream ProcessingYuqiu Zhang, Yunhao Mao, Hans-Arno JacobsenVLDB 2026

它引用的 Paper5

  1. Differentiated Key-Value Storage Management for Balanced I/O PerformanceYongkun Li, Zhen Liu, Patrick P. C. Lee, Jiayu Wu 等USENIX ATC 2021 · 79 次引用
  2. Rhino: Efficient Management of Very Large Distributed State for Stream Processing EnginesBonaventura Del Monte, Steffen Zeuch, Tilmann Rabl, Volker MarklSIGMOD 2020 · 56 次引用
  3. Shared Arrangements: practical inter-query sharing for streaming dataflowsFrank McSherry, Andrea Lattuada, Malte Schwarzkopf, Timothy RoscoeVLDB 2020 · 25 次引用
  4. Fault-tolerant and transactional stateful serverless workflowsHaoran Zhang, Adney Cardoza, Peter Baile Chen, Sebastian Angel 等OSDI 2020 · 20 次引用
  5. Controlling Memory Footprint of Stateful Streaming Graph ProcessingPourya Vaziri, Keval VoraUSENIX ATC 2021 · 16 次引用

相关 Paper

  1. StreamSwitch: Fulfilling Latency Service-Layer Agreement for Stateful StreamingZhaochen She, Yancan Mao, Hailin Xiang, Xin Wang 等INFOCOM 2023 · 5 次引用
  2. FlowKV: A Semantic-Aware Store for Large-Scale State Management of Stream Processing EnginesGyewon Lee, Jaewoo Maeng, Jinsol Park, Jangho Seo 等EuroSys 2023 · 6 次引用
  3. Enjima: A Resource-Adaptive Stream Processing SystemLasantha Fernando, Taebin Kim, Khuzaima Daudjee, Tilmann RablSIGMOD 2026
  4. Latency-Oriented Elastic Memory Management at Task-Granularity for Stateful Streaming ProcessingRengan Dou, Richard T. B. MaINFOCOM 2023 · 2 次引用
  5. Accelerating Stream Processing Engines via Hardware OffloadingZhengyan Guo, Mingxing Zhang, Yingdi Shan, Kang Chen 等SIGMOD 2026
黄昏的海面,两侧是细线勾勒的悬崖