Stateless or stateful FaaS? I'll take both!

Carlo Puliafito, Claudio Cicconetti, Marco Conti, Enzo Mingozzi, Andrea Passarella
3/12/2022
cs.NI

Official code: ccicconetti/serverlessonedge (40 stars, MIT, last commit 2023-09-05).

Abstract

Serverless computing has emerged as a very popular cloud technology, together with its companion Function-as-a-Service (FaaS) programming model enabling invocations of stateless functions from clients. An evolution of serverless is now taking place, shifting it towards the edge of the network and broadening its scope to stateful functions, as well. In this paper we argue that stateless vs. stateful is not a dichotomy of the application per se, but rather a time-varying property of most (if not all) applications, as confirmed by the analysis of real traces collected in a production environment. Based on this observation, we propose a mathematical formulation of a resource allocation problem that jointly encompasses both operation modes, dubbed lambda vs. mu, which can be solved efficiently at run-time by an edge orchestrator. We evaluate the proposed solution via simulation experiments in realistic network and workload conditions, which leads the way to the practical realization of a system where applications can freely adapt their current operation mode and optimize their performance at a minimum cost of operation from the network's perspective.

View on arXivView PDF

Code Implementations(1)

MIT

Decentralized framework for the distribution of lambda functions to multiple serverless platforms

4010C++, RoffFeb 26, 20203 years agoMIT
distributed-computingedge-computingfaasserverless-architecturesserverless-framework

Similar Papers

Cite this paper

@article{puliafito2022stateless,
  title  = {Stateless or stateful FaaS? I'll take both!},
  author = {Carlo Puliafito and Claudio Cicconetti and Marco Conti and Enzo Mingozzi and Andrea Passarella},
  year   = {2022},
  eprint = {2203.06385},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2203.06385}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2203.06385.svg)](https://codeofpaper.com/paper/2203.06385)

Discussion