Menglin Zhou , Bingbing Zheng , Li Pan , Shijun Liu
{"title":"Balancing function performance and cluster load in serverless computing: A reinforcement learning solution","authors":"Menglin Zhou , Bingbing Zheng , Li Pan , Shijun Liu","doi":"10.1016/j.jnca.2025.104299","DOIUrl":null,"url":null,"abstract":"<div><div>Serverless computing, as an emerging cloud computing service model, enables developers to focus on business logic without concerning underlying resource management by decomposing applications into fine-grained functions that execute on demand. However, in heterogeneous server cluster environments, the bursty and transient nature of function requests presents significant resource scheduling challenges. To ensure the performance of function execution, newly created function instances are often scheduled to nodes with abundant resources. This leads to resource allocation imbalances under high loads, which could potentially trigger node failures. In this paper we model function scheduling as an optimization problem that balances performance and load. We then propose a scheduling method based on the PPO algorithm, which guides decisions by analyzing node load and performance metrics in real time. For validation, we conducted experiments on the OpenFaaS platform using both real and simulated traces. The experimental results demonstrate that our method not only effectively reduces the risks associated with load imbalance but also achieves improvements in function performance.</div></div>","PeriodicalId":54784,"journal":{"name":"Journal of Network and Computer Applications","volume":"243 ","pages":"Article 104299"},"PeriodicalIF":8.0000,"publicationDate":"2025-08-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Network and Computer Applications","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S1084804525001961","RegionNum":2,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"COMPUTER SCIENCE, HARDWARE & ARCHITECTURE","Score":null,"Total":0}
引用次数: 0
Abstract
Serverless computing, as an emerging cloud computing service model, enables developers to focus on business logic without concerning underlying resource management by decomposing applications into fine-grained functions that execute on demand. However, in heterogeneous server cluster environments, the bursty and transient nature of function requests presents significant resource scheduling challenges. To ensure the performance of function execution, newly created function instances are often scheduled to nodes with abundant resources. This leads to resource allocation imbalances under high loads, which could potentially trigger node failures. In this paper we model function scheduling as an optimization problem that balances performance and load. We then propose a scheduling method based on the PPO algorithm, which guides decisions by analyzing node load and performance metrics in real time. For validation, we conducted experiments on the OpenFaaS platform using both real and simulated traces. The experimental results demonstrate that our method not only effectively reduces the risks associated with load imbalance but also achieves improvements in function performance.
期刊介绍:
The Journal of Network and Computer Applications welcomes research contributions, surveys, and notes in all areas relating to computer networks and applications thereof. Sample topics include new design techniques, interesting or novel applications, components or standards; computer networks with tools such as WWW; emerging standards for internet protocols; Wireless networks; Mobile Computing; emerging computing models such as cloud computing, grid computing; applications of networked systems for remote collaboration and telemedicine, etc. The journal is abstracted and indexed in Scopus, Engineering Index, Web of Science, Science Citation Index Expanded and INSPEC.