Accelerating Serverless Computing by Harvesting Idle Resources
摘要
Serverless computing automates fine-grained resource scaling and simplifies the development and deployment of online services with stateless functions. However, it is still non-trivial for users to allocate appropriate resources due to various function types, dependencies, and input sizes. Misconfiguration of resource allocations leaves functions either under-provisioned or over-provisioned and leads to continuous low resource utilization. This paper presents Freyr, a new resource manager (RM) for serverless platforms that maximizes resource efficiency by dynamically harvesting idle resources from over-provisioned functions to under-provisioned functions. Freyr monitors each function’s resource utilization in real-time, detects over-provisioning and under-provisioning, and learns to harvest idle resources safely and accelerates functions efficiently by applying deep reinforcement learning algorithms along with a safeguard mechanism. We have implemented and deployed a Freyr prototype in a 13-node Apache OpenWhisk cluster. Experimental results show that 38.8% of function invocations have idle resources harvested by Freyr, and 39.2% of invocations are accelerated by the harvested resources. Freyr reduces the 99th-percentile function response latency by 32.1% compared to the baseline RMs.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 7 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless Functions 引用了 FaasCache: keeping serverless computing alive with greedy-dual caching
- SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless Functions 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- UnFaaSener: Latency and Cost Aware Offloading of Functions from Serverless Platforms 引用了 FaasCache: keeping serverless computing alive with greedy-dual caching
- 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
- FaasCache: keeping serverless computing alive with greedy-dual caching 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- EcoLife: Carbon-Aware Serverless Function Scheduling for Sustainable Computing 引用了 UnFaaSener: Latency and Cost Aware Offloading of Functions from Serverless Platforms
- EcoLife: Carbon-Aware Serverless Function Scheduling for Sustainable Computing 引用了 FaasCache: keeping serverless computing alive with greedy-dual caching
- EcoLife: Carbon-Aware Serverless Function Scheduling for Sustainable Computing 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Demeter: Fine-grained Function Orchestration for Geo-distributed Serverless Analytics 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Libra: Harvesting Idle Resources Safely and Timely in Serverless Clusters 引用了 Providing SLOs for Resource-Harvesting VMs in Cloud Platforms
- Libra: Harvesting Idle Resources Safely and Timely in Serverless Clusters 引用了 Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
- Libra: Harvesting Idle Resources Safely and Timely in Serverless Clusters 引用了 COSE: Configuring Serverless Functions using Statistical Learning
引用它的顶会 Paper7
- UnFaaSener: Latency and Cost Aware Offloading of Functions from Serverless PlatformsGhazal Sadeghian, Mohamed Elsakhawy, Mohanna Shahrad, Joe Hattori 等USENIX ATC 2023 · 18 次引用
- EcoLife: Carbon-Aware Serverless Function Scheduling for Sustainable ComputingYankai Jiang, Rohan Basu Roy, Baolin Li, Devesh TiwariSC 2024 · 14 次引用
- SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless FunctionsCheryl Lee, Zhouruixin Zhu, Tianyi Yang, Yintong Huo 等ICDE 2024 · 13 次引用
- Demeter: Fine-grained Function Orchestration for Geo-distributed Serverless AnalyticsXiaofei Yue, Song Yang, Liehuang Zhu, Stojan Trajanovski 等INFOCOM 2024 · 13 次引用
- Libra: Harvesting Idle Resources Safely and Timely in Serverless ClustersHanfei Yu, Christian Fontenot, Hao Wang, Jian Li 等HPDC 2023 · 7 次引用
它引用的 Paper8
- 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 次引用
- FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 次引用
- Lambada: Interactive Data Analytics on Cold Data Using Serverless Cloud InfrastructureIngo Müller, Renato Marroquín, Gustavo AlonsoSIGMOD 2020 · 135 次引用
- Providing SLOs for Resource-Harvesting VMs in Cloud PlatformsPradeep Ambati, Iñigo Goiri, Felipe Vieira Frujeri, Alper Gun 等OSDI 2020 · 101 次引用
- COSE: Configuring Serverless Functions using Statistical LearningNabeel Akhtar, Ali Raza, Vatche Ishakian, Ibrahim MattaINFOCOM 2020 · 97 次引用
相关 Paper
- Using Unused: Non-Invasive Dynamic FaaS Infrastructure with HPC-WhiskBartlomiej Przybylski, Maciej Pawlik, Pawel Zuk, Bartlomiej Lagosz 等SC 2022 · 9 次引用
- LaSS: Running Latency Sensitive Serverless Computations at the EdgeBin Wang, Ahmed Ali-Eldin, Prashant J. ShenoyHPDC 2021 · 74 次引用
- A Mean-Field Game Approach to Cloud Resource Management with Function ApproximationWeichao Mao, Haoran Qiu, Chen Wang, Hubertus Franke 等NeurIPS 2022 · 27 次引用
- Faster and Cheaper Serverless Computing on Harvested ResourcesYanqi Zhang, Iñigo Goiri, Gohar Irfan Chaudhry, Rodrigo Fonseca 等SOSP 2021 · 131 次引用
- FaaSConf: QoS-aware Hybrid Resources Configuration for Serverless WorkflowsYilun Wang, Pengfei Chen, Hui Dou, Yiwen Zhang 等ASE 2024 · 3 次引用
