Computer Science ›› 2025, Vol. 52 ›› Issue (6): 336-345.doi: 10.11896/jsjkx.240400073

• Computer Network • Previous Articles     Next Articles

Resource Allocation Method with Workload-time Windows for Serverless Applications inCloud-edge Collaborative Environment

ZHANG Minghao1,2, XIAO Bohuai1,2, ZHENG Song3,4, CHEN Xing1,2   

  1. 1 College of Computer and Data Science,Fuzhou University,Fuzhou 350108,China
    2 Fujian Provincial Key Laboratory of Networking Computing and Intelligent Information Processing,Fuzhou 350108,China
    3 College of Electrical Engineering and Automation,Fuzhou University,Fuzhou 350108,China
    4 Key Laboratory of Industrial Automation Control Technology and Information Processing(Fuzhou University) of Fujian Province,Fuzhou 350108,China
  • Received:2024-04-11 Revised:2024-08-12 Online:2025-06-15 Published:2025-06-11
  • About author:ZHANG Minghao,born in 1998,postgraduate.His main research interests include cloud computing,resource allocation and serverless computing.
    CHEN Xing,born in 1985,Ph.D,professor,Ph.D supervisor,is a distinguished member of CCF(No.35725M).His main research interests include software engineering,systems software and cloud computing.
  • Supported by:
    National Natural Science Foundation of China(62072108),Science and Technology and Economic Integration Service Platform of Fujian Province(2023XRH001),Collaborative Innovation Platform Project of Fu Xia Quan National Independent Innovation Demonstration Area(2022FX5) and Special Funds for Promoting the High-quality Development of Marine and Fishery Industry of Fujian Province(FJHYF-ZH-2023-02).

Abstract: With the increasingly diverse computational demands in the cloud-edge collaborative environment,the traditional computing architecture based on virtual machines as the smallest unit of resources exhibits inflexibility and low cost-effectiveness.Serverless computing,as an emerging computing architecture with excellent scalability and flexibility,provides a new perspective to address these issues.In response to the resource allocation problem with workload-time windows for serverless applications in cloud-edge collaborative environments,this study proposes a resource allocation method based on rule-driven co-evolution algorithm(RARCA).This method considers the workload at a certain resource adjustment moment and in the foreseeable future,employing a rule-driven distributed resource updating mechanism to achieve dynamic allocation and adjustment of computing resources.Additionally,by leveraging the information sharing and cooperative optimization capabilities of the co-evolution mechanism,the algorithm efficiently searches for globally optimal resource allocation solutions,significantly improving the real-time and effectiveness of the overall resource allocation method.Experimental results demonstrate that RARCA can achieve superior resource allocation solutions with decision times in seconds,outperforming baseline methods by 2.8% to 14.5% in resource allocation performance.

Key words: Cloud-edge collaborative, Resource allocation, Workload-time windows, Serverless computing, Co-evolutionary algorithm

CLC Number: 

  • TP393
[1]ALWARAFY A,AL-THELAYA K A,ABDALLAH M,et al.A survey on security and privacy issues in edge-computing-assisted internet of things[J].IEEE Internet of Things Journal,2020,8(6):4004-4022.
[2]RAZA M R,VAROL A,VAROL N.Cloud and fog computing:A survey to the concept and challenges[C]//2020 8th International Symposium on Digital Forensics and Security(ISDFS).2020:1-6.
[3]HAO Y,JIANG Y,CHEN T,et al.iTaskOffloading:Intelligenttask offloading for a cloud-edge collaborative system[J].IEEE Network,2019,33(5):82-88.
[4]CHADWICK D W,FAN W,COSTANTINO G,et al.A cloud-edge based data security architecture for sharing and analysing cyber threat information[J].Future Generation Computer Systems,2020,102:710-722.
[5]HABIBI P,FARHOUDI M,KAZEMIAN S,et al.Fog computing:a comprehensive architectural survey[J].IEEE Access,2020,8:69105-69133.
[6]CHEN X,ZHENG S.Resource allocation and task offloadingstrategy base on hybrid simulated annealing-binary particle swarm optimization in cloud-edge collaborative system[C]//2022 IEEE 5th Advanced Information Management,Communicates,Electronic and Automation Control Conference.2022:379-383.
[7]VAN EYK E,GROHMANN J,EISMANN S,et al.The spec-rg reference architecture for faas:from microservices and contai-ners to serverless platforms[J].IEEE Internet Computing,2019,23(6):7-18.
[8]EIVY A,WEINMAN J.Be wary of the economics of "serverless" cloud computing[J].IEEE Cloud Computing,2017,4(2):6-12.
[9]WU M,MI Z,XIA Y.A survey on serverless computing and its implications for jointcloud computing[C]//2020 IEEE International Conference on Joint Cloud Computing.2020:94-101.
[10]CHEN Z,HU J,MIN G,et al.Towards accurate prediction for high-dimensional and highly-variable cloud workloads with deep learning[J].IEEE Transactions on Parallel and Distributed Systems,2019,31(4):923-934.
[11]KIM I K,WANG W,QI Y,et al.Forecasting cloud application workloads with cloudinsight for predictive resource management[J].IEEE Transactions on Cloud Computing,2020,10(3):1848-1863.
[12]YANG L J,CHEN X,HUANG Y H.A PSO-GA-based adaptive resource allocation method for cloud software services oriented to load-time window[J].Journal of Chinese Computer Systems,2021,42(5):953-960.
[13]ZHOU H,WU T,CHEN X,et al.Reverse auction-based computation offloading and resource allocation in mobile cloud-edge computing[J].IEEE Transactions on Mobile Computing,2022,22(10):6144-6159.
[14]YUAN H,ZHOU M C.Profit-maximized collaborative computation offloading and resource allocation in distributed cloud and edge computing systems[J].IEEE Transactions on Automation Science and Engineering,2020,18(3):1277-1287.
[15]GAN D,GE X,LI Q.An optimal transport-based federated reinforcement learning approach for resource allocation in cloud-edge collaborative IoT[J].IEEE Internet of Things Journal,2023,11(2):2407-2419.
[16]LI Y,LIN Y,WANG Y,et al.Serverless computing:state-of-the-art,challenges and opportunities[J].IEEE Transactions on Services Computing,2022,16(2):1522-1539.
[17]JARACHANTHAN J,CHEN L,XU F,et al.Astrea:Auto-serverless analytics towards cost-efficiency and QoS-awareness[J].IEEE Transactions on Parallel and Distributed Systems,2022,33(12):3833-3849.
[18]ASCIGIL O,TASIOPOULOS A G,PHAN T K,et al.Resource provisioning and allocation in function-as-a-service edge-clouds[J].IEEE Transactions on Services Computing,2021,15(4):2410-2424.
[19]KIM Y K,HOSEINYFARAHABADY M R,LEE Y C,et al.Automated fine-grained cpu cap control in serverless computing platform[J].IEEE Transactions on Parallel and Distributed Systems,2020,31(10):2289-2301.
[20]RAZA A,AKHTAR N,ISAHAGIAN V,et al.Configuration and placement of serverless applications using statistical lear-ning[J].IEEE Transactions on Network and Service Management,2023,20(2):1065-1077.
[21]ABAD C L,BOZA E F,VAN EYK E.Package-aware scheduling of faas functions[C]//Companion of the 2018 ACM/SPEC International Conference on Performance Engineering.2018:101-106.
[22]CHEN Z,YANG L,HUANG Y,et al.Pso-ga-based resource allocation strategy for cloud-based software services with workload-time windows[J].IEEE Access,2020,8:151500-151510.
[23]MESTRE J.Greedy in approximation algorithms[C]//European Symposium on Algorithms.2006:528-539.
[24]WANG S,ZHAO Y,HUANG L,et al.QoS prediction for servi-ce recommendations in mobile edge computing[J].Journal of Parallel and Distributed Computing,2019,127:134-144.
[25]XIE R,GU D,TANG Q,et al.Workflow scheduling in serverless edge computing for the industrial internet of things:a lear-ning approach[J].IEEE Transactions on Industrial Informatics,2023,19(7):8242-8252.
[26]AKHTAR N,RAZA A,ISHAKIAN V,et al.COSE:Configuring serverless functions using statistical learning[C]//IEEE INFOCOM 2020-IEEE Conference on Computer Communications,2020:129-138.
[27]HU Q,CAI Y,YU G,et al.Joint offloading and trajectory design for UAV-enabled mobile edge computing systems[J].IEEE Internet of Things Journal,2018,6(2):1879-1892.
[28]CHEN X,WANG H,MA Y,et al.Self-adaptive resource allocation for cloud-based software services based on iterative QoS prediction model[J].Future Generation Computer Systems,2020,105:287-296.
[29]CHEN X,YANG L,CHEN Z,et al.Resource allocation with workload-time windows for cloud-based software services:a deep reinforcement learning approach[J].IEEE Transactions on Cloud Computing,2023,11(2):1871-1885.
[30]LI H,WANG D,ZHOU M C,et al.Multi-swarm co-evolutionbased hybrid intelligent optimization for bi-objective multi-workflow scheduling in the cloud[J].IEEE Transactions on Parallel and Distributed Systems,2021,33(9):2183-2197.
[31]SHI Y,EBERHART R.A modified particle swarm optimize[C]//1998 IEEE International Conference on Evolutionary Computation Proceedings.IEEE World Congress on Computational Intelligence(Cat.No.98TH8360),1998:69-73.
[32]ZHOU B,XIE S,WANG F,et al.Multi-step predictive compensated intelligent control for aero-engine wireless networked system with random scheduling[J].Journal of the Franklin Institute,2020,357(10):6154-6174.
[1] XU Haiyang, LIU Hailong, YANG Chaoyun, WANG Shuo, LI Zhanhuai. MMOS:Memory Resource Sharing Methods to Support Overselling in Multi-tenant Databases [J]. Computer Science, 2024, 51(2): 27-35.
[2] YANG Zheming, ZUO Lulu, JI Wen. Joint Optimization Method for Node Deployment and Resource Allocation Based on End-EdgeCollaboration [J]. Computer Science, 2024, 51(11A): 240200010-7.
[3] XUE Jianbin, YU Bowen, XU Xiaofeng, DOU Jun. Queueing Theory-based Joint Optimization of Communication and Computing Resources in Edge Computing Networks [J]. Computer Science, 2024, 51(11A): 240100103-9.
[4] XUE Jianbin, TIAN Guiying, MA Yuling, SHAO Fei, WANG Tao. Study on Optimization of Long-distance Relay Communication and Computational Offloading Strategy Based on Self-powered UAVs [J]. Computer Science, 2024, 51(11A): 240300069-7.
[5] LUO Junren, ZOU Mingwo, CHEN Shaofei, ZHANG Wanpeng, CHEN Jing. Research Progress on Colonel Blotto Game Models and Solving Methods [J]. Computer Science, 2024, 51(1): 84-98.
[6] CHEN Yipeng, YANG Zhe, GU Fei, ZHAO Lei. Resource Allocation Strategy Based on Game Theory in Mobile Edge Computing [J]. Computer Science, 2023, 50(2): 32-41.
[7] LI Xiaohuan, CHEN Bitao, KANG Jiawen, YE Jin. Coalition Game-assisted Joint Resource Optimization for Digital Twin-assisted Edge Intelligence [J]. Computer Science, 2023, 50(2): 42-49.
[8] HU Shengxi, SONG Rirong, CHEN Xing, CHEN Zheyi. Dependency-aware Task Scheduling in Cloud-Edge Collaborative Computing Based on Reinforcement Learning [J]. Computer Science, 2023, 50(11A): 220900076-8.
[9] YU Bin, LI Xue-hua, PAN Chun-yu, LI Na. Edge-Cloud Collaborative Resource Allocation Algorithm Based on Deep Reinforcement Learning [J]. Computer Science, 2022, 49(7): 248-253.
[10] TANG Feng, FENG Xiang, YU Hui-qun. Multi-task Cooperative Optimization Algorithm Based on Adaptive Knowledge Transfer andResource Allocation [J]. Computer Science, 2022, 49(7): 254-262.
[11] LI Meng-fei, MAO Ying-chi, TU Zi-jian, WANG Xuan, XU Shu-fang. Server-reliability Task Offloading Strategy Based on Deep Deterministic Policy Gradient [J]. Computer Science, 2022, 49(7): 271-279.
[12] ZHOU Tian-qing, YUE Ya-li. Multi-Task and Multi-Step Computation Offloading in Ultra-dense IoT Networks [J]. Computer Science, 2022, 49(6): 12-18.
[13] QIU Xu, BIAN Hao-bu, WU Ming-xiao, ZHU Xiao-rong. Study on Task Offloading Algorithm for Internet of Vehicles on Highway Based on 5G MillimeterWave Communication [J]. Computer Science, 2022, 49(6): 25-31.
[14] XU Hao, CAO Gui-jun, YAN Lu, LI Ke, WANG Zhen-hong. Wireless Resource Allocation Algorithm with High Reliability and Low Delay for Railway Container [J]. Computer Science, 2022, 49(6): 39-43.
[15] SHEN Jia-fang, QIAN Li-ping, YANG Chao. Non-orthogonal Multiple Access and Multi-dimension Resource Optimization in EH Relay NB-IoT Networks [J]. Computer Science, 2022, 49(5): 279-286.
Viewed
Full text


Abstract

Cited

  Shared   
  Discussed   
No Suggested Reading articles found!