arrow
Return

HashCache: Accelerating Serverless Computing by Skipping Duplicated Function Execution

delete2023-12-01
delete0
PRE
AI
Z
Zhaorui Wu
Y
Yuhui Deng *
周毅 cover
周毅 (Yi Zhou)
L
Lin Cui
X
Xiao Qin
DOI:10.1109/TPDS.2023.3323330delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

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.
Keywords:
Cloud computing
function-as-a-service
performance optimization
serverless computing
Function Placement Approaches in Serverless Computing: A Survey
err2024-12-01
err9
PREAI
errGhorbian, Mohsen; Ghobaei-Arani, Mostafa; Asadolahpour-Karimi, Rohollah
errShare
errSave
EneX: An Energy-Aware Execution Scheduler for Serverless Computing
err2024-02-01
err4
PREAI
errRastegar, Seyed Hamed; Shafiei, Hossein; Khonsari, Ahmad
errShare
errSave
A Package-Aware Approach for Function Scheduling in Serverless Computing Environments
err2023-04-13
err4
PREAI
errChetabi, Faeze Azimi; Ashtiani, Mehrdad; Saeedizade, Ehsan
errShare
errSave
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
errShare
errSave
Serverless Computing: A Survey of Opportunities, Challenges, and Applications
err2022-11-10
err67
errOAAI
errShafiei, Hossein; Khonsari, Ahmad; Mousavi, Payam
errShare
errSave
errShare
errSave
Warmonger Attack: A Novel Attack Vector in Serverless Computing
err2024-12-01
err1
PREAI
errXiong, Junjie; Wei, Mingkui; Lu, Zhuo; Liu, Yao
errShare
errSave
errShare
errSave

Journal

IEEE Transactions on Parallel and Distributed Systems cover
IEEE Transactions on Parallel and Distributed Systems
IF:
6
Papers:
5.2K
Citations:
1.4W

Organization

Jinan University cover
Jinan University
Scholars:
3.2K
Papers: 963
Citations: 2.0W
U
university system of georgia
Scholars:
7.3W
Papers: 6.6W
Citations: 9.3W
C
columbus state university
Scholars:
8
Papers: 6
Citations: 51
researcher View more organizations
Cited Papers

Cited Papers

errShare
errSave
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
errShare
errSave
errShare
errSave
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
errShare
errSave
researcher View more