Benchmarking, Analysis, and Optimization of Serverless Function Snapshots
Not on the map. Why?
Abstract (arXiv)
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. This work introduces vHive, an open-source framework for serverless experimentation with the goal of enabling researchers to study and innovate across the entire serverless stack. Using vHive, we characterize a state-of-the-art snapshot-based serverless infrastructure, based on industry-leading Containerd orchestration framework and Firecracker hypervisor technologies. We find that the execution time of a function started from a snapshot is 95% higher, on average, than when the same function is memory-resident. We show that the high latency is attributable to frequent page faults as the function's state is brought from disk into guest memory one page at a time. Our analysis further reveals that functions access the same stable working set of pages across different invocations of the same function. By leveraging this insight, we build REAP, a light-weight software mechanism for serverless hosts that records functions' stable working set of guest memory pages and proactively prefetches it from disk into memory. Compared to baseline snapshotting, REAP slashes the cold-start delays by 3.7x, on average.
Key facts. Cited by 12 papers in the map (data through 14 Oct 2026). First posted on arXiv 16 Jan 2021.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 0; 2024: 4; 2025: 2; 2026: 4.
12 papers.
- 2024ServerlessLLM: Low-Latency Serverless Inference for Large Language Modelscited by 80
- 2026DeltaBox: Scaling Stateful AI Agents with Millisecond-Level Sandbox Checkpoint/Rollbackcited by 12
- 2021Serverless Data Science -- Are We There Yet? A Case Study of Model Servingcited by 3
- 2022FedLesScan: Mitigating Stragglers in Serverless Federated Learningcited by 2
- 2024LIFL: A Lightweight, Event-driven Serverless Platform for Federated Learningcited by 2
- 2025PipeBoost: Resilient Pipelined Architecture for Fast Serverless LLM Scalingcited by 2
- 2024Shabari: Delayed Decision-Making for Faster and Efficient Serverless Functionscited by 0
- 2024PerOS: Personalized Self-Adapting Operating Systems in the Cloudcited by 0
- 2025BootSeer: Analyzing and Mitigating Initialization Bottlenecks in Large-Scale LLM Trainingcited by 0
- 2026Adaptive Serverless Resource Management via Slot-Survival Prediction and Event-Driven Lifecycle Controlcited by 0
- 2026Evidence-Aware MapReduce for Forkable Computecited by 0
- 2026Fast Recovery for LLM Serving via Decoupled Device Memory Lifetime in Dynamocited by 0
- 2026Fast Recovery for LLM Serving via Decoupled Device Memory Lifetime in Dynamo21 Sep 2026
- 2026Evidence-Aware MapReduce for Forkable Compute17 Jun 2026
- 2026DeltaBox: Scaling Stateful AI Agents with Millisecond-Level Sandbox Checkpoint/Rollback21 May 2026
- 2026Adaptive Serverless Resource Management via Slot-Survival Prediction and Event-Driven Lifecycle Control7 Apr 2026
- 2025BootSeer: Analyzing and Mitigating Initialization Bottlenecks in Large-Scale LLM Training16 Jul 2025
- 2025PipeBoost: Resilient Pipelined Architecture for Fast Serverless LLM Scaling22 Mar 2025
- 2024LIFL: A Lightweight, Event-driven Serverless Platform for Federated Learning5 May 2024
- 2024PerOS: Personalized Self-Adapting Operating Systems in the Cloud26 Mar 2024
- 2024ServerlessLLM: Low-Latency Serverless Inference for Large Language Models25 Jan 2024
- 2024Shabari: Delayed Decision-Making for Faster and Efficient Serverless Functions16 Jan 2024
- 2022FedLesScan: Mitigating Stragglers in Serverless Federated Learning10 Nov 2022
- 2021Serverless Data Science -- Are We There Yet? A Case Study of Model Serving4 Mar 2021