Lune

WWW2022Top-tier venue

Accelerating Serverless Computing by Harvesting Idle Resources

Hanfei Yu, Hao Wang, Jian Li, Xu Yuan, Seung-Jong Park

Abstract

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.

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.

7 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless Functions cites FaasCache: keeping serverless computing alive with greedy-dual caching
  • SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless Functions cites 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 cites FaasCache: keeping serverless computing alive with greedy-dual caching
  • 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
  • FaasCache: keeping serverless computing alive with greedy-dual caching cites Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider
  • EcoLife: Carbon-Aware Serverless Function Scheduling for Sustainable Computing cites UnFaaSener: Latency and Cost Aware Offloading of Functions from Serverless Platforms
  • EcoLife: Carbon-Aware Serverless Function Scheduling for Sustainable Computing cites FaasCache: keeping serverless computing alive with greedy-dual caching
  • EcoLife: Carbon-Aware Serverless Function Scheduling for Sustainable Computing cites 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 cites 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 cites Providing SLOs for Resource-Harvesting VMs in Cloud Platforms
  • Libra: Harvesting Idle Resources Safely and Timely in Serverless Clusters cites 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 cites COSE: Configuring Serverless Functions using Statistical Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers7

  1. 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
  2. EcoLife: Carbon-Aware Serverless Function Scheduling for Sustainable ComputingYankai Jiang, Rohan Basu Roy, Baolin Li, Devesh TiwariSC 2024 · 14 citations
  3. SPES: Towards Optimizing Performance-Resource Trade-Off for Serverless FunctionsCheryl Lee, Zhouruixin Zhu, Tianyi Yang, Yintong Huo et al.ICDE 2024 · 13 citations
  4. Demeter: Fine-grained Function Orchestration for Geo-distributed Serverless AnalyticsXiaofei Yue, Song Yang, Liehuang Zhu, Stojan Trajanovski et al.INFOCOM 2024 · 13 citations
  5. Libra: Harvesting Idle Resources Safely and Timely in Serverless ClustersHanfei Yu, Christian Fontenot, Hao Wang, Jian Li et al.HPDC 2023 · 7 citations

Builds on8

  1. 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
  2. FaasCache: keeping serverless computing alive with greedy-dual cachingAlexander Fuerst, Prateek SharmaASPLOS 2021 · 223 citations
  3. Lambada: Interactive Data Analytics on Cold Data Using Serverless Cloud InfrastructureIngo Müller, Renato Marroquín, Gustavo AlonsoSIGMOD 2020 · 135 citations
  4. Providing SLOs for Resource-Harvesting VMs in Cloud PlatformsPradeep Ambati, Iñigo Goiri, Felipe Vieira Frujeri, Alper Gun et al.OSDI 2020 · 101 citations
  5. COSE: Configuring Serverless Functions using Statistical LearningNabeel Akhtar, Ali Raza, Vatche Ishakian, Ibrahim MattaINFOCOM 2020 · 97 citations

Related papers

  1. Using Unused: Non-Invasive Dynamic FaaS Infrastructure with HPC-WhiskBartlomiej Przybylski, Maciej Pawlik, Pawel Zuk, Bartlomiej Lagosz et al.SC 2022 · 9 citations
  2. LaSS: Running Latency Sensitive Serverless Computations at the EdgeBin Wang, Ahmed Ali-Eldin, Prashant J. ShenoyHPDC 2021 · 74 citations
  3. A Mean-Field Game Approach to Cloud Resource Management with Function ApproximationWeichao Mao, Haoran Qiu, Chen Wang, Hubertus Franke et al.NeurIPS 2022 · 27 citations
  4. Faster and Cheaper Serverless Computing on Harvested ResourcesYanqi Zhang, Iñigo Goiri, Gohar Irfan Chaudhry, Rodrigo Fonseca et al.SOSP 2021 · 131 citations
  5. FaaSConf: QoS-aware Hybrid Resources Configuration for Serverless WorkflowsYilun Wang, Pengfei Chen, Hui Dou, Yiwen Zhang et al.ASE 2024 · 3 citations
Dusk over the sea between two cliffs drawn in fine vertical lines