arrow
返回

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

delete2024-04-01
delete1
PRE
AI
Z
Zhaorui Wu
Y
Yuhui Deng *
周毅 封面图
周毅 (Yi Zhou)
李婕 封面图
李婕 (Jie Li)
S
Shujie Pang
X
Xiao Qin
DOI:10.1109/TC.2024.3352834delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
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.
Keyword:
Containers
Concurrent computing
Serverless computing
Multiplexing
Monopoly
Costs
Computer science
Cloud computing
serverless computing
batching request
resource management

期刊

IEEE Transactions on Computers 封面图
IEEE Transactions on Computers
IF:
3.8
论文数:
5.4K
被引数:
9.8K

机构

U
university system of georgia
学者数:
7.3W
论文数: 6.6W
被引数: 101
Columbus State University 封面图
Columbus State University
学者数:
151
论文数: 120
被引数: 196
J
jinan university
学者数:
4.3W
论文数: 2.7W
被引数: 38
学者 查看更多机构
引用论文

引用论文

err分享
err收藏
err分享
err收藏
Intra-slab COH fluid fluxes evidenced by fluid-mediated decarbonation of lawsonite eclogite-facies altered oceanic metabasalts
err2018-04-01
err0
errOAAI
errAlberto Vitale Brovarone; Xu Chu; Laure Martin; Jay J. Ague; Patrick Monié; Chiara Groppo; Isabelle Martinez; Carine Chaduteau
err分享
err收藏
The Prevalence of Destructive Leadership Behaviour破坏性领导行为的普遍性
err2010-05-25
err0
PREAI
errMerethe Schanke Aasland; Anders Skogstad; Guy Notelaers; Morten Birkeland Nielsen; Ståle Einarsen
err分享
err收藏
Stateful Serverless Application Placement in MEC With Function and State Dependencies
err2023-09-01
err27
PREAI
errXu, Zichuan; Zhou, Lizhen; Liang, Weifa; Xia, Qiufen; Xu, Wenzheng; Ren, Wenhao; Ren, Haozhe; Zhou, Pan
err分享
err收藏
Metavinculin: New insights into functional properties of a muscle adhesion protein
err2013-01-01
err0
PREAI
errFlorian Thoss; Franziska Dietrich; Karla Punkt; Susanne Illenberger; Klemens Rottner; Mirko Himmel; Wolfgang H. Ziegler
err分享
err收藏
学者 查看更多内容