Reinforcement learning for resource management in multi-tenant serverless platforms
Authors:
Open Access
- 5 April 2022
- conference paper
- Published by Association for Computing Machinery (ACM)
- p. 20-28
Abstract
Serverless Function-as-a-Service (FaaS) is an emerging cloud computing paradigm that frees application developers from infrastructure management tasks such as resource provisioning and scaling. To reduce the tail latency of functions and improve resource utilization, recent research has been focused on applying online learning algorithms such as reinforcement learning (RL) to manage resources. Compared to existing heuristics-based resource management approaches, RL-based approaches eliminate humans in the loop and avoid the painstaking generation of heuristics. In this paper, we show that the state-of-the-art single-agent RL algorithm (S-RL) suffers up to 4.6x higher function tail latency degradation on multi-tenant serverless FaaS platforms and is unable to converge during training. We then propose and implement a customized multi-agent RL algorithm based on Proximal Policy Optimization, i.e., multi-agent PPO (MA-PPO). We show that in multi-tenant environments, MA-PPO enables each agent to be trained until convergence and provides online performance comparable to S-RL in single-tenant cases with less than 10% degradation. Besides, MA-PPO provides a 4.4x improvement in S-RL performance (in terms of function tail latency) in multi-tenant cases.Keywords
Funding Information
- IIDAI
- National Science Foundation (CCF 20-29049)
This publication has 18 references indexed in Scilit:
- ADRL: A Hybrid Anomaly-Aware Deep Reinforcement Learning-Based Resource Scaling in CloudsIEEE Transactions on Parallel and Distributed Systems, 2020
- Autopilot2020
- Architectural Implications of Function-as-a-Service Computing2019
- MIRAS: Model-based Reinforcement Learning for Microservice Resource Allocation over Scientific Workflows2019
- Serverless Computing: Current Trends and Open Problems2017
- Resource Management with Deep Reinforcement Learning2016
- QuasarACM SIGPLAN Notices, 2014
- (Acyclic) Job Shops are Hard to Approximate2008
- Function Optimization using Connectionist Reinforcement Learning AlgorithmsConnection Science, 1991
- Stochastic GamesProceedings of the National Academy of Sciences, 1953