ASSG: Enhanced Workload Balancing via Adaptive State Scheduling Granularity Approach for Stateful Distributed Stream Processing

The dynamic changes in the distribution of data attributes within the data stream lead to unbalanced workloads in stream processing operators, often necessitating state migration in these operators. However, significant time overhead associated with state migration results in latency peaks and interruptions in stream applications. Ignoring the impact of state scheduling granularity exacerbates the time overhead during migration. Focusing on state migration efficiency, this article presents the Adaptive State Scheduling Granularity (ASSG) approach for stateful distributed stream processing. The ASSG conducts dynamic workload balancing at the granularity of state subgroups, where the number and size of any subgroup can be adaptively adjusted to reduce the time of collecting workloads and generating balancing plans. Moreover, since the idle instances may experience higher workloads than average due to receiving the migrated states, we propose a parallel migration strategy. They are enabled to post low states to other instances while receiving the high ones, alleviating the workload imbalance without extending migration duration. ASSG has been fully implemented on Apache Flink, which demonstrates a 23.84% reduction in average latency compared to state-of-the-art workload balancing schemes and achieves at least a 10.91% reduction in the time required for state migration through adaptive granularity adjustment.

Authors

Institutions

Publication Details

Journal
ACM Transactions on Architecture and Code Optimization
Published
2025-11-12
DOI
https://doi.org/10.1145/3776583
Primary Topic
Advanced Database Systems and Queries
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

ASSG: Enhanced Workload Balancing via Adaptive State Scheduling Granularity Approach for Stateful Distributed Stream Processing

Jie Zhao, Xiong Xiao, Zhuo Tang, Bingting Jiang et al.
ACM Transactions on Architecture and Code Optimization
Advanced Database Systems and Queries
article

ASSG: Enhanced Workload Balancing via Adaptive State Scheduling Granularity Approach for Stateful Distributed Stream Processing

Jie Zhao, Xiong Xiao, Zhuo Tang, Bingting Jiang, Kenli Li, Jiapeng Zhang, Jiawei Tan
article en

Abstract

The dynamic changes in the distribution of data attributes within the data stream lead to unbalanced workloads in stream processing operators, often necessitating state migration in these operators. However, significant time overhead associated with state migration results in latency peaks and interruptions in stream applications. Ignoring the impact of state scheduling granularity exacerbates the time overhead during migration. Focusing on state migration efficiency, this article presents the Adaptive State Scheduling Granularity (ASSG) approach for stateful distributed stream processing. The ASSG conducts dynamic workload balancing at the granularity of state subgroups, where the number and size of any subgroup can be adaptively adjusted to reduce the time of collecting workloads and generating balancing plans. Moreover, since the idle instances may experience higher workloads than average due to receiving the migrated states, we propose a parallel migration strategy. They are enabled to post low states to other instances while receiving the high ones, alleviating the workload imbalance without extending migration duration. ASSG has been fully implemented on Apache Flink, which demonstrates a 23.84% reduction in average latency compared to state-of-the-art workload balancing schemes and achieves at least a 10.91% reduction in the time required for state migration through adaptive granularity adjustment.

ACM Transactions on Architecture and Code OptimizationVol. 22(4)
Hunan University (CN), Shenzhen University (CN), Changsha University (CN), Hunan University of Science and Engineering (CN), City University of Hong Kong, Shenzhen Research Institute (CN), Hunan Rice Research Institute (CN), Xiangtan University (CN)
Openalex Percentile: Top 61%
Advanced Database Systems and Queries
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.