FaasCache: keeping serverless computing alive with greedy-dual caching
Abstract
Functions as a Service (also called serverless computing) promises to revolutionize how applications use cloud resources. However, functions suffer from cold-start problems due to the overhead of initializing their code and data dependencies before they can start executing. Keeping functions alive and warm after they have finished execution can alleviate the cold-start overhead. Keep-alive policies must keep functions alive based on their resource and usage characteristics, which is challenging due to the diversity in FaaS workloads.
Our insight is that keep-alive is analogous to caching. Our cachinginspired Greedy-Dual keep-alive policy can be effective in reducing the cold-start overhead by more than 3× compared to current approaches. Caching concepts such as reuse distances and hit-ratio curves can also be used for auto-scaled server resource provisioning, which can reduce the resource requirement of FaaS providers by 30% for real-world dynamic workloads. We implement caching-based keep-alive and resource provisioning policies in our FaasCache system, which is based on OpenWhisk. We hope that our caching analogy opens the door to more principled and optimized keep-alive and resource provisioning techniques for future FaaS workloads and platforms.
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.
56 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- IceBreaker: warming serverless functions better with heterogeneity cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- IceBreaker: warming serverless functions better with heterogeneity cites Firecracker: Lightweight Virtualization for Serverless Applications
- IceBreaker: warming serverless functions better with heterogeneity cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- AQUATOPE: QoS-and-Uncertainty-Aware Resource Management for Multi-stage Serverless Workflows cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- AQUATOPE: QoS-and-Uncertainty-Aware Resource Management for Multi-stage Serverless Workflows cites IceBreaker: warming serverless functions better with heterogeneity
- AQUATOPE: QoS-and-Uncertainty-Aware Resource Management for Multi-stage Serverless Workflows cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Help Rather Than Recycle: Alleviating Cold Startup in Serverless Computing Through Inter-Function Container Sharing cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Help Rather Than Recycle: Alleviating Cold Startup in Serverless Computing Through Inter-Function Container Sharing cites IceBreaker: warming serverless functions better with heterogeneity
- Help Rather Than Recycle: Alleviating Cold Startup in Serverless Computing Through Inter-Function Container Sharing cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- ORION and the Three Rights: Sizing, Bundling, and Prewarming for Serverless DAGs cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing cites Firecracker: Lightweight Virtualization for Serverless Applications
- No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
Cited by top-tier papers56
- IceBreaker: warming serverless functions better with heterogeneityRohan Basu Roy, Tirthak Patel, Devesh TiwariASPLOS 2022 · 151 citations
- 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
- ORION and the Three Rights: Sizing, Bundling, and Prewarming for Serverless DAGsAshraf Mahgoub, Edgardo Barsallo Yi, Karthick Shankar, Sameh Elnikety et al.OSDI 2022 · 111 citations
- AQUATOPE: QoS-and-Uncertainty-Aware Resource Management for Multi-stage Serverless WorkflowsZhuangzhuang Zhou, Yanqi Zhang, Christina DelimitrouASPLOS 2023 · 78 citations
- No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless ComputingXingda Wei, Fangming Lu, Tianxia Wang, Jinyu Gu et al.OSDI 2023 · 78 citations
Builds on5
- 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
- Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang et al.ASPLOS 2020 · 280 citations
- Firecracker: Lightweight Virtualization for Serverless ApplicationsAlexandru Agache, Marc Brooker, Alexandra Iordache, Anthony Liguori et al.NSDI 2020 · 197 citations
- funcX: A Federated Function Serving Fabric for ScienceRyan Chard, Yadu N. Babuji, Zhuozhao Li, Tyler J. Skluzacek et al.HPDC 2020 · 190 citations
- OSCA: An Online-Model Based Cache Allocation Scheme in Cloud Block Storage SystemsYu Zhang, Ping Huang, Ke Zhou, Hua Wang et al.USENIX ATC 2020 · 74 citations
Related papers
- OFC: an opportunistic caching system for FaaS platformsDjob Mvondo, Mathieu Bacou, Kevin Nguetchouang, Lucien Ngale et al.EuroSys 2021 · 80 citations
- Concurrency-Informed Orchestration for Serverless FunctionsQichang Liu, Yue Cheng, Haiying Shen, Ao Wang et al.ASPLOS 2025 · 7 citations
- Flame: A Centralized Cache Controller for Serverless ComputingYanan Yang, Laiping Zhao, Yiming Li, Shihao Wu et al.ASPLOS 2023 · 15 citations
- Locality-aware Load-Balancing For Serverless ClustersAlexander Fuerst, Prateek SharmaHPDC 2022 · 38 citations
- SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless FunctionsCheryl Lee, Zhouruixin Zhu, Tianyi Yang, Yintong Huo et al.ICDE 2024 · 13 citations
