Application of Proximal Policy Optimization for Resource Orchestration in Serverless Edge Computing

被引:0
|
作者
Femminella, Mauro [1 ,2 ]
Reali, Gianluca [1 ,2 ]
机构
[1] Univ Perugia, Dept Engn, Via G Duranti 93, I-06125 Perugia, Italy
[2] Consorzio Nazl Interuniv Telecomunicazioni CNIT, I-43124 Parma, Italy
关键词
serverless; edge computing; Kubernetes; horizontal pod autoscaling; reinforcement learning; performance evaluation;
D O I
10.3390/computers13090224
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Serverless computing is a new cloud computing model suitable for providing services in both large cloud and edge clusters. In edge clusters, the autoscaling functions play a key role on serverless platforms as the dynamic scaling of function instances can lead to reduced latency and efficient resource usage, both typical requirements of edge-hosted services. However, a badly configured scaling function can introduce unexpected latency due to so-called "cold start" events or service request losses. In this work, we focus on the optimization of resource-based autoscaling on OpenFaaS, the most-adopted open-source Kubernetes-based serverless platform, leveraging real-world serverless traffic traces. We resort to the reinforcement learning algorithm named Proximal Policy Optimization to dynamically configure the value of the Kubernetes Horizontal Pod Autoscaler, trained on real traffic. This was accomplished via a state space model able to take into account resource consumption, performance values, and time of day. In addition, the reward function definition promotes Service-Level Agreement (SLA) compliance. We evaluate the proposed agent, comparing its performance in terms of average latency, CPU usage, memory usage, and loss percentage with respect to the baseline system. The experimental results show the benefits provided by the proposed agent, obtaining a service time within the SLA while limiting resource consumption and service loss.
引用
收藏
页数:21
相关论文
共 50 条
  • [41] Autonomous Lifecycle Management for Resource-Efficient Workload Orchestration for Green Edge Computing
    Guim, Francesc
    Metsch, Thijs
    Moustafa, Hassnaa
    Verrall, Timothy
    Carrera, David
    Cadenelli, Nicola
    Chen, Jiang
    Doria, David
    Ghadie, Chadie
    Prats, Raul Gonzalez
    IEEE TRANSACTIONS ON GREEN COMMUNICATIONS AND NETWORKING, 2022, 6 (01): : 571 - 582
  • [42] Serverless Vehicular Edge Computing for the Internet of Vehicles
    Alam, Faisal
    Toosi, Adel N.
    Cheema, Muhammad Aamir
    Cicconetti, Claudio
    Serrano, Pablo
    Iosup, Alesandru
    Tari, Zahir
    Sarvi, Majid
    IEEE INTERNET COMPUTING, 2023, 27 (04) : 40 - 51
  • [43] Cross-Domain Resource Orchestration for the Edge-Computing-Enabled Smart Road
    Yuan, Quan
    Li, Jinglin
    Zhou, Haibo
    Luo, Guiyang
    Lin, Tao
    Yang, Fangchun
    Shen, Xuemin
    IEEE NETWORK, 2020, 34 (05): : 60 - 67
  • [44] Performance optimization of serverless edge computing function offloading based on deep reinforcement learning
    Yao, Xuyi
    Chen, Ningjiang
    Yuan, Xuemei
    Ou, Pingjie
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2023, 139 : 74 - 86
  • [45] Joint Optimization Communication and Computing Resource for LEO Satellites with Edge Computing
    Jia Min
    Wu Jian
    Zhang Liang
    Guo Qing
    CHINESE JOURNAL OF ELECTRONICS, 2023, 32 (05) : 1011 - 1021
  • [46] Software Resource Disaggregation for HPC with Serverless Computing
    Copik, Marcin
    Chrapek, Marcin
    Schmid, Larissa
    Calotoiu, Alexandru
    Hoefler, Torsten
    PROCEEDINGS 2024 IEEE INTERNATIONAL PARALLEL AND DISTRIBUTED PROCESSING SYMPOSIUM, IPDPS 2024, 2024, : 139 - 156
  • [47] Joint Optimization Communication and Computing Resource for LEO Satellites with Edge Computing
    JIA Min
    WU Jian
    ZHANG Liang
    GUO Qing
    ChineseJournalofElectronics, 2023, 32 (05) : 1011 - 1021
  • [48] Optimized resource usage with hybrid auto-scaling system for knative serverless edge computing
    Tran, Minh-Ngoc
    Kim, Younghan
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2024, 152 : 304 - 316
  • [49] Multi-Slot Dynamic Computing Resource Optimization in Edge Computing
    Chen, Pengyu
    Xu, Han
    Fan, Xingwang
    Hu, Jing
    Song, Tiecheng
    2022 14TH INTERNATIONAL CONFERENCE ON WIRELESS COMMUNICATIONS AND SIGNAL PROCESSING, WCSP, 2022, : 160 - 165
  • [50] LBRO: Load Balancing for Resource Optimization in Edge Computing
    Nayyer, Muhammad Ziad
    Raza, Imran
    Hussain, Syed Asad
    Jamal, Muhammad Hasan
    Gillani, Zeeshan
    Hur, Soojung
    Ashraf, Imran
    IEEE ACCESS, 2022, 10 : 97439 - 97449