Tiny Autoscalers for Tiny Workloads: Dynamic CPU Allocation for Serverless Functions

03/01/2022
by   Yuxuan Zhao, et al.
0

In serverless computing, applications are executed under lightweight virtualization and isolation environments, such as containers or micro virtual machines. Typically, their memory allocation is set by the user before deployment. All other resources, such as CPU, are allocated by the provider statically and proportionally to memory allocations. This contributes to either under-utilization or throttling. The former significantly impacts the provider, while the latter impacts the client. To solve this problem and accommodate both clients and providers, a solution is dynamic CPU allocation achieved through autoscaling. Autoscaling has been investigated for long-running applications using history-based techniques and prediction. However, serverless applications are short-running workloads, where such techniques are not well suited. In this paper, we investigate tiny autoscalers and how dynamic CPU allocation techniques perform for short-running serverless workloads. We experiment with Kubernetes as the underlying platform and implement using its vertical pod autoscaler several dynamic CPU rightsizing techniques. We compare these techniques using state-of-the-art serverless workloads. Our experiments show that dynamic CPU allocation for short-running serverless functions is feasible and can be achieved with lightweight algorithms that offer good performance.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
07/05/2018

A Comparative Study of Containers and Virtual Machines in Big Data Environment

Container technique is gaining increasing attention in recent years and ...
research
04/29/2021

LaSS: Running Latency Sensitive Serverless Computations at the Edge

Serverless computing has emerged as a new paradigm for running short-liv...
research
11/01/2018

Modeling Conceptual Characteristics of Virtual Machines for CPU Utilization Prediction

Cloud services have grown rapidly in recent years, which provide high fl...
research
01/21/2013

Pattern Matching for Self- Tuning of MapReduce Jobs

In this paper, we study CPU utilization time patterns of several MapRedu...
research
12/20/2022

Graalvisor: Virtualized Polyglot Runtime for Serverless Applications

Serverless is a new attractive computing model that offers great scalabi...
research
11/24/2017

Technical Report: A Trace-Based Performance Study of Autoscaling Workloads of Workflows in Datacenters

To improve customer experience, datacenter operators offer support for s...
research
11/29/2018

Using ATLAS@Home to exploit extra CPU from busy grid sites

Grid computing typically provides most of the data processing resources ...

Please sign up or login with your details

Forgot password? Click here to reset