Serverless Cold Starts and Where to Find Them
Artjom Joosen, Ahmed Hassan, Martin Asenov, Rajkarn Singh, Luke Nicholas Darlow, Jianfeng Wang, Qiwen Deng, Adam Barker
摘要
This paper analyzes a month-long trace of 85 billion user requests and 11.9 million cold starts from Huawei's serverless cloud platform. Our analysis spans workloads from five data centers. We focus on cold starts and provide a comprehensive examination of the underlying factors influencing the number and duration of cold starts. These factors include trigger types, request synchronicity, runtime languages, and function resource allocations. We investigate components of cold starts, including pod allocation time, code and dependency deployment time, and scheduling delays, and examine their relationships with runtime languages, trigger types, and resource allocation. We introduce pod utility ratio to measure the pod's useful lifetime relative to its cold start time, giving a more complete picture of cold starts, and see that some pods with long cold start times have longer useful lifetimes. Our findings reveal the complexity and multifaceted origins of the number, duration, and characteristics of cold starts, driven by differences in trigger types, runtime languages, and function resource allocations. For example, cold starts in Region 1 take up to 7 seconds, dominated by dependency deployment time and scheduling. In Region 2, cold starts take up to 3 seconds and are dominated by pod allocation time. Based on this, we identify opportunities to reduce the number and duration of cold starts using strategies for multi-region scheduling. Finally, we suggest directions for future research to address these challenges and enhance the performance of serverless cloud platforms.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- DROPS: Managing Serverless Resource Pools in Microsoft Azure Functions 引用了 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 引用了 FaasCache: keeping serverless computing alive with greedy-dual caching
- In-Production Characterization of an Open Source Serverless Platform and New Scaling Strategies 引用了 Firecracker: Lightweight Virtualization for Serverless Applications
- In-Production Characterization of an Open Source Serverless Platform and New Scaling Strategies 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Demystifying Serverless Costs on Public Platforms: Bridging Billing, Architecture, and OS Scheduling 引用了 In-Production Characterization of an Open Source Serverless Platform and New Scaling Strategies
- Demystifying Serverless Costs on Public Platforms: Bridging Billing, Architecture, and OS Scheduling 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- FaasCache: keeping serverless computing alive with greedy-dual caching 引用了 Firecracker: Lightweight Virtualization for Serverless Applications
- FaasCache: keeping serverless computing alive with greedy-dual caching 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless Systems 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Hierarchical Integration of WebAssembly in Serverless for Efficiency and Interoperability 引用了 In-Production Characterization of an Open Source Serverless Platform and New Scaling Strategies
- Hierarchical Integration of WebAssembly in Serverless for Efficiency and Interoperability 引用了 Demystifying Serverless Costs on Public Platforms: Bridging Billing, Architecture, and OS Scheduling
- Hierarchical Integration of WebAssembly in Serverless for Efficiency and Interoperability 引用了 FaasCache: keeping serverless computing alive with greedy-dual caching
- Hierarchical Integration of WebAssembly in Serverless for Efficiency and Interoperability 引用了 Firecracker: Lightweight Virtualization for Serverless Applications
- Hierarchical Integration of WebAssembly in Serverless for Efficiency and Interoperability 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
引用它的顶会 Paper7
- Fork in the Road: Reflections and Optimizations for Cold Start Latency in Production Serverless SystemsXiaohu Chai, Tianyu Zhou, Keyang Hu, Jianfeng Tan 等OSDI 2025 · 7 次引用
- In-Production Characterization of an Open Source Serverless Platform and New Scaling StrategiesNima Nasiri, Nalin Munshi, Simon Daniel Moser, Marius Pirvu 等EuroSys 2026 · 3 次引用
- Demystifying Serverless Costs on Public Platforms: Bridging Billing, Architecture, and OS SchedulingChangyuan Lin, Yuanzhi Ma, Mohammad ShahradEuroSys 2026 · 3 次引用
- Hierarchical Integration of WebAssembly in Serverless for Efficiency and InteroperabilityMohammadamin Baqershahi, Changyuan Lin, Visal Saosuo, Paul Chen 等NSDI 2026 · 2 次引用
- DROPS: Managing Serverless Resource Pools in Microsoft Azure FunctionsAhmed Alquraan, Abdelrahman Baba, Rafael Mendes da Silva, Sameh Elnikety 等EuroSys 2026
它引用的 Paper19
- Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud ProviderMohammad Shahrad, Rodrigo Fonseca, Iñigo Goiri, Gohar Irfan Chaudhry 等USENIX ATC 2020 · 946 次引用
- Borg: the next generationMuhammad Tirmazi, Adam Barker, Nan Deng, Md E. Haque 等EuroSys 2020 · 323 次引用
- FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 次引用
- Firecracker: Lightweight Virtualization for Serverless ApplicationsAlexandru Agache, Marc Brooker, Alexandra Iordache, Anthony Liguori 等NSDI 2020 · 197 次引用
- Protean: VM Allocation Service at ScaleOri Hadary, Luke Marshall, Ishai Menache, Abhisek Pan 等OSDI 2020 · 189 次引用
相关 Paper
- SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless FunctionsCheryl Lee, Zhouruixin Zhu, Tianyi Yang, Yintong Huo 等ICDE 2024 · 13 次引用
- Concurrency-Informed Orchestration for Serverless FunctionsQichang Liu, Yue Cheng, Haiying Shen, Ao Wang 等ASPLOS 2025 · 7 次引用
- λ-trim: Optimizing Function Initialization in Serverless Applications With Cost-driven DebloatingXuting Liu, Spyros Pavlatos, Yuhao Liu, Vincent LiuASPLOS 2025
- 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 次引用
- YuanRong: A Production General-purpose Serverless System for Distributed Applications in the CloudQiong Chen, Jianmin Qian, Yulin Che, Ziqi Lin 等SIGCOMM 2024 · 28 次引用
