FaaSBatch: Boosting Serverless Efficiency With In-Container Parallelism and Resource Multiplexing

被引:0
|
作者
Wu, Zhaorui [1 ]
Deng, Yuhui [1 ]
Zhou, Yi [2 ]
Li, Jie [1 ]
Pang, Shujie [1 ]
Qin, Xiao [3 ]
机构
[1] Jinan Univ, Dept Comp Sci, Guangzhou 510632, Guangdong, Peoples R China
[2] Columbus State Univ, TSYS Sch Comp Sci, Columbus, GA 31097 USA
[3] Auburn Univ, Dept Comp Sci & Software Engn, Auburn, AL 36849 USA
基金
中国国家自然科学基金;
关键词
Containers; Concurrent computing; Serverless computing; Multiplexing; Monopoly; Costs; Computer science; Cloud computing; serverless computing; batching request; resource management;
D O I
10.1109/TC.2024.3352834
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
With high scalability and flexibility, serverless computing is becoming the most promising computing model. Existing serverless computing platforms initiate a container for each function invocation, which leads to a huge waste of computing resources. Our examinations reveal that (i) executing invocations concurrently within a single container can provide comparable performance to that provided by multiple containers (i.e., traditional approaches); (ii) redundant resources generated within a container result in memory resource waste, which prolongs the execution time of function invocations. Motivated by these insightful observations, we propose FaaSBatch - a serverless framework that reduces invocation latency and saves scarce computing resources. In particular, FaaSBatch first classifies concurrent function requests into different function groups according to the invocation information. Next, FaaSBatch batches the invocations of each group, aiming to minimize resource utilization. Then, FaaSBatch utilizes an inline parallel policy to map each group of batched invocations into a single container. Finally, FaaSBatch expands and executes invocations of containers in parallel. To further reduce invocation latency and resource utilization, within each container, FaaSBatch reuses redundant resources created during function execution. We conduct extensive experiments based on Azure traces to evaluate the effectiveness and performance of FaaSBatch. We compare FaaSBatch with three state-of-the-art schedulers Vanilla, SFS, and Kraken. Our experimental results show that FaaSBatch effectively and remarkably slashes invocation latency and resource overhead. For instance, when executing I/O functions, FaaSBatch cuts back the invocation latency of Vanilla, SFS, and Kraken by up to 72.58%, 74.10%, and 72.62%, respectively; FaaSBatch also slashes the resource overhead of Vanilla, SFS, and Kraken by 70.2% to 98.40%, 67.74% to 98.12%, and 43.01% to 78.90%, respectively.
引用
收藏
页码:1071 / 1085
页数:15
相关论文
共 20 条
  • [1] MXFaaS: Resource Sharing in Serverless Environments for Parallelism and Efficiency
    Stojkovic, Jovan
    Xu, Tianyin
    Franke, Hubertus
    Torrellas, Josep
    PROCEEDINGS OF THE 2023 THE 50TH ANNUAL INTERNATIONAL SYMPOSIUM ON COMPUTER ARCHITECTURE, ISCA 2023, 2023, : 474 - 488
  • [2] FaaSBatch: Enhancing the Efficiency of Serverless Computing by Batching and Expanding Functions
    Wu, Zhaorui
    Deng, Yuhui
    Zhou, Yi
    Li, Jie
    Pang, Shujie
    2023 IEEE 43RD INTERNATIONAL CONFERENCE ON DISTRIBUTED COMPUTING SYSTEMS, ICDCS, 2023, : 372 - 382
  • [3] Joint Optimization of Parallelism and Resource Configuration for Serverless Function Steps
    Wen, Zhaojie
    Chen, Qiong
    Niu, Yipei
    Song, Zhen
    Deng, Quanfeng
    Liu, Fangming
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2024, 35 (04) : 560 - 576
  • [4] Prediction-driven resource provisioning for serverless container runtimes
    Tomaras, Dimitrios
    Tsenos, Michail
    Kalogeraki, Vana
    2023 IEEE INTERNATIONAL CONFERENCE ON AUTONOMIC COMPUTING AND SELF-ORGANIZING SYSTEMS, ACSOS, 2023, : 145 - 150
  • [5] ComboFunc: Joint Resource Combination and Container Placement for Serverless Function Scaling With Heterogeneous Container
    Wen, Zhaojie
    Chen, Qiong
    Deng, Quanfeng
    Niu, Yipei
    Song, Zhen
    Liu, Fangming
    IEEE TRANSACTIONS ON PARALLEL AND DISTRIBUTED SYSTEMS, 2024, 35 (11) : 1989 - 2005
  • [6] A study on application container resource efficiency
    Demirkol, Ozmen Emre
    Oz, Cemil
    Demirkol, Arkin
    TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2019, 27 (02) : 1041 - 1051
  • [7] Resource Efficiency in Container-instance Clusters
    Awada, Uchechukwu
    Barker, Adam
    PROCEEDINGS OF THE SECOND INTERNATIONAL CONFERENCE ON INTERNET OF THINGS, DATA AND CLOUD COMPUTING (ICC 2017), 2017,
  • [8] Boosting efficiency of split marine container terminals by innovative technology
    Franke, KP
    2001 IEEE INTELLIGENT TRANSPORTATION SYSTEMS - PROCEEDINGS, 2001, : 774 - 779
  • [9] Harmonizing Efficiency and Practicability: Optimizing Resource Utilization in Serverless Computing with JIAGU
    Liu, Qingyuan
    Yang, Yanning
    Du, Dong
    Xia, Yubin
    Zhang, Ping
    Feng, Jia
    Larus, James R.
    Chen, Haibo
    PROCEEDINGS OF THE 2024 USENIX ANNUAL TECHNICAL CONFERENCE, ATC 2024, 2024, : 1 - 17
  • [10] Enhancing Resource Utilization Efficiency in Serverless Education: A Stateful Approach with Rofuse
    Lu, Xinxi
    Li, Nan
    Yuan, Lijuan
    Zhang, Juan
    ELECTRONICS, 2024, 13 (11)