Skip to main content
Have a personal or library account? Click to login
Towards autoscaling of Apache Flink jobs Cover
Open Access
|Jul 2021

Abstract

Data stream processing has been gaining attention in the past decade. Apache Flink is an open-source distributed stream processing engine that is able to process a large amount of data in real time with low latency. Computations are distributed among a cluster of nodes. Currently, provisioning the appropriate amount of cloud resources must be done manually ahead of time. A dynamically varying workload may exceed the capacity of the cluster, or leave resources underutilized. In our paper, we describe an architecture that enables the automatic scaling of Flink jobs on Kubernetes based on custom metrics, and describe a simple scaling policy. We also measure the e ects of state size and target parallelism on the duration of the scaling operation, which must be considered when designing an autoscaling policy, so that the Flink job respects a Service Level Agreement.

Language: English
Page range: 39 - 59
Submitted on: Mar 22, 2021
Accepted on: Apr 11, 2021
Published online: Jul 8, 2021
Published in print: Jun 1, 2021
Published by: Sapientia Hungarian University of Transylvania
In partnership with: Paradigm Publishing Services
Publication frequency: 2 issues per year
MSC:

© 2021 Balázs Varga, Márton Balassi, Attila Kiss, published by Sapientia Hungarian University of Transylvania
This work is licensed under the Creative Commons Attribution 4.0 License.