arrow
Return

Improving the Serverless Function Cache Efficiency With Flame

delete2025-12-10
delete0
PRE
AI
Y
Yang, Yanan
W
Wenda Tang
L
Laiping Zhao
K
Keqiu Li
J
Jie Wu
DOI:10.1109/TC.2025.3642338delete
deleteOriginal
deleteShare
deleteSave
Abstract

Abstract

En 中文
Function caching is one of the fundamental techniques in FaaS platforms to alleviate coldstart overhead. However, as cache instances consume significant cloud resources (e.g., memory), it is challenging to balance function performance and cache cost. Current systems use simple and rudderless cache polices with a “local cache control” design, which ignores function characteristics such as workload skewness from hot functions and results in either cache contentions or cache resource waste. In this paper, inspired by software-defined networks, we propose Flame, an efficient cache system to manage cached functions with hotspot-aware instance scheduling and cache allocation. It consists of a two-layer design. Firstly, by decoupling the cache control plane from worker nodes and introducing a centralized cache controller, Flame can schedule functions from a global view of the cluster’s status, thereby reducing inter-node workload skew. Second, Flame divides the prior monolithic cache pool within each node into multiple partitions and dynamically assigns them to different hot functions, thereby further mitigating intra-node cache contention. Experimental results from real-world workloads show that Flame can reduce cache resource usage by 36% on average while improving function performance by nearly 7$\boldsymbol{\times}$ compared to the state-of-the-art method.
Keywords:
Serverless
coldstart overhead
function caching

Journal

IEEE Transactions on Computers cover
IEEE Transactions on Computers
IF:
3.8
Papers:
5.4K
Citations:
9.8K

Organization

T
tianjin university
Scholars:
8.0W
Papers: 5.8W
Citations: 88
C
China Telecom
Scholars:
71
Papers: 62
Citations: 121
Cited Papers

Cited Papers

Palette Load Balancing: Locality Hints for Serverless Functions
err2023-05-08
err0
PREAI
errMania Abdi; Samuel Ginzburg; Xiayue Charles Lin; Jose Faleiro; Gohar Irfan Chaudhry; Inigo Goiri; Ricardo Bianchini; Daniel S Berger; Rodrigo Fonseca
errShare
errSave
TrEnv: Transparently Share Serverless Execution Environments Across Different Functions and Nodes
err2024-11-04
err0
PREAI
errHuang,Jialiang; Zhang,MingXing; Ma,Teng; Liu,Zheng; Lin,Sixing; Chen,Kang; Jiang,Jinlei; Liao,Xia; Shan,Yingdi; Zhang,Ning; Lu,Mengting; Ma,Tao; Gong,Haifeng; Wu,YongWei
errShare
errSave
Memory deduplication for serverless computing with Medes
err2022-03-28
err0
errOAAI
errDivyanshu Saxena; Tao Ji; Arjun Singhvi; Junaid Khalid; Aditya Akella
errShare
errSave
researcher View more