Cargando…
Mitigating Cold Start Problem in Serverless Computing with Function Fusion
As Artificial Intelligence (AI) is becoming ubiquitous in many applications, serverless computing is also emerging as a building block for developing cloud-based AI services. Serverless computing has received much interest because of its simplicity, scalability, and resource efficiency. However, due...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
MDPI
2021
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8704235/ https://www.ncbi.nlm.nih.gov/pubmed/34960506 http://dx.doi.org/10.3390/s21248416 |
_version_ | 1784621658498138112 |
---|---|
author | Lee, Seungjun Yoon, Daegun Yeo, Sangho Oh, Sangyoon |
author_facet | Lee, Seungjun Yoon, Daegun Yeo, Sangho Oh, Sangyoon |
author_sort | Lee, Seungjun |
collection | PubMed |
description | As Artificial Intelligence (AI) is becoming ubiquitous in many applications, serverless computing is also emerging as a building block for developing cloud-based AI services. Serverless computing has received much interest because of its simplicity, scalability, and resource efficiency. However, due to the trade-off with resource efficiency, serverless computing suffers from the cold start problem, that is, a latency between a request arrival and function execution. The cold start problem significantly influences the overall response time of workflow that consists of functions because the cold start may occur in every function within the workflow. Function fusion can be one of the solutions to mitigate the cold start latency of a workflow. If two functions are fused into a single function, the cold start of the second function is removed; however, if parallel functions are fused, the workflow response time can be increased because the parallel functions run sequentially even if the cold start latency is reduced. This study presents an approach to mitigate the cold start latency of a workflow using function fusion while considering a parallel run. First, we identify three latencies that affect response time, present a workflow response time model considering the latency, and efficiently find a fusion solution that can optimize the response time on the cold start. Our method shows a response time of 28–86% of the response time of the original workflow in five workflows. |
format | Online Article Text |
id | pubmed-8704235 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2021 |
publisher | MDPI |
record_format | MEDLINE/PubMed |
spelling | pubmed-87042352021-12-25 Mitigating Cold Start Problem in Serverless Computing with Function Fusion Lee, Seungjun Yoon, Daegun Yeo, Sangho Oh, Sangyoon Sensors (Basel) Article As Artificial Intelligence (AI) is becoming ubiquitous in many applications, serverless computing is also emerging as a building block for developing cloud-based AI services. Serverless computing has received much interest because of its simplicity, scalability, and resource efficiency. However, due to the trade-off with resource efficiency, serverless computing suffers from the cold start problem, that is, a latency between a request arrival and function execution. The cold start problem significantly influences the overall response time of workflow that consists of functions because the cold start may occur in every function within the workflow. Function fusion can be one of the solutions to mitigate the cold start latency of a workflow. If two functions are fused into a single function, the cold start of the second function is removed; however, if parallel functions are fused, the workflow response time can be increased because the parallel functions run sequentially even if the cold start latency is reduced. This study presents an approach to mitigate the cold start latency of a workflow using function fusion while considering a parallel run. First, we identify three latencies that affect response time, present a workflow response time model considering the latency, and efficiently find a fusion solution that can optimize the response time on the cold start. Our method shows a response time of 28–86% of the response time of the original workflow in five workflows. MDPI 2021-12-16 /pmc/articles/PMC8704235/ /pubmed/34960506 http://dx.doi.org/10.3390/s21248416 Text en © 2021 by the authors. https://creativecommons.org/licenses/by/4.0/Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Article Lee, Seungjun Yoon, Daegun Yeo, Sangho Oh, Sangyoon Mitigating Cold Start Problem in Serverless Computing with Function Fusion |
title | Mitigating Cold Start Problem in Serverless Computing with Function Fusion |
title_full | Mitigating Cold Start Problem in Serverless Computing with Function Fusion |
title_fullStr | Mitigating Cold Start Problem in Serverless Computing with Function Fusion |
title_full_unstemmed | Mitigating Cold Start Problem in Serverless Computing with Function Fusion |
title_short | Mitigating Cold Start Problem in Serverless Computing with Function Fusion |
title_sort | mitigating cold start problem in serverless computing with function fusion |
topic | Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC8704235/ https://www.ncbi.nlm.nih.gov/pubmed/34960506 http://dx.doi.org/10.3390/s21248416 |
work_keys_str_mv | AT leeseungjun mitigatingcoldstartprobleminserverlesscomputingwithfunctionfusion AT yoondaegun mitigatingcoldstartprobleminserverlesscomputingwithfunctionfusion AT yeosangho mitigatingcoldstartprobleminserverlesscomputingwithfunctionfusion AT ohsangyoon mitigatingcoldstartprobleminserverlesscomputingwithfunctionfusion |