Fireworks: a fast, efficient, and safe serverless framework using VM-level post-JIT snapshot
Wonseok Shin, Wook-Hee Kim, Changwoo Min
摘要
Serverless computing is a new paradigm that is rapidly gaining popularity in Cloud computing. One unique property in serverless computing is that the unit of deployment and execution is a serverless function, which is much smaller than a typical server program. Serverless computing introduces a new pay-as-you-go billing model and provides a high economic benefit from highly elastic resource provisioning. However, serverless computing also brings new challenges such as (1) long start-up times compared to relatively short function execution times, (2) security risks from a highly consolidated environment, and (3) memory efficiency problems from unpredictable function invocations. These problems not only degrade performance but also lower the economic benefits of Cloud providers.
To address these challenges without any compromises, we propose a novel VM-level post-JIT snapshot approach and develop a new serverless framework, Fireworks. Our key idea is to synergistically leverage a virtual machine (VM)level snapshot with a language runtime-level just-in-time (JIT) compilation in tandem. Fireworks leverages JITted serverless function code to reduce both start-up time and execution time of functions and improves memory efficiency by sharing the JITted code. Also, Fireworks can provide a high level of isolation by using a VM as a sandbox to execute a serverless function. Our evaluation results show that Fireworks outperforms state-of-art serverless platforms by 20.6× and provides higher memory efficiency of up to 7.3×.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 16 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Harmonizing Efficiency and Practicability: Optimizing Resource Utilization in Serverless Computing with Jiagu 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Harmonizing Efficiency and Practicability: Optimizing Resource Utilization in Serverless Computing with Jiagu 引用了 SEUSS: skip redundant paths to make serverless fast
- Harmonizing Efficiency and Practicability: Optimizing Resource Utilization in Serverless Computing with Jiagu 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Harmonizing Efficiency and Practicability: Optimizing Resource Utilization in Serverless Computing with Jiagu 引用了 Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
- SFS: Smart OS Scheduling for Serverless Functions 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- SFS: Smart OS Scheduling for Serverless Functions 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Automated Verification of Idempotence for Stateful Serverless Applications 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing 引用了 SEUSS: skip redundant paths to make serverless fast
- CXLfork: Fast Remote Fork over CXL Fabrics 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- CXLfork: Fast Remote Fork over CXL Fabrics 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- CXLfork: Fast Remote Fork over CXL Fabrics 引用了 No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing
- No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing 引用了 SEUSS: skip redundant paths to make serverless fast
- No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing 引用了 Firecracker: Lightweight Virtualization for Serverless Applications
- No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless Computing 引用了 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 引用了 Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
引用它的顶会 Paper16
- No Provisioned Concurrency: Fast RDMA-codesigned Remote Fork for Serverless ComputingXingda Wei, Fangming Lu, Tianxia Wang, Jinyu Gu 等OSDI 2023 · 78 次引用
- Harmonizing Efficiency and Practicability: Optimizing Resource Utilization in Serverless Computing with JiaguQingyuan Liu, Yanning Yang, Dong Du, Yubin Xia 等USENIX ATC 2024 · 39 次引用
- SFS: Smart OS Scheduling for Serverless FunctionsYuqi Fu, Li Liu, Haoliang Wang, Yue Cheng 等SC 2022 · 20 次引用
- Automated Verification of Idempotence for Stateful Serverless ApplicationsHaoran Ding, Zhaoguo Wang, Zhuohao Shen, Rong Chen 等OSDI 2023 · 16 次引用
- CXLfork: Fast Remote Fork over CXL FabricsChloe Alverti, Stratos Psomadakis, Burak Ocalan, Shashwat Jaiswal 等ASPLOS 2025 · 14 次引用
它引用的 Paper8
- 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 次引用
- Faasm: Lightweight Isolation for Efficient Stateful Serverless ComputingSimon Shillaker, Peter R. PietzuchUSENIX ATC 2020 · 382 次引用
- Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang 等ASPLOS 2020 · 280 次引用
- Firecracker: Lightweight Virtualization for Serverless ApplicationsAlexandru Agache, Marc Brooker, Alexandra Iordache, Anthony Liguori 等NSDI 2020 · 197 次引用
- SEUSS: skip redundant paths to make serverless fastJames Cadden, Thomas Unger, Yara Awad, Han Dong 等EuroSys 2020 · 156 次引用
相关 Paper
- Benchmarking, analysis, and optimization of serverless function snapshotsDmitrii Ustiugov, Plamen Petrov, Marios Kogias, Edouard Bugnion 等ASPLOS 2021 · 162 次引用
- Pronghorn: Effective Checkpoint Orchestration for Serverless Hot-StartsSumer Kohli, Shreyas Kharbanda, Rodrigo Bruno, João Carreira 等EuroSys 2024 · 13 次引用
- A Secure, Fast, and Resource-Efficient Serverless Platform with Function REWINDJaehyun Song, Bumsuk Kim, Minwoo Kwak, Byoungyoung Lee 等USENIX ATC 2024 · 5 次引用
- SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless FunctionsCheryl Lee, Zhouruixin Zhu, Tianyi Yang, Yintong Huo 等ICDE 2024 · 13 次引用
- Faast: An Efficient Serverless Framework Made Snapshot-based Function Response FastYongshu Bai, Zhihui Yang, Feng GaoHPDC 2024 · 3 次引用
