SLAM: SLO-Aware Memory Optimization for Serverless Applications

Gor Safaryan, Anshul Jindal, Mohak Chadha, Michael Gerndt

Research output: Chapter in Book/Report/Conference proceedingConference contributionpeer-review

16 Scopus citations

Abstract

Serverless computing paradigm has become more ingrained into the industry, as it offers a cheap alternative for application development and deployment. This new paradigm has also created new kinds of problems for the developer, who needs to tune memory configurations for balancing cost and performance. Many researchers have addressed the issue of minimizing cost and meeting Service Level Objective (SLO) requirements for a single FaaS function, but there has been a gap for solving the same problem for an application consisting of many FaaS functions, creating complex application workflows.In this work, we designed a tool called SLAM to address the issue. SLAM uses distributed tracing to detect the relationship among the FaaS functions within a serverless application. By modeling each of them, it estimates the execution time for the application at different memory configurations. Using these estimations, SLAM determines the optimal memory configuration for the given serverless application based on the specified SLO requirements and user-specified objectives (minimum cost or minimum execution time). We demonstrate the functionality of SLAM on AWS Lambda by testing on four applications. Our results show that the suggested memory configurations guarantee that more than 95% of requests are completed within the predefined SLOs.

Original languageEnglish
Title of host publicationProceedings - 2022 IEEE 15th International Conference on Cloud Computing, CLOUD 2022
EditorsClaudio Agostino Ardagna, Nimanthi Atukorala, Rajkumar Buyya, Carl K. Chang, Rong N. Chang, Ernesto Damiani, Gargi Banerjee Dasgupta, Fabrizio Gagliardi, Christoph Hagleitner, Dejan Milojicic, Tuan M Hoang Trong, Robert Ward, Fatos Xhafa, Jia Zhang
PublisherIEEE Computer Society
Pages30-39
Number of pages10
ISBN (Electronic)9781665481373
DOIs
StatePublished - 2022
Event15th IEEE International Conference on Cloud Computing, CLOUD 2022 - Barcelona, Spain
Duration: 10 Jul 202116 Jul 2021

Publication series

NameIEEE International Conference on Cloud Computing, CLOUD
Volume2022-July
ISSN (Print)2159-6182
ISSN (Electronic)2159-6190

Conference

Conference15th IEEE International Conference on Cloud Computing, CLOUD 2022
Country/TerritorySpain
CityBarcelona
Period10/07/2116/07/21

Keywords

  • SLO
  • cost optimization
  • memory optimization
  • serverless

Fingerprint

Dive into the research topics of 'SLAM: SLO-Aware Memory Optimization for Serverless Applications'. Together they form a unique fingerprint.

Cite this