With Great Freedom Comes Great Opportunity: Rethinking Resource Allocation for Serverless Functions

05/31/2021
by   Muhammad Bilal, et al.
0

Current serverless offerings give users a limited degree of flexibility for configuring the resources allocated to their function invocations by either coupling memory and CPU resources together or providing no knobs at all. These configuration choices simplify resource allocation decisions on behalf of users, but at the same time, create deployments that are resource inefficient. In this paper, we take a principled approach to the problem of resource allocation for serverless functions, allowing this choice to be made in an automatic way that leads to the best combination of performance and cost. In particular, we systematically explore the opportunities that come with decoupling memory and CPU resource allocations and also enabling the use of different VM types. We find a rich trade-off space between performance and cost. The provider can use this in a number of ways: from exposing all these parameters to the user, to eliciting preferences for performance and cost from users, or by simply offering the same performance with lower cost. This flexibility can also enable the provider to optimize its resource utilization and enable a cost-effective service with predictable performance. Our results show that, by decoupling memory and CPU allocation, there is potential to have up to 40 configurations that are the norm in current serverless offerings. Similarly, making the correct choice of VM instance type can provide up to 50 execution time. Furthermore, we demonstrate that providers can utilize different instance types for the same functions to maximize resource utilization while providing performance within 10-20 configuration for each respective function.

READ FULL TEXT

page 4

page 7

page 8

research
12/18/2020

A Comprehensive Utility Function for Resource Allocation in Mobile Edge Computing

In mobile edge computing (MEC), one of the important challenges is how m...
research
09/07/2018

Dynamic Resource Allocation in the Cloud with Near-Optimal Efficiency

Cloud computing has motivated renewed interest in resource allocation pr...
research
01/01/2021

Interface Features and Users' Well-Being: Measuring the Sensitivity of Users' Well-Being to Resource Constraints and Feature Types

Users increasingly face multiple interface features on one hand, and con...
research
02/11/2022

Global Optimization of Data Pipelines in Heterogeneous Cloud Environments

Modern production data processing and machine learning pipelines on the ...
research
03/03/2021

Energy and Cost Efficient Resource Allocation for Blockchain-Enabled NFV

Network function virtualization (NFV) is a promising technology to make ...
research
09/03/2021

Performance Health Index for Complex Cyber Infrastructures

Most IT systems depend on a set of configuration variables (CVs), expres...
research
04/16/2018

CoCo: Compact and Optimized Consolidation of Modularized Service Function Chains in NFV

The modularization of Service Function Chains (SFCs) in Network Function...

Please sign up or login with your details

Forgot password? Click here to reset