Cargando…

Experimental Analysis of the Application of Serverless Computing to IoT Platforms

Serverless computing, especially implemented through Function-as-a-Service (FaaS) platforms, has recently been gaining popularity as an application deployment model in which functions are automatically instantiated when called and scaled when needed. When a warm start deployment mode is used, the Fa...

Descripción completa

Detalles Bibliográficos
Autores principales: Benedetti, Priscilla, Femminella, Mauro, Reali, Gianluca, Steenhaut, Kris
Formato: Online Artículo Texto
Lenguaje:English
Publicado: MDPI 2021
Materias:
Acceso en línea:https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7866535/
https://www.ncbi.nlm.nih.gov/pubmed/33573209
http://dx.doi.org/10.3390/s21030928
_version_ 1783648097855864832
author Benedetti, Priscilla
Femminella, Mauro
Reali, Gianluca
Steenhaut, Kris
author_facet Benedetti, Priscilla
Femminella, Mauro
Reali, Gianluca
Steenhaut, Kris
author_sort Benedetti, Priscilla
collection PubMed
description Serverless computing, especially implemented through Function-as-a-Service (FaaS) platforms, has recently been gaining popularity as an application deployment model in which functions are automatically instantiated when called and scaled when needed. When a warm start deployment mode is used, the FaaS platform gives users the perception of constantly available resources. Conversely, when a cold start mode is used, containers running the application’s modules are automatically destroyed when the application has been executed. The latter can lead to considerable resource and cost savings. In this paper, we explore the suitability of both modes for deploying Internet of Things (IoT) applications considering a low resources testbed comparable to an edge node. We discuss the implementation and the experimental analysis of an IoT serverless platform that includes typical IoT service elements. A performance study in terms of resource consumption and latency is presented for the warm and cold start deployment mode, and implemented using OpenFaaS, a well-known open-source FaaS framework which allows to test a cold start deployment with precise inactivity time setup thanks to its flexibility. This experimental analysis allows to evaluate the aptness of the two deployment modes under different operating conditions: Exploiting OpenFaaS minimum inactivity time setup, we find that the cold start mode can be convenient in order to save edge nodes limited resources, but only if the data transmission period is significantly higher than the time needed to trigger containers shutdown.
format Online
Article
Text
id pubmed-7866535
institution National Center for Biotechnology Information
language English
publishDate 2021
publisher MDPI
record_format MEDLINE/PubMed
spelling pubmed-78665352021-02-07 Experimental Analysis of the Application of Serverless Computing to IoT Platforms Benedetti, Priscilla Femminella, Mauro Reali, Gianluca Steenhaut, Kris Sensors (Basel) Article Serverless computing, especially implemented through Function-as-a-Service (FaaS) platforms, has recently been gaining popularity as an application deployment model in which functions are automatically instantiated when called and scaled when needed. When a warm start deployment mode is used, the FaaS platform gives users the perception of constantly available resources. Conversely, when a cold start mode is used, containers running the application’s modules are automatically destroyed when the application has been executed. The latter can lead to considerable resource and cost savings. In this paper, we explore the suitability of both modes for deploying Internet of Things (IoT) applications considering a low resources testbed comparable to an edge node. We discuss the implementation and the experimental analysis of an IoT serverless platform that includes typical IoT service elements. A performance study in terms of resource consumption and latency is presented for the warm and cold start deployment mode, and implemented using OpenFaaS, a well-known open-source FaaS framework which allows to test a cold start deployment with precise inactivity time setup thanks to its flexibility. This experimental analysis allows to evaluate the aptness of the two deployment modes under different operating conditions: Exploiting OpenFaaS minimum inactivity time setup, we find that the cold start mode can be convenient in order to save edge nodes limited resources, but only if the data transmission period is significantly higher than the time needed to trigger containers shutdown. MDPI 2021-01-30 /pmc/articles/PMC7866535/ /pubmed/33573209 http://dx.doi.org/10.3390/s21030928 Text en © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (http://creativecommons.org/licenses/by/4.0/).
spellingShingle Article
Benedetti, Priscilla
Femminella, Mauro
Reali, Gianluca
Steenhaut, Kris
Experimental Analysis of the Application of Serverless Computing to IoT Platforms
title Experimental Analysis of the Application of Serverless Computing to IoT Platforms
title_full Experimental Analysis of the Application of Serverless Computing to IoT Platforms
title_fullStr Experimental Analysis of the Application of Serverless Computing to IoT Platforms
title_full_unstemmed Experimental Analysis of the Application of Serverless Computing to IoT Platforms
title_short Experimental Analysis of the Application of Serverless Computing to IoT Platforms
title_sort experimental analysis of the application of serverless computing to iot platforms
topic Article
url https://www.ncbi.nlm.nih.gov/pmc/articles/PMC7866535/
https://www.ncbi.nlm.nih.gov/pubmed/33573209
http://dx.doi.org/10.3390/s21030928
work_keys_str_mv AT benedettipriscilla experimentalanalysisoftheapplicationofserverlesscomputingtoiotplatforms
AT femminellamauro experimentalanalysisoftheapplicationofserverlesscomputingtoiotplatforms
AT realigianluca experimentalanalysisoftheapplicationofserverlesscomputingtoiotplatforms
AT steenhautkris experimentalanalysisoftheapplicationofserverlesscomputingtoiotplatforms