Limitless FaaS: Overcoming serverless functions execution time limits with invoke driven architecture and memory checkpoints

Fuente: arXiv
Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: Andraca, Rodrigo Landa, Zareei, Mahdi
Format: Preprint
Veröffentlicht: 2024
Schlagworte:
Online-Zugang:
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
_version_ 1866910331412938752
author Andraca, Rodrigo Landa
Zareei, Mahdi
author_facet Andraca, Rodrigo Landa
Zareei, Mahdi
contents Function-as-a-Service (FaaS) allows to directly submit function code to a cloud provider without the burden of managing infrastructure resources. Each cloud provider establishes execution time limits to their FaaS offerings, which impose the risk of spending computation time without achieving partial results. In this work, a framework that enables limitless execution time in FaaS, with little to no modifications to the user-provided function code, is presented. After a thorough literature and theoretical framework review, Apache OpenWhisk Actions and the DMCTP checkpoint-and-restore (CR) tool were selected. With these, dependent successive serverless same-function invocations that exploit the persistence of partial results were implemented. The solution was submitted to the FaaSDom benchmark and time metrics were collected. Additionally, the solution was characterized in terms of the Serverless Trilemma. The resultant system, even at this proof-of-concept state, offers a lot of value to companies that rely heavily on serverless architecture.
format Preprint
id arxiv_https___arxiv_org_abs_2402_09377
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Limitless FaaS: Overcoming serverless functions execution time limits with invoke driven architecture and memory checkpoints
Andraca, Rodrigo Landa
Zareei, Mahdi
Distributed, Parallel, and Cluster Computing
C.4
Function-as-a-Service (FaaS) allows to directly submit function code to a cloud provider without the burden of managing infrastructure resources. Each cloud provider establishes execution time limits to their FaaS offerings, which impose the risk of spending computation time without achieving partial results. In this work, a framework that enables limitless execution time in FaaS, with little to no modifications to the user-provided function code, is presented. After a thorough literature and theoretical framework review, Apache OpenWhisk Actions and the DMCTP checkpoint-and-restore (CR) tool were selected. With these, dependent successive serverless same-function invocations that exploit the persistence of partial results were implemented. The solution was submitted to the FaaSDom benchmark and time metrics were collected. Additionally, the solution was characterized in terms of the Serverless Trilemma. The resultant system, even at this proof-of-concept state, offers a lot of value to companies that rely heavily on serverless architecture.
title Limitless FaaS: Overcoming serverless functions execution time limits with invoke driven architecture and memory checkpoints
topic Distributed, Parallel, and Cluster Computing
C.4
url https://arxiv.org/abs/2402.09377