arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.00957cs.DC
收藏

缓存辅助的多租户无服务器计算

Caching Aided Multi-Tenant Serverless Computing

Chu Qiao, Cong Wang, Zhenkai Zhang, Yuede Ji, Xing Gao

AI总结:

本文提出缓存辅助的多租户无服务器计算框架 FaasCamp,通过多层暖池、跨租户安全共享和机器学习缓存替换策略缓解冷启动问题,实验证明其能以最小开销超越现有平台。

摘要:

实现高性能无服务器计算的关键之一是缓解冷启动问题。现有解决方案利用暖池保持函数存活:暖启动可类比为 CPU 缓存命中。然而,现代缓存具有多级层次结构,且末级缓存在核心之间共享,而暖池出于安全考虑仅限于单一租户。此外,暖池的保活策略还可以利用缓存替换算法进一步优化。在本文中,我们借鉴缓存领域的实用优化方法,设计了 FaasCamp,一个缓存辅助的多租户无服务器计算框架。FaasCamp 将单层暖池扩展为多层结构,并引入回收池,实现租户之间安全的函数实例共享。同时,FaasCamp 利用机器学习近似最优缓存替换策略以提高暖启动率。我们实现了一个原型,并在多种场景下进行了广泛实验。结果表明,FaasCamp 能够以最小的开销超越现有平台。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑