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 条
  • [1] KneeScale: Efficient Resource Scaling for Serverless Computing at the Edge
    Li, Xue
    Kang, Peng
    Molone, Jordan
    Wang, Wei
    Lama, Palden
    2022 22ND IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND INTERNET COMPUTING (CCGRID 2022), 2022, : 180 - 189
  • [2] WebAssembly Orchestration in the Context of Serverless Computing
    Kjorveziroski, Vojdan
    Filiposka, Sonja
    JOURNAL OF NETWORK AND SYSTEMS MANAGEMENT, 2023, 31 (03)
  • [3] DataXe: A System for Application Self-optimization in Serverless Edge Computing Environments
    Coviello, Giuseppe
    Rao, Kunal
    Debnath, Biplob
    Po, Oliver
    Chakradhar, Srimat
    2022 IEEE INTERNATIONAL CONFERENCE ON PERVASIVE COMPUTING AND COMMUNICATIONS WORKSHOPS AND OTHER AFFILIATED EVENTS (PERCOM WORKSHOPS), 2022,
  • [4] WebAssembly Orchestration in the Context of Serverless Computing
    Vojdan Kjorveziroski
    Sonja Filiposka
    Journal of Network and Systems Management, 2023, 31
  • [5] Resource-Aware Workload Orchestration for Edge Computing
    Babirye, Susan
    Serugunda, Jonathan
    Okello, Dorothy
    Mwanje, Stephen
    2020 28TH TELECOMMUNICATIONS FORUM (TELFOR), 2020, : 117 - 120
  • [6] Joint resource autoscaling and request scheduling for serverless edge computing
    Armin Choupani
    Sadoon Azizi
    Mohammad Sadegh Aslanpour
    Cluster Computing, 2025, 28 (3)
  • [7] Energy-Aware Resource Scheduling for Serverless Edge Computing
    Aslanpour, Mohammad Sadegh
    Toosi, Adel N.
    Cheema, Muhammad Aamir
    Gaire, Raj
    2022 22ND IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND INTERNET COMPUTING (CCGRID 2022), 2022, : 190 - 199
  • [8] RADON: rational decomposition and orchestration for serverless computing
    Casale, G.
    Artac, M.
    van den Heuvel, W-J.
    van Hoorn, A.
    Jakovits, P.
    Leymann, F.
    Long, M.
    Papanikolaou, V.
    Presenza, D.
    Russo, A.
    Srirama, S. N.
    Tamburri, D. A.
    Wurster, M.
    Zhu, L.
    SICS SOFTWARE-INTENSIVE CYBER-PHYSICAL SYSTEMS, 2020, 35 (1-2): : 77 - 87
  • [9] Review of WebAssembly Application Research for Edge Serverless Computing
    Wang, Xin
    Zhao, Kai
    Qin, Bin
    Computer Engineering and Applications, 2023, 59 (11) : 28 - 36
  • [10] Resource optimization in performance modeling for serverless application
    Kumari A.
    Patra M.K.
    Sahoo B.
    Behera R.K.
    International Journal of Information Technology, 2022, 14 (6) : 2867 - 2875