Lune

ICDE2026Top-tier venue

Contemp: Instance Caching Based on Container Temperature in Serverless Environment

Pengwei Wang, Nuo Chen, Haoquan Qi, Yichen Zhong, Shun Song

Abstract

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.

Ask Lune

Know where this paper stands in minutes, not an afternoon.

Lune can read the top-tier papers that cite it and the ones closest to it, and tells you what it claims, what came after and where it falls short, each point cited to the paper it comes from. No skimming, no AI slop.

Questions to start from

Lune can draw on

its abstract · related work

Get the answer

Free to start. No credit card required.

Related papers

  1. Concurrency-Informed Orchestration for Serverless FunctionsQichang Liu, Yue Cheng, Haiying Shen, Ao Wang et al.ASPLOS 2025 · 7 citations
  2. Help Rather Than Recycle: Alleviating Cold Startup in Serverless Computing Through Inter-Function Container SharingZijun Li, Linsong Guo, Quan Chen, Jiagan Cheng et al.USENIX ATC 2022 · 135 citations
  3. RainbowCake: Mitigating Cold-starts in Serverless with Layer-wise Container Caching and SharingHanfei Yu, Rohan Basu Roy, Christian Fontenot, Devesh Tiwari et al.ASPLOS 2024 · 69 citations
  4. Flame: A Centralized Cache Controller for Serverless ComputingYanan Yang, Laiping Zhao, Yiming Li, Shihao Wu et al.ASPLOS 2023 · 15 citations
  5. SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless FunctionsCheryl Lee, Zhouruixin Zhu, Tianyi Yang, Yintong Huo et al.ICDE 2024 · 13 citations
Dusk over the sea between two cliffs drawn in fine vertical lines