@inproceedings{5ac320b5bd644bcb86b13b755e47ceaa,
title = "SLAM: SLO-Aware Memory Optimization for Serverless Applications",
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.",
keywords = "SLO, cost optimization, memory optimization, serverless",
author = "Gor Safaryan and Anshul Jindal and Mohak Chadha and Michael Gerndt",
note = "Publisher Copyright: {\textcopyright} 2022 IEEE.; 15th IEEE International Conference on Cloud Computing, CLOUD 2022 ; Conference date: 10-07-2021 Through 16-07-2021",
year = "2022",
doi = "10.1109/CLOUD55607.2022.00019",
language = "English",
series = "IEEE International Conference on Cloud Computing, CLOUD",
publisher = "IEEE Computer Society",
pages = "30--39",
editor = "Ardagna, {Claudio Agostino} and Nimanthi Atukorala and Rajkumar Buyya and Chang, {Carl K.} and Chang, {Rong N.} and Ernesto Damiani and Dasgupta, {Gargi Banerjee} and Fabrizio Gagliardi and Christoph Hagleitner and Dejan Milojicic and Trong, {Tuan M Hoang} and Robert Ward and Fatos Xhafa and Jia Zhang",
booktitle = "Proceedings - 2022 IEEE 15th International Conference on Cloud Computing, CLOUD 2022",
}