English

Caching Aided Multi-Tenant Serverless Computing

Distributed, Parallel, and Cluster Computing 2024-08-05 v1

Abstract

One key to enabling high-performance serverless computing is to mitigate cold-starts. Current solutions utilize a warm pool to keep function alive: a warm-start can be analogous to a CPU cache-hit. However, modern cache has multiple hierarchies and the last-level cache is shared among cores, whereas the warm pool is limited to a single tenant for security concerns. Also, the warm pool keep-alive policy can be further optimized using cache replacement algorithms. In this paper, we borrow practical optimizations from caching, and design FaasCamp, a caching-aided multi-tenant serverless computing framework. FaasCamp extends the single-tier warm pool into multi-tiers, with a reclaim pool introduced enabling secure function instance sharing among tenants. Also, FaasCamp leverages machine learning to approximate the optimal cache replacement policy to improve the warm rate. We have implemented a prototype and conducted extensive experiments under multiple scenarios. The results show that FaasCamp can outperform existing platforms with minimal overhead.

Keywords

Cite

@article{arxiv.2408.00957,
  title  = {Caching Aided Multi-Tenant Serverless Computing},
  author = {Chu Qiao and Cong Wang and Zhenkai Zhang and Yuede Ji and Xing Gao},
  journal= {arXiv preprint arXiv:2408.00957},
  year   = {2024}
}
R2 v1 2026-06-28T18:01:40.804Z