跳到主要导航 跳到搜索 跳到主要内容

Learning from the Past: Adaptive Parallelism Tuning for Stream Processing Systems

  • Yuxing Han
  • , Lixiang Chen
  • , Haoyu Wang
  • , Zhanghao Chen
  • , Yifan Zhang
  • , Chengcheng Yang
  • , Kongzhang Hao
  • , Zhengyi Yang
  • ByteDance Ltd.
  • East China Normal University
  • University of New South Wales

科研成果: 书/报告/会议事项章节 › 会议稿件 › 同行评审

摘要

Distributed stream processing systems rely on the dataflow model to define and execute streaming jobs, organizing computations as Directed Acyclic Graphs (DAGs) of operators. Adjusting the parallelism of these operators is crucial to handling fluctuating workloads efficiently while balancing resource usage and processing performance. However, existing methods often fail to effectively utilize execution histories or fully exploit DAG structures, limiting their ability to identify bottlenecks and determine the optimal parallelism. In this paper, we propose StreamTune, a novel approach for adaptive parallelism tuning in stream processing systems. StreamTune incorporates a pre-training and fine-tuning framework that leverages global knowledge from historical execution data for job-specific parallelism tuning. In the pre-training phase, StreamTune clusters the historical data with Graph Edit Distance and pre-trains a Graph Neural Network-based encoder per cluster to capture the correlation between the operator parallelism, DAG structures, and the identified operator-level bottlenecks. In the online tuning phase, Stream-Tu ne iteratively refines operator parallelism recommendations using an operator-level bottleneck prediction model enforced with a monotonic constraint, which aligns with the observed system performance behavior. Evaluation results demonstrate that StreamTune reduces reconfigurations by up to 29.6% and parallelism degrees by up to 30.8% in Apache Flink under a synthetic workload. In Timely Dataflow, StreamTune achieves up to an 83.3% reduction in parallelism degrees while maintaining comparable processing performance under the Nexmark benchmark, when compared to the state-of-the-art methods.

源语言英语
主期刊名Proceedings - 2025 IEEE 41st International Conference on Data Engineering, ICDE 2025
出版商IEEE Computer Society
页3535-3548
页数14
ISBN(电子版)9798331536039
DOI
出版状态已出版 - 2025
活动41st IEEE International Conference on Data Engineering, ICDE 2025 - Hong Kong, 中国
期限: 19 5月 2025 → 23 5月 2025

丛书

姓名Proceedings - International Conference on Data Engineering
ISSN(印刷版)1084-4627
ISSN(电子版)2375-0286

会议

会议41st IEEE International Conference on Data Engineering, ICDE 2025
国家/地区中国
市Hong Kong
时期19/05/25 → 23/05/25

学术指纹

探究 'Learning from the Past: Adaptive Parallelism Tuning for Stream Processing Systems' 的科研主题。它们共同构成独一无二的学术指纹。

引用此