Serverless Cold Starts and Where to Find Them

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: Joosen, Artjom, Hassan, Ahmed, Asenov, Martin, Singh, Rajkarn, Darlow, Luke, Wang, Jianfeng, Deng, Qiwen, Barker, Adam
Format: Preprint
Publié: 2024
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866910641114054656
author Joosen, Artjom
Hassan, Ahmed
Asenov, Martin
Singh, Rajkarn
Darlow, Luke
Wang, Jianfeng
Deng, Qiwen
Barker, Adam
author_facet Joosen, Artjom
Hassan, Ahmed
Asenov, Martin
Singh, Rajkarn
Darlow, Luke
Wang, Jianfeng
Deng, Qiwen
Barker, Adam
contents This paper releases and analyzes a month-long trace of 85 billion user requests and 11.9 million cold starts from Huawei's serverless cloud platform. Our analysis spans workloads from five data centers. We focus on cold starts and provide a comprehensive examination of the underlying factors influencing the number and duration of cold starts. These factors include trigger types, request synchronicity, runtime languages, and function resource allocations. We investigate components of cold starts, including pod allocation time, code and dependency deployment time, and scheduling delays, and examine their relationships with runtime languages, trigger types, and resource allocation. We introduce pod utility ratio to measure the pod's useful lifetime relative to its cold start time, giving a more complete picture of cold starts, and see that some pods with long cold start times have longer useful lifetimes. Our findings reveal the complexity and multifaceted origins of the number, duration, and characteristics of cold starts, driven by differences in trigger types, runtime languages, and function resource allocations. For example, cold starts in Region 1 take up to 7 seconds, dominated by dependency deployment time and scheduling. In Region 2, cold starts take up to 3 seconds and are dominated by pod allocation time. Based on this, we identify opportunities to reduce the number and duration of cold starts using strategies for multi-region scheduling. Finally, we suggest directions for future research to address these challenges and enhance the performance of serverless cloud platforms. Our datasets and code are available here https://github.com/sir-lab/data-release
format Preprint
id arxiv_https___arxiv_org_abs_2410_06145
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Serverless Cold Starts and Where to Find Them
Joosen, Artjom
Hassan, Ahmed
Asenov, Martin
Singh, Rajkarn
Darlow, Luke
Wang, Jianfeng
Deng, Qiwen
Barker, Adam
Distributed, Parallel, and Cluster Computing
Operating Systems
Performance
C.4; D.4.7
This paper releases and analyzes a month-long trace of 85 billion user requests and 11.9 million cold starts from Huawei's serverless cloud platform. Our analysis spans workloads from five data centers. We focus on cold starts and provide a comprehensive examination of the underlying factors influencing the number and duration of cold starts. These factors include trigger types, request synchronicity, runtime languages, and function resource allocations. We investigate components of cold starts, including pod allocation time, code and dependency deployment time, and scheduling delays, and examine their relationships with runtime languages, trigger types, and resource allocation. We introduce pod utility ratio to measure the pod's useful lifetime relative to its cold start time, giving a more complete picture of cold starts, and see that some pods with long cold start times have longer useful lifetimes. Our findings reveal the complexity and multifaceted origins of the number, duration, and characteristics of cold starts, driven by differences in trigger types, runtime languages, and function resource allocations. For example, cold starts in Region 1 take up to 7 seconds, dominated by dependency deployment time and scheduling. In Region 2, cold starts take up to 3 seconds and are dominated by pod allocation time. Based on this, we identify opportunities to reduce the number and duration of cold starts using strategies for multi-region scheduling. Finally, we suggest directions for future research to address these challenges and enhance the performance of serverless cloud platforms. Our datasets and code are available here https://github.com/sir-lab/data-release
title Serverless Cold Starts and Where to Find Them
topic Distributed, Parallel, and Cluster Computing
Operating Systems
Performance
C.4; D.4.7
url https://arxiv.org/abs/2410.06145