Litcius/Paper detail

Experimental Analysis of the Application of Serverless Computing to IoT Platforms

Priscilla Benedetti, Mauro Femminella, Gianluca Reali, Kris Steenhaut

2021Sensors41 citationsDOIOpen Access PDF

Abstract

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.

Topics & Concepts

TestbedSoftware deploymentComputer scienceFlexibility (engineering)Edge computingResource (disambiguation)Internet of ThingsDistributed computingEmbedded systemOperating systemComputer networkMathematicsStatisticsIoT and Edge/Fog ComputingCloud Computing and Resource ManagementSoftware-Defined Networks and 5G
Experimental Analysis of the Application of Serverless Computing to IoT Platforms | Litcius