{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,2,4]],"date-time":"2026-02-04T16:57:33Z","timestamp":1770224253733,"version":"3.49.0"},"reference-count":29,"publisher":"MDPI AG","issue":"3","license":[{"start":{"date-parts":[[2021,1,30]],"date-time":"2021-01-30T00:00:00Z","timestamp":1611964800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Sensors"],"abstract":"<jats:p>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\u2019s 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.<\/jats:p>","DOI":"10.3390\/s21030928","type":"journal-article","created":{"date-parts":[[2021,1,30]],"date-time":"2021-01-30T06:22:20Z","timestamp":1611987740000},"page":"928","update-policy":"https:\/\/doi.org\/10.3390\/mdpi_crossmark_policy","source":"Crossref","is-referenced-by-count":35,"title":["Experimental Analysis of the Application of Serverless Computing to IoT Platforms"],"prefix":"10.3390","volume":"21","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-3029-0681","authenticated-orcid":false,"given":"Priscilla","family":"Benedetti","sequence":"first","affiliation":[{"name":"Department of Engineering, University of Perugia, via G.Duranti 93, 06125 Perugia, Italy"},{"name":"Department of Electronics and Informatics (ETRO), Vrije Universiteit Brussel, Pleinlaan 2, 1050 Brussels, Belgium"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-6695-5956","authenticated-orcid":false,"given":"Mauro","family":"Femminella","sequence":"additional","affiliation":[{"name":"Department of Engineering, University of Perugia, via G.Duranti 93, 06125 Perugia, Italy"},{"name":"Consorzio Nazionale Interuniversitario per le Telecomunicazioni (CNIT), 43124 Parma, Italy"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Gianluca","family":"Reali","sequence":"additional","affiliation":[{"name":"Department of Engineering, University of Perugia, via G.Duranti 93, 06125 Perugia, Italy"},{"name":"Consorzio Nazionale Interuniversitario per le Telecomunicazioni (CNIT), 43124 Parma, Italy"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Kris","family":"Steenhaut","sequence":"additional","affiliation":[{"name":"Department of Electronics and Informatics (ETRO), Vrije Universiteit Brussel, Pleinlaan 2, 1050 Brussels, Belgium"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"1968","published-online":{"date-parts":[[2021,1,30]]},"reference":[{"key":"ref_1","doi-asserted-by":"crossref","first-page":"2347","DOI":"10.1109\/COMST.2015.2444095","article-title":"Internet of Things: A Survey on Enabling Technologies, Protocols, and Applications","volume":"17","author":"Guizani","year":"2015","journal-title":"IEEE Commun. Surv. Tutor."},{"key":"ref_2","doi-asserted-by":"crossref","first-page":"6900","DOI":"10.1109\/ACCESS.2017.2778504","article-title":"A Survey on the Edge Computing for the Internet of Things","volume":"6","author":"Yu","year":"2018","journal-title":"IEEE Access"},{"key":"ref_3","doi-asserted-by":"crossref","unstructured":"Xue, H., Huang, B., Qin, M., Zhou, H., and Yang, H. (2020, January 2\u20136). Edge Computing for Internet of Things: A Survey. Proceedings of the 2020 International Conferences on Internet of Things (iThings) and IEEE Green Computing and Communications (GreenCom) and IEEE Cyber, Physical and Social Computing (CPSCom) and IEEE Smart Data (SmartData) and IEEE Congress on Cybermatics (Cybermatics), Rhodes Island, Greece.","DOI":"10.1109\/iThings-GreenCom-CPSCom-SmartData-Cybermatics50389.2020.00130"},{"key":"ref_4","doi-asserted-by":"crossref","unstructured":"Faraci, G., Grasso, C., and Schembra, G. (2020). Fog in the Clouds: UAVs to Provide Edge Computing to IoT Devices. ACM Trans. Internet Technol., 20.","DOI":"10.1145\/3382756"},{"key":"ref_5","unstructured":"Giust, F., Verin, G., Antevski, K., Chou, J., Fang, Y., Featherstone, W., Fontes, F., Frydman, D., Li, A., and Manzalini, A. (2020, November 25). MEC Deployments in 4G and Evolution Towards 5G; Technical Report; ETSI White Paper. Available online: http:\/\/www.etsi.org\/images\/files\/ETSIWhitePapers\/etsi_wp24_MEC_deployment_in_4G_5G_FINAL.pdf."},{"key":"ref_6","doi-asserted-by":"crossref","unstructured":"Hong, C.H., and Varghese, B. (2019). Resource Management in Fog\/Edge Computing: A Survey on Architectures, Infrastructure, and Algorithms. ACM Comput. Surv., 52.","DOI":"10.1145\/3326066"},{"key":"ref_7","doi-asserted-by":"crossref","first-page":"160","DOI":"10.1109\/MCOM.2018.1700793","article-title":"Experimental Testbed for Edge Computing in Fiber-Wireless Broadband Access Networks","volume":"56","author":"Rimal","year":"2018","journal-title":"IEEE Commun. Mag."},{"key":"ref_8","doi-asserted-by":"crossref","first-page":"44","DOI":"10.1145\/3368454","article-title":"The Rise of Serverless Computing","volume":"62","author":"Castro","year":"2019","journal-title":"Commun. ACM"},{"key":"ref_9","doi-asserted-by":"crossref","first-page":"667","DOI":"10.1109\/JPROC.2019.2898101","article-title":"Will Serverless Computing Revolutionize NFV?","volume":"107","author":"Aditya","year":"2019","journal-title":"Proc. IEEE"},{"key":"ref_10","unstructured":"(2020, December 26). OpenFaaS: Open Function as a Service. Available online: https:\/\/www.openfaas.com\/."},{"key":"ref_11","doi-asserted-by":"crossref","unstructured":"Palade, A., Kazmi, A., and Clarke, S. (2019, January 8\u201313). An Evaluation of Open Source Serverless Computing Frameworks Support at the Edge. Proceedings of the 2019 IEEE World Congress on Services (SERVICES), Milan, Italy.","DOI":"10.1109\/SERVICES.2019.00057"},{"key":"ref_12","doi-asserted-by":"crossref","unstructured":"Li, J., Kulkarni, S.G., Ramakrishnan, K.K., and Li, D. (2019, January 9\u201313). Understanding Open Source Serverless Platforms: Design Considerations and Performance. Proceedings of the 5th International Workshop on Serverless Computing (WOSC \u201919), UC Davis, CA, USA.","DOI":"10.1145\/3366623.3368139"},{"key":"ref_13","doi-asserted-by":"crossref","unstructured":"Hall, A., and Ramachandran, U. (2019, January 15\u201318). An Execution Model for Serverless Functions at the Edge. Proceedings of the International Conference on Internet of Things Design and Implementation (IoTDI \u201919), Montreal, QC, Canada.","DOI":"10.1145\/3302505.3310084"},{"key":"ref_14","doi-asserted-by":"crossref","unstructured":"Mohanty, S.K., Premsankar, G., and di Francesco, M. (2018, January 10\u201313). An Evaluation of Open Source Serverless Computing Frameworks. Proceedings of the 2018 IEEE International Conference on Cloud Computing Technology and Science (CloudCom), Nicosia, Cyprus.","DOI":"10.1109\/CloudCom2018.2018.00033"},{"key":"ref_15","doi-asserted-by":"crossref","unstructured":"Chaudhary, S., Somani, G., and Buyya, R. (2017). Serverless Computing: Current Trends and Open Problems. Research Advances in Cloud Computing, Springer.","DOI":"10.1007\/978-981-10-5026-8"},{"key":"ref_16","doi-asserted-by":"crossref","unstructured":"Manner, J., Endre\u00df, M., Heckel, T., and Wirtz, G. (2018, January 17\u201320). Cold Start Influencing Factors in Function as a Service. Proceedings of the 2018 IEEE\/ACM International Conference on Utility and Cloud Computing Companion (UCC Companion), Zurich, Switzerland.","DOI":"10.1109\/UCC-Companion.2018.00054"},{"key":"ref_17","unstructured":"Hellerstein, J.M., Faleiro, J.M., Gonzalez, J.E., Schleier-Smith, J., Sreekanti, V., Tumanov, A., and Wu, C. (2018). Serverless Computing: One Step Forward, Two Steps Back. arXiv."},{"key":"ref_18","doi-asserted-by":"crossref","unstructured":"Baresi, L., and Filgueira Mendon\u00e7a, D. (2019, January 24\u201326). Towards a Serverless Platform for Edge Computing. Proceedings of the 2019 IEEE International Conference on Fog Computing (ICFC), Prague, Czech Republic.","DOI":"10.1109\/ICFC.2019.00008"},{"key":"ref_19","doi-asserted-by":"crossref","unstructured":"Wang, I., Liri, E., and Ramakrishnan, K. (2020, January 9\u201311). Supporting IoT Applications with Serverless Edge Clouds. Proceedings of the 2020 IEEE International Conference on Cloud Networking (CloudNet), Virtually.","DOI":"10.1109\/CloudNet51028.2020.9335805"},{"key":"ref_20","unstructured":"(2021, January 21). Knative: Kubernetes-Based Platform to Deploy and Manage Modern Serverless Workloads. Available online: https:\/\/knative.dev\/."},{"key":"ref_21","unstructured":"(2021, January 21). CloudLab: Flexible, Scientific Infrastructure for Research on the Future of Cloud Computing. Available online: https:\/\/www.cloudlab.us\/."},{"key":"ref_22","doi-asserted-by":"crossref","first-page":"58","DOI":"10.1109\/MC.2017.3641638","article-title":"Real-Time Video Analytics: The Killer App for Edge Computing","volume":"50","author":"Ananthanarayanan","year":"2017","journal-title":"Computer"},{"key":"ref_23","unstructured":"(2021, January 19). Internet of Things in Healthcare Market Expected to Reach $332 Billion by 2027. Available online: https:\/\/www.alliedmarketresearch.com\/press-release\/internet-of-things-iot-healthcare-market.html."},{"key":"ref_24","unstructured":"Shahrad, M., Fonseca, R., Goiri, \u00cd., Chaudhry, G., Batum, P., Cooke, J., Laureano, E., Tresness, C., Russinovich, M., and Bianchini, R. (2020). Serverless in the Wild: Characterizing and Optimizing the Serverless Workload at a Large Cloud Provider. arXiv."},{"key":"ref_25","unstructured":"(2020, November 25). Emitter: Scalable Real-Time Communication Across Devices. Available online: https:\/\/emitter.io\/."},{"key":"ref_26","unstructured":"(2020, November 25). Welcome to Flask\u2014Flask Documentation (1.1.x). Available online: https:\/\/flask.palletsprojects.com\/en\/1.1.x\/."},{"key":"ref_27","doi-asserted-by":"crossref","unstructured":"Femminella, M., Pergolesi, M., and Reali, G. (2016, January 3\u20135). Performance Evaluation of Edge Cloud Computing System for Big Data Applications. Proceedings of the 2016 5th IEEE International Conference on Cloud Networking (Cloudnet), Pisa, Italy.","DOI":"10.1109\/CloudNet.2016.56"},{"key":"ref_28","unstructured":"(2021, January 17). Prometheus\u2014Monitoring System & Time Series Database. Available online: https:\/\/prometheus.io\/."},{"key":"ref_29","unstructured":"(2021, January 17). Stack\u2014OpenFaaS. Available online: https:\/\/docs.openfaas.com\/architecture\/stack\/#conceptual-workflow."}],"container-title":["Sensors"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/3\/928\/pdf","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,10,11]],"date-time":"2025-10-11T05:17:33Z","timestamp":1760159853000},"score":1,"resource":{"primary":{"URL":"https:\/\/www.mdpi.com\/1424-8220\/21\/3\/928"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2021,1,30]]},"references-count":29,"journal-issue":{"issue":"3","published-online":{"date-parts":[[2021,2]]}},"alternative-id":["s21030928"],"URL":"https:\/\/doi.org\/10.3390\/s21030928","relation":{},"ISSN":["1424-8220"],"issn-type":[{"value":"1424-8220","type":"electronic"}],"subject":[],"published":{"date-parts":[[2021,1,30]]}}}