Lune

ASPLOS2024Top-tier venue

RainbowCake: Mitigating Cold-starts in Serverless with Layer-wise Container Caching and Sharing

Hanfei Yu, Rohan Basu Roy, Christian Fontenot, Devesh Tiwari, Jian Li, Hong Zhang, Hao Wang, Seung-Jong Park

Abstract

Serverless computing has grown rapidly as a new cloud computing paradigm that promises ease-of-management, costefficiency, and auto-scaling by shipping functions via selfcontained virtualized containers. Unfortunately, serverless computing suffers from severe cold-start problems-starting containers incurs non-trivial latency. Full container caching is widely applied to mitigate cold-starts, yet has recently been outperformed by two lines of research: partial container caching and container sharing. However, either partial container caching or container sharing techniques exhibit their drawbacks. Partial container caching effectively deals with burstiness while leaving cold-start mitigation halfway; container sharing reduces cold-starts by enabling containers to serve multiple functions while suffering from excessive memory waste due to over-packed containers.

This paper proposes RainbowCake, a layer-wise container pre-warming and keep-alive technique that effectively mitigates cold-starts with sharing awareness at minimal waste of memory. With structured container layers and sharingaware modeling, RainbowCake is robust and tolerant to invocation bursts. We seize the opportunity of container sharing behind the startup process of standard container techniques. RainbowCake breaks the container startup process of a container into three stages and manages different container layers individually. We develop a sharing-aware algorithm that makes event-driven layer-wise caching decisions in real-time.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

5 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Single-Address-Space FaaS with Jord cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Single-Address-Space FaaS with Jord cites FaasCache: keeping serverless computing alive with greedy-dual caching
  • Single-Address-Space FaaS with Jord cites Firecracker: Lightweight Virtualization for Serverless Applications
  • Single-Address-Space FaaS with Jord cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Metronome: Differentiated Delay Scheduling for Serverless Functions cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Metronome: Differentiated Delay Scheduling for Serverless Functions cites FaasCache: keeping serverless computing alive with greedy-dual caching
  • Metronome: Differentiated Delay Scheduling for Serverless Functions cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • In-Production Characterization of an Open Source Serverless Platform and New Scaling Strategies cites FaasCache: keeping serverless computing alive with greedy-dual caching
  • In-Production Characterization of an Open Source Serverless Platform and New Scaling Strategies cites Firecracker: Lightweight Virtualization for Serverless Applications
  • In-Production Characterization of an Open Source Serverless Platform and New Scaling Strategies cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • FaasCache: keeping serverless computing alive with greedy-dual caching cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • FaasCache: keeping serverless computing alive with greedy-dual caching cites Firecracker: Lightweight Virtualization for Serverless Applications
  • FaasCache: keeping serverless computing alive with greedy-dual caching cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Medusa: Accelerating Serverless LLM Inference with Materialization cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • Medusa: Accelerating Serverless LLM Inference with Materialization cites FaasCache: keeping serverless computing alive with greedy-dual caching
  • Medusa: Accelerating Serverless LLM Inference with Materialization cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • Medusa: Accelerating Serverless LLM Inference with Materialization cites Batch: machine learning inference serving on serverless platforms with adaptive batching
  • F3: An FPGA-accelerated FaaS Framework cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
  • F3: An FPGA-accelerated FaaS Framework cites FaasCache: keeping serverless computing alive with greedy-dual caching
  • F3: An FPGA-accelerated FaaS Framework cites Firecracker: Lightweight Virtualization for Serverless Applications
  • F3: An FPGA-accelerated FaaS Framework cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers5

  1. Medusa: Accelerating Serverless LLM Inference with MaterializationShaoxun Zeng, Minhui Xie, Shiwei Gao, Youmin Chen et al.ASPLOS 2025 · 12 citations
  2. In-Production Characterization of an Open Source Serverless Platform and New Scaling StrategiesNima Nasiri, Nalin Munshi, Simon Daniel Moser, Marius Pirvu et al.EuroSys 2026 · 3 citations
  3. Single-Address-Space FaaS with JordYuanlong Li, Atri Bhattacharyya, Madhur Kumar, Abhishek Bhattacharjee et al.ISCA 2025 · 2 citations
  4. Metronome: Differentiated Delay Scheduling for Serverless FunctionsZhuangbin Chen, Juzheng Zheng, Zibin ZhengICSE 2026 · 1 citation
  5. F3: An FPGA-accelerated FaaS FrameworkCharalampos Mainas, Martin Lambeck, Bruno Scheufler, Laurent Bindschaedler et al.HPDC 2025 · 1 citation

Builds on13

  1. Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud ProviderMohammad Shahrad, Rodrigo Fonseca, Iñigo Goiri, Gohar Irfan Chaudhry et al.USENIX ATC 2020 · 946 citations
  2. Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang et al.ASPLOS 2020 · 280 citations
  3. FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 citations
  4. Firecracker: Lightweight Virtualization for Serverless ApplicationsAlexandru Agache, Marc Brooker, Alexandra Iordache, Anthony Liguori et al.NSDI 2020 · 197 citations
  5. Batch: machine learning inference serving on serverless platforms with adaptive batchingAhsan Ali, Riccardo Pinciroli, Feng Yan, Evgenia SmirniSC 2020 · 184 citations

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. Online Container Caching with Late-Warm for IoT Data ProcessingGuopeng Li, Haisheng Tan, Xuan Zhang, Chi Zhang et al.ICDE 2024 · 4 citations
  4. SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless FunctionsCheryl Lee, Zhouruixin Zhu, Tianyi Yang, Yintong Huo et al.ICDE 2024 · 13 citations
  5. FaSei: Fast Serverless Edge Inference with Synergistic Lazy Loading and Layer-wise CachingZhaowu Huang, Fang Dong, Xiaolin Guo, Daheng YinINFOCOM 2025 · 4 citations
Dusk over the sea between two cliffs drawn in fine vertical lines