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 条
  • [31] Memory orchestration mechanisms in serverless computing: a taxonomy, review and future directions
    Rad, Zahra Shojaee
    Ghobaei-Arani, Mostafa
    Ahsan, Reza
    CLUSTER COMPUTING-THE JOURNAL OF NETWORKS SOFTWARE TOOLS AND APPLICATIONS, 2024, 27 (05): : 5489 - 5515
  • [32] FPGA implementation of Proximal Policy Optimization algorithm for Edge devices with application to Agriculture Technology
    Waseem S.M.
    Roy S.K.
    Journal of Ambient Intelligence and Humanized Computing, 2023, 14 (10) : 14141 - 14152
  • [33] Pheromone: Restructuring Serverless Computing With Data-Centric Function Orchestration
    Yu, Minchen
    Cao, Tingjia
    Wang, Wei
    Chen, Ruichuan
    IEEE-ACM TRANSACTIONS ON NETWORKING, 2024,
  • [34] GlobalFlow: A Cross-Region Orchestration Service for Serverless Computing Services
    Zheng, Ge
    Peng, Yang
    2019 IEEE 12TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (IEEE CLOUD 2019), 2019, : 508 - 510
  • [35] PAPS: A Serverless Platform for Edge Computing Infrastructures
    Baresi, Luciano
    Quattrocchi, Giovanni
    FRONTIERS IN SUSTAINABLE CITIES, 2021, 3
  • [36] 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
  • [37] A Design of Serverless Computing Service for Edge Clouds
    Cho, Jaeeun
    Kim, Younghan
    12TH INTERNATIONAL CONFERENCE ON ICT CONVERGENCE (ICTC 2021): BEYOND THE PANDEMIC ERA WITH ICT CONVERGENCE INNOVATION, 2021, : 1889 - 1891
  • [38] 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
  • [39] A note on resource orchestration for cloud computing
    Ranjan, Rajiv
    Buyya, Rajkumar
    Nepal, Surya
    Georgakopulos, Dimitrios
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2015, 27 (09): : 2370 - 2372
  • [40] Service Function Chains multi-resource orchestration in Virtual Mobile Edge Computing
    Laroui, Mohammed
    Ibn Khedher, Hatem
    Moungla, Hassine
    Afifi, Hossam
    COMPUTER NETWORKS, 2023, 224