Efficient and Flexible Component Placement for Serverless Computing

被引:2
作者
Luo, Shouxi [1 ,2 ]
Li, Ke [1 ,2 ]
Xing, Huanlai [1 ,2 ]
Fan, Pingzhi [3 ]
机构
[1] Southwest Jiaotong Univ, Sch Comp & Artificial Intelligence, Chengdu 611756, Peoples R China
[2] Minist Educ, Engn Res Ctr Sustainable Urban Intelligent Transpo, Chengdu 611756, Peoples R China
[3] Southwest Jiaotong Univ, CSNMT Int Coop Res Ctr, Key Lab Informat Coding & Transmiss, Chengdu 611756, Peoples R China
来源
IEEE SYSTEMS JOURNAL | 2024年 / 18卷 / 02期
关键词
Costs; Containers; Cloud computing; Energy conservation; Serverless computing; Delays; Production; Cloud; energy saving; load balance; serverless; service placement;
D O I
10.1109/JSYST.2024.3381590
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Nowadays, serverless computing has been widely employed and viewed as the new paradigm of cloud computing. Technically, serverless applications are made up of function components, which are packaged as specific layered files named container images. In production, different components are designed to partially share layers, and during the deployment, the hosting servers have to download the missing layers first, which might dominate the application startup delay. In this article, we look into optimizing the deployment of serverless applications under the operational goals of energy saving and load balance, by exploring the reusability among involved container images to conduct content-aware component placements explicitly. We find that the two involved optimization problems can be formulated as multi-objective (mixed-)integer linear programs, and prove that their common building block of minimizing the weighted sum of deployment cost for a given set of serverless components is non-deterministic polynomial (NP)-hard. To be practical, we develop an efficient yet flexible heuristic solution named best fit greedy placement (BFGP), which involves three variants BFGP-Full, BFGP-ES, and BFGP-LB for the problem. Performance studies show that BFGP is effective, expressive, and efficient. It not only achieves near-optimal placement very efficiently but also supports high-level operational policies, such as energy saving and load balance.
引用
收藏
页码:1104 / 1114
页数:11
相关论文
共 36 条
[1]   Carbon Explorer: A Holistic Framework for Designing Carbon Aware Datacenters [J].
Acun, Bilge ;
Lee, Benjamin ;
Kazhamiaka, Fiodar ;
Maeng, Kiwan ;
Gupta, Udit ;
Chakkaravarthy, Manoj ;
Brooks, David ;
Wu, Carole-Jean .
PROCEEDINGS OF THE 28TH ACM INTERNATIONAL CONFERENCE ON ARCHITECTURAL SUPPORT FOR PROGRAMMING LANGUAGES AND OPERATING SYSTEMS, VOL 2, ASPLOS 2023, 2023, :118-132
[2]  
Akkus IE, 2018, PROCEEDINGS OF THE 2018 USENIX ANNUAL TECHNICAL CONFERENCE, P923
[3]  
[Anonymous], 2020, Dragonfly
[4]  
[Anonymous], 2020, Kraken
[5]  
Anwar A, 2018, PROCEEDINGS OF THE 16TH USENIX CONFERENCE ON FILE AND STORAGE TECHNOLOGIES, P265
[6]  
ApS M., 2021, MOSEK optimizer API for python
[7]   Kubernetes Scheduling: Taxonomy, Ongoing Issues and Challenges [J].
Carrion, Carmen .
ACM COMPUTING SURVEYS, 2023, 55 (07)
[8]   The Rise of Serverless Computing [J].
Castro, Paul ;
Ishakian, Vatche ;
Muthusamy, Vinod ;
Slominski, Aleksander .
COMMUNICATIONS OF THE ACM, 2019, 62 (12) :44-54
[9]  
Cormen Thomas H., 2009, Introduction to Algorithms, V3rd
[10]  
Darras Tom, 2019, 2019 Conference on Lasers and Electro-Optics Europe & European Quantum Electronics Conference (CLEO/Europe-EQEC), DOI 10.1109/CLEOE-EQEC.2019.8871836