Making Serverless Not So Cold in Edge Clouds: A Cost-Effective Online Approach

被引:4
作者
Xiao, Ke [1 ]
Yang, Song [1 ]
Li, Fan [1 ]
Zhu, Liehuang [2 ]
Chen, Xu [3 ]
Fu, Xiaoming [4 ]
机构
[1] Beijing Inst Technol, Sch Comp Sci & Technol, Beijing 100081, Peoples R China
[2] Beijing Inst Technol, Sch Cyberspace Sci & Technol, Beijing 100081, Peoples R China
[3] Sun Yat Sen Univ, Sch Comp Sci & Engn, Guangzhou 510006, Peoples R China
[4] Univ Gottingen, Inst Comp Sci, Gottingen, Germany
基金
中国国家自然科学基金; 北京市自然科学基金;
关键词
Cloud computing; Containers; Costs; Delays; Computational modeling; Edge computing; Serverless computing; edge computing; container caching; cold start;
D O I
10.1109/TMC.2024.3355118
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Applying the serverless paradigm to edge computing improves edge resource utilization while bringing the benefits of flexible scaling and pay-as-you-go to latency-sensitive applications. This extends the boundaries of serverless computing and improves the quality of service for Function-as-a-Service users. However, as an emerging cloud computing paradigm, serverless edge computing faces pressing challenges, with one of the biggest obstacles being delay caused by excessively long container cold starts. Cold start delay is defined as the time between when a serverless function is triggered and when it begins to execute, and its existence seriously impacts resource utilization and Quality of Service (QoS). In this article, we study how to minimize the total system cost by caching function containers and selecting routes for neighboring functions via edge or public clouds. We prove that the proposed problem is NP-hard even in the special case where the user request contains only one function, and that the unpredictability of user requests and the impact between adjacent time decisions require that the problem to be solved in an online fashion. We then design the Online Lazy Caching algorithm, an online algorithm with a worst-case competitive ratio using a randomized dependent rounding algorithm to solve the problem. Extensive simulation results show that the proposed online algorithm can achieve close-to-optimal performance in terms of both total cost and cold start cost compared to other existing algorithms, with average improvements of 31.6 % and 51.7 % .
引用
收藏
页码:8789 / 8802
页数:14
相关论文
共 33 条
[1]   A Reinforcement Learning Approach to Reduce Serverless Function Cold Start Frequency [J].
Agarwal, Siddharth ;
Rodriguez, Maria A. ;
Buyya, Rajkumar .
21ST IEEE/ACM INTERNATIONAL SYMPOSIUM ON CLUSTER, CLOUD AND INTERNET COMPUTING (CCGRID 2021), 2021, :797-803
[2]  
Akkus IE, 2018, PROCEEDINGS OF THE 2018 USENIX ANNUAL TECHNICAL CONFERENCE, P923
[3]   Linear programming in O(n3/ln n/L) operations [J].
Anstreicher, KM .
SIAM JOURNAL ON OPTIMIZATION, 1999, 9 (04) :803-812
[4]  
Apache, 2023, Apache/openwhisk: Apache openwhisk is an open source serverless cloud platform
[5]   Application Deployment Strategies for Reducing the Cold Start Delay of AWS Lambda [J].
Dantas, Jaime ;
Khazaei, Hamzeh ;
Litoiu, Marin .
2022 IEEE 15TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (IEEE CLOUD 2022), 2022, :1-10
[6]   Dependent Function Embedding for Distributed Serverless Edge Computing [J].
Deng, Shuiguang ;
Zhao, Hailiang ;
Xiang, Zhengzhe ;
Zhang, Cheng ;
Jiang, Rong ;
Li, Ying ;
Yin, Jianwei ;
Dustdar, Schahram ;
Zomaya, Albert Y. .
IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2022, 33 (10) :2346-2357
[7]  
Jarachanthan J., 2023, P IEEE ACM 31 INT S, P1
[8]   HyCloud: Tweaking Hybrid Cloud Storage Services for Cost-Efficient Filesystem Hosting [J].
Jinlong, E. ;
Cui, Yong ;
Li, Zhenhua ;
Ruan, Mingkang ;
Zhai, Ennan .
IEEE-ACM TRANSACTIONS ON NETWORKING, 2020, 28 (06) :2629-2642
[9]   Evolution of Emerging Computing paradigm Cloud to Fog: Applications, Limitations and Research Challenges [J].
Kumar, Mohit ;
Duhey, Kalka ;
Pandey, Rakesh .
2021 11TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING, DATA SCIENCE & ENGINEERING (CONFLUENCE 2021), 2021, :257-261
[10]   Finding risk patterns in cloud system models [J].
Kunz, Florian ;
Mann, Zoltan Adam .
2019 IEEE 12TH INTERNATIONAL CONFERENCE ON CLOUD COMPUTING (IEEE CLOUD 2019), 2019, :251-255