一句话:对 serverless 函数快照进行基准测试与性能分析,并优化快照机制以降低冷启动延迟。
Serverless 计算因高可扩展性和按需计费被广泛采用。开发者将服务组织为函数,由点击等事件零星触发;函数调用到达间隔差异很大,促使云厂商在每次调用时启动新实例,造成显著冷启动延迟并损害体验。为降低冷启动延迟,工业界采用快照技术,将已完成启动的函数镜像存入磁盘,使调用比从零启动更快。本文对该机制进行基准测试、性能分析与优化,研究快照恢复路径的开销来源,识别影响延迟的关键因素,并提出优化以缩短函数调用延迟。摘要未给出具体实验数据,但论文系统评估并改进了 serverless 函数快照,为平台缓解冷启动问题提供依据。
Serverless computing has seen rapid adoption due to its high scalability and flexible, pay-as-you-go billing model. In serverless, developers structure their services as a collection of functions, sporadically invoked by various events like clicks. High inter-arrival time variability of function invocations motivates the providers to start new function instances upon each invocation, leading to significant cold-start delays that degrade user experience. To reduce cold-start latency, the industry has turned to snapshotting, whereby an image of a fully-booted function is stored on disk, enabling a faster invocation compared to booting a function from scratch.
@inproceedings{paperbot6134,
title = {Benchmarking, analysis, and optimization of serverless function snapshots},
author = {Dmitrii Ustiugov and Plamen Petrov and Marios Kogias and Edouard Bugnion and Boris Grot},
booktitle = {ASPLOS},
year = {2021},
doi = {10.1145/3445814.3446714}
}