arrow
返回

HashCache: Accelerating Serverless Computing by Skipping Duplicated Function Execution

delete2023-12-01
delete0
PRE
AI
Z
Zhaorui Wu
Y
Yuhui Deng *
周毅 封面图
周毅 (Yi Zhou)
L
Lin Cui
X
Xiao Qin
DOI:10.1109/TPDS.2023.3323330delete
delete原文链接
delete分享
delete收藏
摘要

摘要

En 中文
Serverless computing is a leading force behind deploying and managing software in cloud computing. One inherent challenge in serverless computing is the increased overall latency due to duplicate computations. Our initial investigation into the function invocations of serverless applications reveals an abundance of duplicate invocations. Inspired by this critical observation, we introduce HashCache, a system designed to cache duplicate function invocations, thereby mitigating duplicate computations. In HashCache, serverless functions are classified into three categories, namely, computational functions, stateful functions, and environment-related functions. On the grounds of such a function classification, HashCache associates the stateful functions and their states to build an adaptive synchronization mechanism. With this support, HashCache exploits the cached results of computational and stateful functions to serve upcoming invocation requests to the same functions, thereby reducing duplicate computations. Moreover, HashCache stores remote files probed by stateful functions into a local cache layer, which further curtails invocation latency. We implement HashCache within the Apache OpenWhisk to forge a cache-enabled serverless computing platform. We conduct extensive experiments to quantitatively evaluate the performance of HashCache in terms of invocation latency and resource utilization. We compare HashCache against two state-of-the-art approaches - FaaSCache and OpenWhisk. The experimental results unveil that our HashCache remarkably reduces invocation latency and resource overhead. More specifically, HashCache curbs the 99-tail latency of FaaSCache and OpenWhisk by up to 91.37% and 95.96% in real-world serverless applications. HashCache also slashes the resource utilization of FaaSCache and OpenWhisk by up to 31.62% and 35.51%, respectively.
Keyword:
Cloud computing
function-as-a-service
performance optimization
serverless computing
err分享
err收藏
Towards Energy-Aware Execution and Offloading of Serverless Functions实现无服务器功能的能量感知执行和卸载
err2024-07-29
err0
PREAI
errCalavaro, Cecilia; Russo, Gabriele Russo; Salvati, Martina; Cardellini, Valeria; Lo Presti, Francesco
err分享
err收藏
err分享
err收藏
Warmonger Attack: A Novel Attack Vector in Serverless Computing
err2024-12-01
err1
PREAI
errXiong, Junjie; Wei, Mingkui; Lu, Zhuo; Liu, Yao
err分享
err收藏
err分享
err收藏

期刊

IEEE Transactions on Parallel and Distributed Systems 封面图
IEEE Transactions on Parallel and Distributed Systems
IF:
6
论文数:
5.2K
被引数:
1.4W

机构

暨南大学 封面图
暨南大学
学者数:
3.2K
论文数: 963
被引数: 2.0W
U
university system of georgia
学者数:
7.3W
论文数: 6.6W
被引数: 9.3W
C
columbus state university
学者数:
8
论文数: 6
被引数: 51
学者 查看更多机构
引用论文

引用论文

err分享
err收藏
Phonons splitting induces the second harmonic of tetragonal KH2PO4 by first-principles calculations
err2020-12-01
err0
PREAI
errCheng-Lu Jiang; Wei Zeng; Ning Yang; Fu-Sheng Liu; Bin Tang; Qi-Jun Liu
err分享
err收藏
err分享
err收藏
Burden of cancer mortality attributable to carcinogenic infections in Spain
err2020-05-01
err0
PREAI
errPietro Ferrara; Fernando Agüero; Cristina Masuet-Aumatell; Josep Maria Ramon-Torrell
err分享
err收藏
学者 查看更多内容