Experimental Analysis of the Application of Serverless Computing to IoT Platforms

Priscilla Benedetti, Mauro Femminella, Gianluca Reali, Kris Steenhaut

Research output: Contribution to journalArticle

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.
Original languageEnglish
Article number928
Number of pages20
JournalSensors
Volume21
Publication statusPublished - 30 Jan 2021

Keywords

  • serverless computing
  • FaaS
  • performance evaluation
  • IoT

Fingerprint Dive into the research topics of 'Experimental Analysis of the Application of Serverless Computing to IoT Platforms'. Together they form a unique fingerprint.

Cite this