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 条
  • [21] Intent-driven orchestration of serverless applications in the computing continuum
    Filinis, Nikos
    Tzanettis, Ioannis
    Spatharakis, Dimitrios
    Fotopoulou, Eleni
    Dimolitsas, Ioannis
    Zafeiropoulos, Anastasios
    Vassilakis, Constantinos
    Papavassiliou, Symeon
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2024, 154 : 72 - 86
  • [22] Following the Data, Not the Function: Rethinking Function Orchestration in Serverless Computing
    Yu, Minchen
    Cao, Tingjia
    Wang, Wei
    Chen, Ruichuan
    PROCEEDINGS OF THE 20TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION, NSDI 2023, 2023, : 1489 - 1504
  • [23] VirtualEdge: Multi-Domain Resource Orchestration and Virtualization in Cellular Edge Computing
    Liu, Qiang
    Han, Tao
    2019 39TH IEEE INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS (ICDCS 2019), 2019, : 1051 - 1060
  • [24] Cross-Edge Orchestration of Serverless Functions With Probabilistic Caching
    Chen, Chen
    Herrera, Manuel
    Zheng, Ge
    Xia, Liqiao
    Ling, Zhengyang
    Wang, Jiangtao
    IEEE TRANSACTIONS ON SERVICES COMPUTING, 2024, 17 (05) : 2139 - 2150
  • [25] DIRECT: Distributed Cross-Domain Resource Orchestration in Cellular Edge Computing
    Liu, Qiang
    Han, Tao
    PROCEEDINGS OF THE 2019 THE TWENTIETH ACM INTERNATIONAL SYMPOSIUM ON MOBILE AD HOC NETWORKING AND COMPUTING (MOBIHOC '19), 2019, : 181 - 190
  • [26] Faashouse: Sustainable Serverless Edge Computing Through Energy-Aware Resource Scheduling
    Aslanpour, Mohammad Sadegh
    Toosi, Adel N.
    Cheema, Muhammad Aamir
    Chhetri, Mohan Baruwal
    IEEE TRANSACTIONS ON SERVICES COMPUTING, 2024, 17 (04) : 1533 - 1547
  • [27] ATOM: AI-Powered Sustainable Resource Management for Serverless Edge Computing Environments
    Golec, Muhammed
    Gill, Sukhpal Singh
    Cuadrado, Felix
    Parlikad, Ajith Kumar
    Xu, Minxian
    Wu, Huaming
    Uhlig, Steve
    IEEE TRANSACTIONS ON SUSTAINABLE COMPUTING, 2024, 9 (06): : 817 - 829
  • [28] Proximal Policy Optimization for Efficient D2D-Assisted Computation Offloading and Resource Allocation in Multi-Access Edge Computing
    Zhang, Chen
    Wu, Celimuge
    Lin, Min
    Lin, Yangfei
    Liu, William
    FUTURE INTERNET, 2024, 16 (01)
  • [29] Security computing resource allocation based on deep reinforcement learning in serverless multi-cloud edge computing
    Zhang, Hang
    Wang, Jinsong
    Zhang, Hongwei
    Bu, Chao
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2024, 151 : 152 - 161
  • [30] Fuzzy Workload Orchestration for Edge Computing
    Sonmez, Cagatay
    Ozgovde, Atay
    Ersoy, Cem
    IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2019, 16 (02): : 769 - 782