BeeHive: Sub-second Elasticity for Web Services with Semi-FaaS Execution
Ziming Zhao, Mingyu Wu, Jiawei Tang, Binyu Zang, Zhaoguo Wang, Haibo Chen
Abstract
Function-as-a-service (FaaS), an emerging cloud computing paradigm, is expected to provide strong elasticity due to its promise to auto-scale fine-grained functions rapidly. Although appealing for applications with good parallelism and dynamic workload, this paper shows that it is non-trivial to adapt existing monolithic applications (like web services) to FaaS due to their complexity. To bridge the gap between complicated web services and FaaS, this paper proposes a runtime-based Semi-FaaS execution model, which dynamically extracts time-consuming code snippets (closures) from applications and offloads them to FaaS platforms for execution. It further proposes BeeHive, an offloading framework for Semi-FaaS, which relies on the managed runtime to provide a fallback-based execution model and addresses the performance issues in traditional offloading mechanisms for FaaS. Meanwhile, the runtime system of BeeHive selects offloading candidates in a user-transparent way and supports efficient object sharing, memory management, and failure recovery in a distributed environment. The evaluation using various web applications suggests that the Semi-FaaS execution supported by BeeHive can reach sub-second resource provisioning on commercialized FaaS platforms like AWS Lambda, which is up to two orders of magnitude better than other alternative scaling approaches in cloud computing.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
5 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing cites Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing cites Automated Verification of Idempotence for Stateful Serverless Applications
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
- Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
- UnFaaSener: Latency and Cost Aware Offloading of Functions from Serverless Platforms cites Firecracker: Lightweight Virtualization for Serverless Applications
- UnFaaSener: Latency and Cost Aware Offloading of Functions from Serverless Platforms cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Characterization and Reclamation of Frozen Garbage in Managed FaaS Workloads cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Characterization and Reclamation of Frozen Garbage in Managed FaaS Workloads cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Characterization and Reclamation of Frozen Garbage in Managed FaaS Workloads cites Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
- Automated Verification of Idempotence for Stateful Serverless Applications cites Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices
- Automated Verification of Idempotence for Stateful Serverless Applications cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- F3: An FPGA-accelerated FaaS Framework cites Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing
- F3: An FPGA-accelerated FaaS Framework cites Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices
- F3: An FPGA-accelerated FaaS Framework cites Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- F3: An FPGA-accelerated FaaS Framework cites Firecracker: Lightweight Virtualization for Serverless Applications
- F3: An FPGA-accelerated FaaS Framework cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
Cited by top-tier papers5
- UnFaaSener: Latency and Cost Aware Offloading of Functions from Serverless PlatformsGhazal Sadeghian, Mohamed Elsakhawy, Mohanna Shahrad, Joe Hattori et al.USENIX ATC 2023 · 18 citations
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless ComputingSheng Qi, Xuanzhe Liu, Xin JinSOSP 2023 · 16 citations
- Automated Verification of Idempotence for Stateful Serverless ApplicationsHaoran Ding, Zhaoguo Wang, Zhuohao Shen, Rong Chen et al.OSDI 2023 · 16 citations
- Characterization and Reclamation of Frozen Garbage in Managed FaaS WorkloadsZiming Zhao, Mingyu Wu, Haibo Chen, Binyu ZangEuroSys 2024 · 2 citations
- F3: An FPGA-accelerated FaaS FrameworkCharalampos Mainas, Martin Lambeck, Bruno Scheufler, Laurent Bindschaedler et al.HPDC 2025 · 1 citation
Builds on12
- Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud ProviderMohammad Shahrad, Rodrigo Fonseca, Iñigo Goiri, Gohar Irfan Chaudhry et al.USENIX ATC 2020 · 946 citations
- Faasm: Lightweight Isolation for Efficient Stateful Serverless ComputingSimon Shillaker, Peter R. PietzuchUSENIX ATC 2020 · 382 citations
- Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less BootingDong Du, Tianyi Yu, Yubin Xia, Binyu Zang et al.ASPLOS 2020 · 280 citations
- Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservicesZhipeng Jia, Emmett WitchelASPLOS 2021 · 218 citations
- Firecracker: Lightweight Virtualization for Serverless ApplicationsAlexandru Agache, Marc Brooker, Alexandra Iordache, Anthony Liguori et al.NSDI 2020 · 197 citations
Related papers
- Metronome: Differentiated Delay Scheduling for Serverless FunctionsZhuangbin Chen, Juzheng Zheng, Zibin ZhengICSE 2026 · 1 citation
- OFC: an opportunistic caching system for FaaS platformsDjob Mvondo, Mathieu Bacou, Kevin Nguetchouang, Lucien Ngale et al.EuroSys 2021 · 80 citations
- LaSS: Running Latency Sensitive Serverless Computations at the EdgeBin Wang, Ahmed Ali-Eldin, Prashant J. ShenoyHPDC 2021 · 74 citations
- SpecFaaS: Accelerating Serverless Applications with Speculative Function ExecutionJovan Stojkovic, Tianyin Xu, Hubertus Franke, Josep TorrellasHPCA 2023 · 16 citations
- StepConf: SLO-Aware Dynamic Resource Configuration for Serverless Function WorkflowsZhaojie Wen, Yishuo Wang, Fangming LiuINFOCOM 2022 · 72 citations
