Harvesting Idle Resources in Serverless Computing via Reinforcement Learning

08/28/2021
by   Hanfei Yu, et al.
5

Serverless computing has become a new cloud computing paradigm that promises to deliver high cost-efficiency and simplified cloud deployment with automated resource scaling at a fine granularity. Users decouple a cloud application into chained functions and preset each serverless function's memory and CPU demands at megabyte-level and core-level, respectively. Serverless platforms then automatically scale the number of functions to accommodate the workloads. However, the complexities of chained functions make it non-trivial to accurately determine the resource demands of each function for users, leading to either resource over-provision or under-provision for individual functions. This paper presents FaaSRM, a new resource manager (RM) for serverless platforms that maximizes resource efficiency by dynamically harvesting idle resources from functions over-supplied to functions under-supplied. FaaSRM monitors each function's resource utilization in real-time, detects over-provisioning and under-provisioning, and applies deep reinforcement learning to harvest idle resources safely using a safeguard mechanism and accelerate functions efficiently. We have implemented and deployed a FaaSRM prototype in a 13-node Apache OpenWhisk cluster. Experimental results on the OpenWhisk cluster show that FaaSRM reduces the execution time of 98 function invocations by 35.81 resources from 38.8 invocations.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
10/10/2018

Reinforcement-Learning-based Foresighted Task Scheduling in Cloud Computing

With the apperance of cloud computing, users receive computing resources...
research
10/28/2020

Sizeless: Predicting the optimal size of serverless functions

Serverless functions are a cloud computing paradigm that reduces operati...
research
11/06/2019

A Language-based Serverless Function Accelerator

Serverless computing is an approach to cloud computing that allows progr...
research
10/29/2021

DeF-DReL: Systematic Deployment of Serverless Functions in Fog and Cloud environments using Deep Reinforcement Learning

Fog computing is introduced by shifting cloud resources towards the user...
research
01/18/2019

Cloud Resource Optimization for Processing Multiple Streams of Visual Data

Hundreds of millions of network cameras have been installed throughout t...
research
09/23/2020

ReLeaSER: A Reinforcement Learning Strategy for Optimizing Utilization Of Ephemeral Cloud Resources

Cloud data center capacities are over-provisioned to handle demand peaks...
research
10/17/2019

SNF: Serverless Network Functions

It is increasingly common to outsource network functions (NFs) to the cl...

Please sign up or login with your details

Forgot password? Click here to reset