Proceedings of the ACM Web Conference 2022 · 2022 · 33 citations · 22 references
ComputingComputer EngineeringComputer ScienceCluster ComputingSchedulingServerless ComputingCompute Resource ManagementResource ProvisioningResource SchedulingServerless ArchitectureServerless InfrastructureServerless Platform ArchitectureDeep Reinforcement LearningIdle ResourcesOver-provisioningScheduling In Serverless ComputingServerless Function InvocationServerless Resource ManagementServerless ScalingStateless Computing
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.
22
Reinforcement Learning: An Introduction
Jeffrey D. Johnson, Jinghong Li, Zengshi Chen · Neurocomputing · 2000 · 8.7K citations
Resource Management with Deep Reinforcement Learning
Hongzi Mao, Mohammad Alizadeh, Ishai Menache et al. · 2016 · 1.2K citations
Learning scheduling algorithms for data processing clusters
Hongzi Mao, Malte Schwarzkopf, Shaileshh Bojja Venkatakrishnan et al. · 2019 · 663 citations · Full text
Eric Jonas, Qifan Pu, Shivaram Venkataraman et al. · 2017 · 412 citations
Characterizing serverless platforms with serverlessbench
Tianyi Yu, Qingyuan Liu, Dong Du et al. · 2020 · 184 citations