Function-as-a-Service (FaaS) is a new cloud-based computing model that promises a more cost-efficient deployment of microservices with respect to other cloud paradigms, like Container-as-a-Service (CaaS). However, requests served under a FaaS approach often experience a cold start condition, that occurs when the execution of an inactive function occurs for the first time and a container environment has to be set up afresh. In such cases, performance deteriorates and response times increase. This paper proposes an analysis of the performance of the Function-as-a-Service model for two single offered microservices. Specifically, we carry out a performance evaluation of the Function-as-a-Service model, implemented through OpenWhisk, using as a baseline for comparison the Container-as-a-Service approach, implemented with Docker. Our analysis focuses on metrics related to the response time and to the usage of main server resources such as CPU and memory. For the performance comparison, we exploited two different microservices based on face recognition and image conversion, respectively, in order to evaluate the performance over popular and modern kinds of services included in artificial intelligence and multimedia applications.

Microservice Performance in Container- and Function-as-a-Service Architectures / Canali, C.; Lancellotti, R.; Pedroni, P.. - (2022), pp. -6. (Intervento presentato al convegno 30th International Conference on Software, Telecommunications and Computer Networks, SoftCOM 2022 tenutosi a Split, Croatia nel 2022) [10.23919/SoftCOM55329.2022.9911406].

Microservice Performance in Container- and Function-as-a-Service Architectures

Canali C.;Lancellotti R.;
2022

Abstract

Function-as-a-Service (FaaS) is a new cloud-based computing model that promises a more cost-efficient deployment of microservices with respect to other cloud paradigms, like Container-as-a-Service (CaaS). However, requests served under a FaaS approach often experience a cold start condition, that occurs when the execution of an inactive function occurs for the first time and a container environment has to be set up afresh. In such cases, performance deteriorates and response times increase. This paper proposes an analysis of the performance of the Function-as-a-Service model for two single offered microservices. Specifically, we carry out a performance evaluation of the Function-as-a-Service model, implemented through OpenWhisk, using as a baseline for comparison the Container-as-a-Service approach, implemented with Docker. Our analysis focuses on metrics related to the response time and to the usage of main server resources such as CPU and memory. For the performance comparison, we exploited two different microservices based on face recognition and image conversion, respectively, in order to evaluate the performance over popular and modern kinds of services included in artificial intelligence and multimedia applications.
2022
30th International Conference on Software, Telecommunications and Computer Networks, SoftCOM 2022
Split, Croatia
2022
6
Canali, C.; Lancellotti, R.; Pedroni, P.
Microservice Performance in Container- and Function-as-a-Service Architectures / Canali, C.; Lancellotti, R.; Pedroni, P.. - (2022), pp. -6. (Intervento presentato al convegno 30th International Conference on Software, Telecommunications and Computer Networks, SoftCOM 2022 tenutosi a Split, Croatia nel 2022) [10.23919/SoftCOM55329.2022.9911406].
File in questo prodotto:
File Dimensione Formato  
main.pdf

Accesso riservato

Tipologia: Versione dell'autore revisionata e accettata per la pubblicazione
Dimensione 266.7 kB
Formato Adobe PDF
266.7 kB Adobe PDF   Visualizza/Apri   Richiedi una copia
Pubblicazioni consigliate

Licenza Creative Commons
I metadati presenti in IRIS UNIMORE sono rilasciati con licenza Creative Commons CC0 1.0 Universal, mentre i file delle pubblicazioni sono rilasciati con licenza Attribuzione 4.0 Internazionale (CC BY 4.0), salvo diversa indicazione.
In caso di violazione di copyright, contattare Supporto Iris

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11380/1330868
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 1
  • ???jsp.display-item.citation.isi??? ND
social impact