Model-based Reinforcement Learning for Elastic Stream Processing in Edge Computing
Authors:
- 1 December 2021
- conference paper
- Published by Institute of Electrical and Electronics Engineers (IEEE)
- p. 292-301
Abstract
Low-latency data processing is critical for enabling next generation Internet-of-Things(IoT) applications. Edge computing-based stream processing techniques that optimize for low latency and high throughput provide a promising solution to ensure a rich user experience by meeting strict application requirements. However, manual performance tuning of stream processing applications in heterogeneous and dynamic edge computing environments is not only time consuming but also not scalable. Our work presented in this paper achieves elasticity for stream processing applications deployed at the edge by automatically tuning the applications to meet the performance requirements. The proposed approach adopts a learning model to configure the parallelism of the operators in the stream processing application using a reinforcement learning(RL) method. We model the elastic control problem as a Markov Decision Process(MDP) and solve it by reducing it to a contextual Multi-Armed Bandit(MAB) problem. The techniques proposed in our work uses Upper Confidence Bound(UCB)-based methods to improve the sample efficiency in comparison to traditional random exploration methods such as the e-greedy method. It achieves a significantly improved rate of convergence compared to other RL methods through its innovative use of MAB methods to deal with the tradeoff between exploration and exploitation. In addition, the use of model-based pre-training results in sub-stantially improved performance by initializing the model with appropriate and well-tuned parameters. The proposed techniques are evaluated using realistic and synthetic workloads through both simulation and real testbed experiments. The experiment results demonstrate the effectiveness of the proposed approach compared to standard methods in terms of cumulative reward and convergence speed.Keywords
This publication has 14 references indexed in Scilit:
- Reinforcement Learning Based Policies for Elastic Stream Processing on Heterogeneous Resources2019
- Optimal operator deployment and replication for elastic distributed data stream processingConcurrency and Computation: Practice and Experience, 2017
- Benchmarking Streaming Computation Engines: Storm, Flink and Spark Streaming2016
- Twitter Heron2015
- A contextual-bandit approach to personalized news article recommendation2010
- Network-Aware Operator Placement for Stream-Processing Systems2006
- An Adaptive Sampling Algorithm for Solving Markov Decision ProcessesOperations Research, 2005
- Multiple Attribute Decision Making1995
- Reevaluating Amdahl's lawCommunications of the ACM, 1988
- Topological sorting of large networksCommunications of the ACM, 1962