Published July 15, 2022 | Version v1
Conference paper Open

Stateless or stateful FaaS? I'll take both!

  • 1. University of Pisa, Italy
  • 2. IIT-CNR, Italy

Description

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.

Notes

This work was partially supported by the European Union's Horizon 2020 research and innovation programme under grant agreement No 957337, project MARVEL, and by the Italian Ministry of Education and Research (MIUR) in the framework of the CrossLab project (Departments of Excellence).

Files

Puliafito_et_al_2022.pdf

Files (699.6 kB)

Name Size Download all
md5:a440091789e15218cb87398b6d81356b
699.6 kB Preview Download

Additional details

Related works

Is published in
Conference paper: 10.1109/PerComWorkshops53856.2022.9767380 (DOI)
Is supplemented by
Software: https://github.com/ccicconetti/serverlessonedge (URL)

Funding

MARVEL – Multimodal Extreme Scale Data Analytics for Smart Cities Environments 957337
European Commission