Next Article in Journal
A Spatial-Temporal Approach Based on Antenna Array for GNSS Anti-Spoofing
Next Article in Special Issue
Energy-Efficient and Reliable Face-Routing Scheme in Wireless Networks
Previous Article in Journal
Sensors and Communication Simulation for Unmanned Traffic Management
Previous Article in Special Issue
System Performance Analysis for an Energy Harvesting IoT System Using a DF/AF UAV-Enabled Relay with Downlink NOMA under Nakagami-m Fading
Article

Experimental Analysis of the Application of Serverless Computing to IoT Platforms

1
Department of Engineering, University of Perugia, via G.Duranti 93, 06125 Perugia, Italy
2
Department of Electronics and Informatics (ETRO), Vrije Universiteit Brussel, Pleinlaan 2, 1050 Brussels, Belgium
3
Consorzio Nazionale Interuniversitario per le Telecomunicazioni (CNIT), 43124 Parma, Italy
*
Author to whom correspondence should be addressed.
Academic Editor: Rongxing Lu
Sensors 2021, 21(3), 928; https://doi.org/10.3390/s21030928
Received: 31 December 2020 / Revised: 22 January 2021 / Accepted: 27 January 2021 / Published: 30 January 2021
(This article belongs to the Special Issue Communications and Computing in Sensor Network)
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. View Full-Text
Keywords: serverless computing; FaaS; performance evaluation; IoT serverless computing; FaaS; performance evaluation; IoT
Show Figures

Figure 1

MDPI and ACS Style

Benedetti, P.; Femminella, M.; Reali, G.; Steenhaut, K. Experimental Analysis of the Application of Serverless Computing to IoT Platforms. Sensors 2021, 21, 928. https://doi.org/10.3390/s21030928

AMA Style

Benedetti P, Femminella M, Reali G, Steenhaut K. Experimental Analysis of the Application of Serverless Computing to IoT Platforms. Sensors. 2021; 21(3):928. https://doi.org/10.3390/s21030928

Chicago/Turabian Style

Benedetti, Priscilla, Mauro Femminella, Gianluca Reali, and Kris Steenhaut. 2021. "Experimental Analysis of the Application of Serverless Computing to IoT Platforms" Sensors 21, no. 3: 928. https://doi.org/10.3390/s21030928

Find Other Styles
Note that from the first issue of 2016, MDPI journals use article numbers instead of page numbers. See further details here.

Article Access Map by Country/Region

1
Back to TopTop