BeeHive: Sub-second Elasticity for Web Services with Semi-FaaS Execution
Ziming Zhao, Mingyu Wu, Jiawei Tang, Binyu Zang, Zhaoguo Wang, Haibo Chen
摘要
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.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 5 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing 引用了 Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing 引用了 Automated Verification of Idempotence for Stateful Serverless Applications
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing 引用了 Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
- Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices 引用了 Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
- UnFaaSener: Latency and Cost Aware Offloading of Functions from Serverless Platforms 引用了 Firecracker: Lightweight Virtualization for Serverless Applications
- UnFaaSener: Latency and Cost Aware Offloading of Functions from Serverless Platforms 引用了 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 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- Characterization and Reclamation of Frozen Garbage in Managed FaaS Workloads 引用了 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 引用了 Faasm: Lightweight Isolation for Efficient Stateful Serverless Computing
- Automated Verification of Idempotence for Stateful Serverless Applications 引用了 Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices
- 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
- F3: An FPGA-accelerated FaaS Framework 引用了 Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless Computing
- F3: An FPGA-accelerated FaaS Framework 引用了 Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservices
- F3: An FPGA-accelerated FaaS Framework 引用了 Catalyzer: Sub-millisecond Startup for Serverless Computing with Initialization-less Booting
- F3: An FPGA-accelerated FaaS Framework 引用了 Firecracker: Lightweight Virtualization for Serverless Applications
- F3: An FPGA-accelerated FaaS Framework 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
引用它的顶会 Paper5
- UnFaaSener: Latency and Cost Aware Offloading of Functions from Serverless PlatformsGhazal Sadeghian, Mohamed Elsakhawy, Mohanna Shahrad, Joe Hattori 等USENIX ATC 2023 · 18 次引用
- Halfmoon: Log-Optimal Fault-Tolerant Stateful Serverless ComputingSheng Qi, Xuanzhe Liu, Xin JinSOSP 2023 · 16 次引用
- Automated Verification of Idempotence for Stateful Serverless ApplicationsHaoran Ding, Zhaoguo Wang, Zhuohao Shen, Rong Chen 等OSDI 2023 · 16 次引用
- Characterization and Reclamation of Frozen Garbage in Managed FaaS WorkloadsZiming Zhao, Mingyu Wu, Haibo Chen, Binyu ZangEuroSys 2024 · 2 次引用
- F3: An FPGA-accelerated FaaS FrameworkCharalampos Mainas, Martin Lambeck, Bruno Scheufler, Laurent Bindschaedler 等HPDC 2025 · 1 次引用
它引用的 Paper12
- 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 次引用
- Nightcore: efficient and scalable serverless computing for latency-sensitive, interactive microservicesZhipeng Jia, Emmett WitchelASPLOS 2021 · 218 次引用
- Firecracker: Lightweight Virtualization for Serverless ApplicationsAlexandru Agache, Marc Brooker, Alexandra Iordache, Anthony Liguori 等NSDI 2020 · 197 次引用
相关 Paper
- Metronome: Differentiated Delay Scheduling for Serverless FunctionsZhuangbin Chen, Juzheng Zheng, Zibin ZhengICSE 2026 · 1 次引用
- OFC: an opportunistic caching system for FaaS platformsDjob Mvondo, Mathieu Bacou, Kevin Nguetchouang, Lucien Ngale 等EuroSys 2021 · 80 次引用
- LaSS: Running Latency Sensitive Serverless Computations at the EdgeBin Wang, Ahmed Ali-Eldin, Prashant J. ShenoyHPDC 2021 · 74 次引用
- SpecFaaS: Accelerating Serverless Applications with Speculative Function ExecutionJovan Stojkovic, Tianyin Xu, Hubertus Franke, Josep TorrellasHPCA 2023 · 16 次引用
- StepConf: SLO-Aware Dynamic Resource Configuration for Serverless Function WorkflowsZhaojie Wen, Yishuo Wang, Fangming LiuINFOCOM 2022 · 72 次引用
