Contemp: Instance Caching Based on Container Temperature in Serverless Environment
Pengwei Wang, Nuo Chen, Haoquan Qi, Yichen Zhong, Shun Song
摘要
In serverless computing, cloud providers dynamically manage the underlying resource allocation, allowing developers to concentrate on business logic development. Although containers ensure runtime consistency, creation and destruction of instances significantly degrade performance by increasing cold start latency. A widely adopted solution is instance caching, which facilitates rapid container reuse upon request arrival. However, existing caching mechanisms exhibit limitations under highconcurrency burst workloads: the lack of a dynamic evaluation mechanism for real-time container activity levels may lead to premature eviction of high-activity containers or excessive resource occupation by low-activity containers, thereby reducing resource efficiency and service quality. This paper presents Contemp, a container temperature-based cache eviction strategy. Contemp constructs a Historical-Enhanced Adaptive Temperature Model (HEATM), which integrates temporal patterns, cold start latency, resource efficiency, and historical invocation frequency. In addition, it adopts a decay mechanism based on Newton's Law of Cooling to prevent excessive caching of containers. Based on the temperature awareness of container, Contemp dynamically adjusts cache priorities to guide cache eviction decisions, and achieves a better trade-off between resource costs and cold start latency. Experimental evaluations on Azure Functions trace demonstrate Contemp's superior performance: improving an average of 17.3% higher cache hit rate of each node, 30.1% reduction in cold start latency, and 25.4% cost effectiveness improvement compared to existing approaches.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- Concurrency-Informed Orchestration for Serverless FunctionsQichang Liu, Yue Cheng, Haiying Shen, Ao Wang 等ASPLOS 2025 · 被引用 7 次
- Help Rather Than Recycle: Alleviating Cold Startup in Serverless Computing Through Inter-Function Container SharingZijun Li, Linsong Guo, Quan Chen, Jiagan Cheng 等USENIX ATC 2022 · 被引用 135 次
- RainbowCake: Mitigating Cold-starts in Serverless with Layer-wise Container Caching and SharingHanfei Yu, Rohan Basu Roy, Christian Fontenot, Devesh Tiwari 等ASPLOS 2024 · 被引用 69 次
- Flame: A Centralized Cache Controller for Serverless ComputingYanan Yang, Laiping Zhao, Yiming Li, Shihao Wu 等ASPLOS 2023 · 被引用 15 次
- SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless FunctionsCheryl Lee, Zhouruixin Zhu, Tianyi Yang, Yintong Huo 等ICDE 2024 · 被引用 13 次
