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] 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
  • [2] Advanced Serverless Edge Computing
    Ticongolo, Inacio Gaspar
    Baresi, Luciano
    Quattrocchi, Giovanni
    SERVICE-ORIENTED COMPUTING - ICSOC 2023 WORKSHOPS, 2024, 14518 : 285 - 291
  • [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] Resource-Aware Workload Orchestration for Edge Computing
    Babirye, Susan
    Serugunda, Jonathan
    Okello, Dorothy
    Mwanje, Stephen
    2020 28TH TELECOMMUNICATIONS FORUM (TELFOR), 2020, : 117 - 120
  • [5] Joint resource autoscaling and request scheduling for serverless edge computing
    Armin Choupani
    Sadoon Azizi
    Mohammad Sadegh Aslanpour
    Cluster Computing, 2025, 28 (3)
  • [6] 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
  • [7] Joint Resource Management and Pricing for Task Offloading in Serverless Edge Computing
    Tutuncuoglu, Feridun
    Dan, Gyorgy
    IEEE TRANSACTIONS ON MOBILE COMPUTING, 2024, 23 (06) : 7438 - 7452
  • [8] Fuzzy Workload Orchestration for Edge Computing
    Sonmez, Cagatay
    Ozgovde, Atay
    Ersoy, Cem
    IEEE TRANSACTIONS ON NETWORK AND SERVICE MANAGEMENT, 2019, 16 (02): : 769 - 782
  • [9] Serverless computing in the cloud-to-edge continuum
    Puliafito, Carlo
    Rana, Omer
    Bittencourt, Luiz F.
    Wu, Hao
    FUTURE GENERATION COMPUTER SYSTEMS-THE INTERNATIONAL JOURNAL OF ESCIENCE, 2024, 161 : 514 - 517
  • [10] Challenges and Opportunities for Efficient Serverless Computing at the Edge
    Gadepalli, Phani Kishore
    Peach, Gregor
    Cherkasova, Ludmila
    Aitken, Rob
    Parmer, Gabriel
    2019 IEEE 38TH INTERNATIONAL SYMPOSIUM ON RELIABLE DISTRIBUTED SYSTEMS (SRDS 2019), 2019, : 261 - 266