Faast: An Efficient Serverless Framework Made Snapshot-based Function Response Fast
Yongshu Bai, Zhihui Yang, Feng Gao
摘要
Recent years have seen the rapid popularity of serverless computing, benefiting from its seamless scalability and pay-as-you-go charging model. Despite recent efforts to enhance function cold-start performance by utilizing snapshot and working set mechanisms, the existing methods still suffered considerable overheads in end-to-end response time as functions' inputs varied. In this paper, we propose Faast, a novel solution designed to improve function response time by enhancing virtual machine snapshot-based startup while guaranteeing function execution performance. Our system introduces a preparation phase to generate a lightweight working set, which excludes stale pages that do not require loading from snapshot files for each function to expedite startup. Additionally, Faast facilitates network connectivity for the snapshot by implementing NAT within the virtio-net device model bypassing the time-consuming network namespace setup. To guarantee execution performance, a divergent page fault handling mechanism is designed to address page faults related to stale and non-stale pages separately, effectively mitigating sluggish disk I/O accesses. Faast also incrementally adapts the working set file across various function invocations to bolster functions' resilience to diverse inputs. Extensive experiments demonstrate that Faast reduces function end-to-end time by up to 63% compared to the state-of-the-art.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- FaaSnap: FaaS made fast using snapshot-based VMsLixiang Ao, George Porter, Geoffrey M. VoelkerEuroSys 2022 · 被引用 59 次
- Benchmarking, analysis, and optimization of serverless function snapshotsDmitrii Ustiugov, Plamen Petrov, Marios Kogias, Edouard Bugnion 等ASPLOS 2021 · 被引用 162 次
- SEUSS: skip redundant paths to make serverless fastJames Cadden, Thomas Unger, Yara Awad, Han Dong 等EuroSys 2020 · 被引用 156 次
- Fireworks: a fast, efficient, and safe serverless framework using VM-level post-JIT snapshotWonseok Shin, Wook-Hee Kim, Changwoo MinEuroSys 2022 · 被引用 20 次
- Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang 等ASPLOS 2020 · 被引用 280 次
