A Deep Recurrent-Reinforcement Learning Method for Intelligent AutoScaling of Serverless Functions

被引:4
|
作者
Agarwal, Siddharth [1 ]
Rodriguez, Maria A. [1 ]
Buyya, Rajkumar [1 ]
机构
[1] Univ Melbourne, Sch Comp & Informat Syst, Cloud Comp & Distributed Syst CLOUDS Lab, Melbourne, Vic 3010, Australia
关键词
Serverless computing; function-as-a-service; AutoScaling; reinforcement learning; constraint-awareness;
D O I
10.1109/TSC.2024.3387661
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Function-as-a-Service (FaaS) introduces a lightweight, function-based cloud execution model that finds its relevance in a range of applications like IoT-edge data processing and anomaly detection. While cloud service providers (CSPs) offer a near-infinite function elasticity, these applications often experience fluctuating workloads and stricter performance constraints. A typical CSP strategy is to empirically determine and adjust desired function instances or resources, known as autoscaling, based on monitoring-based thresholds such as CPU or memory, to cope with demand and performance. However, threshold configuration either requires expert knowledge, historical data or a complete view of the environment, making autoscaling a performance bottleneck that lacks an adaptable solution. Reinforcement learning (RL) algorithms are proven to be beneficial in analysing complex cloud environments and result in an adaptable policy that maximizes the expected objectives. Most realistic cloud environments usually involve operational interference and have limited visibility, making them partially observable. A general solution to tackle observability in highly dynamic settings is to integrate Recurrent units with model-free RL algorithms and model a decision process as a Partially Observable Markov Decision Process (POMDP). Therefore, in this article, we investigate model-free Recurrent RL agents for function autoscaling and compare them against the model-free Proximal Policy Optimisation (PPO) algorithm. We explore the integration of a Long-Short Term Memory (LSTM) network with the state-of-the-art PPO algorithm to find that under our experimental and evaluation settings, recurrent policies were able to capture the environment parameters and show promising results for function autoscaling. We further compare a PPO-based autoscaling agent with commercially used threshold-based function autoscaling and posit that a LSTM-based autoscaling agent is able to improve throughput by 18%, function execution by 13% and account for 8.4% more function instances.
引用
收藏
页码:1899 / 1910
页数:12
相关论文
共 50 条
  • [31] A Dual Deep Network Based Secure Deep Reinforcement Learning Method
    Zhu F.
    Wu W.
    Fu Y.-C.
    Liu Q.
    Jisuanji Xuebao/Chinese Journal of Computers, 2019, 42 (08): : 1812 - 1826
  • [32] Intelligent Decision Framework of Shield Attitude Correction Based on Deep Reinforcement Learning
    Xu, J.
    Bu, J. F.
    Zhang, L. G.
    Zhang, J.
    Li, K. F.
    Liu, S. M.
    PROCEEDINGS OF THE 17TH EAST ASIAN-PACIFIC CONFERENCE ON STRUCTURAL ENGINEERING AND CONSTRUCTION, EASEC-17 2022, 2023, 302 : 1273 - 1287
  • [33] Intelligent Traffic Light via Policy-based Deep Reinforcement Learning
    Yue Zhu
    Mingyu Cai
    Chris W. Schwarz
    Junchao Li
    Shaoping Xiao
    International Journal of Intelligent Transportation Systems Research, 2022, 20 : 734 - 744
  • [34] Intelligent Asphalt Mixture Design: A Combined Supervised Machine Learning and Deep Reinforcement Learning Approach
    Liu, Jian
    Cheng, Chunru
    Wang, Zhen
    Yang, Shuhan
    Wang, Linbing
    TRANSPORTATION RESEARCH RECORD, 2025,
  • [35] Intelligent Traffic Light via Policy-based Deep Reinforcement Learning
    Zhu, Yue
    Cai, Mingyu
    Schwarz, Chris W.
    Li, Junchao
    Xiao, Shaoping
    INTERNATIONAL JOURNAL OF INTELLIGENT TRANSPORTATION SYSTEMS RESEARCH, 2022, 20 (03) : 734 - 744
  • [36] Intelligent Caching for Mobile Video Streaming in Vehicular Networks with Deep Reinforcement Learning
    Luo, Zhaohui
    Liwang, Minghui
    APPLIED SCIENCES-BASEL, 2022, 12 (23):
  • [37] Intelligent Decision Making Based on the Combination of Deep Reinforcement Learning and an Influence Map
    Lu, Xiaofeng
    Xue, Ao
    Lio, Pietro
    Hui, Pan
    APPLIED SCIENCES-BASEL, 2022, 12 (22):
  • [38] Intelligent Reflecting Surface Configurations for Smart Radio Using Deep Reinforcement Learning
    Wang, Wei
    Zhang, Wei
    IEEE JOURNAL ON SELECTED AREAS IN COMMUNICATIONS, 2022, 40 (08) : 2335 - 2346
  • [39] A reinforcement learning and deep learning based intelligent system for the support of impaired patients in home treatment
    Naeem, Muddasar
    Paragliola, Giovanni
    Coronato, Antonio
    EXPERT SYSTEMS WITH APPLICATIONS, 2021, 168
  • [40] Leveraging Deep Reinforcement Learning for Metacognitive Interventions Across Intelligent Tutoring Systems
    Abdelshiheed, Mark
    Hostetter, John Wesley
    Barnes, Tiffany
    Chi, Min
    ARTIFICIAL INTELLIGENCE IN EDUCATION, AIED 2023, 2023, 13916 : 291 - 303