Costless: Optimizing Cost of Serverless Computing through Function Fusion and Placement

11/23/2018
by   Tarek Elgamal, et al.
0

Serverless computing has recently experienced significant adoption by several applications, especially Internet of Things (IoT) applications. In serverless computing, rather than deploying and managing dedicated virtual machines, users are able to deploy individual functions, and pay only for the time that their code is actually executing. However, since serverless platforms are relatively new, they have a completely different pricing model that depends on the memory, duration, and the number of executions of a sequence/workflow of functions. In this paper we present an algorithm that optimizes the price of serverless applications in AWS Lambda. We first describe the factors affecting price of serverless applications which include: (1) fusing a sequence of functions, (2) splitting functions across edge and cloud resources, and (3) allocating the memory for each function. We then present an efficient algorithm to explore different function fusion-placement solutions and find the solution that optimizes the application's price while keeping the latency under a certain threshold. Our results on image processing workflows show that the algorithm can find solutions optimizing the price by more than 35 increase in latency. We also show that our algorithm can find non-trivial memory configurations that reduce both latency and price.

READ FULL TEXT
research
10/04/2022

EdgeFaaS: A Function-based Framework for Edge Computing

The rapid growth of data generated from Internet of Things (IoTs) such a...
research
06/01/2019

Probabilistic QoS-aware Placement of VNF chains at the Edge

Network Function Virtualisation and Software Defined Networking are inno...
research
04/25/2022

Fusionize: Improving Serverless Application Performance through Feedback-Driven Function Fusion

Serverless computing increases developer productivity by removing operat...
research
01/14/2021

Game-based Pricing and Task Offloading in Mobile Edge Computing Enabled Edge-Cloud Systems

As a momentous enabling of the Internet of things (IoT), mobile edge com...
research
12/08/2020

Placement is not Enough: Embedding with Proactive Stream Mapping on the Heterogenous Edge

Edge computing is naturally suited to the applications generated by Inte...
research
08/13/2019

Industrial Control via Application Containers: Migrating from Bare-Metal to IAAS

We explore the challenges and opportunities of shifting industrial contr...

Please sign up or login with your details

Forgot password? Click here to reset