Tackling Cold Start in Serverless Computing with Multi-Level Container Reuse

Amelie Chi Zhou*, Rongzheng Huang, Zhoubin Ke, Yusen Li, Yi Wang, Rui Mao

*Corresponding author for this work

Research output: Chapter in book/report/conference proceedingConference proceedingpeer-review

3 Citations (Scopus)

Abstract

In Serverless Computing, function cold-start is a major issue that causes delay of the system. Various solutions have been proposed to address function cold-start issue, among which keeping containers alive after function completion is an easy and commonly adopted way in real serverless clouds. However, when reusing warm containers for function warm starts, existing systems only match functions to containers with the same configurations. This greatly limits the warm resource utilization. Our analysis of real-world applications reveals that many serverless applications share the same operating system and language frameworks. Thus, we propose multi-level container reuse that tries to reduce the startup latency of functions using "similar"containers to greatly improve warm resource utilization. Due to the complexity of selecting the best container reuse solutions, we designed a Deep Reinforcement Learning (DRL) based scheduler to efficiently and effectively address the problem. Moreover, we released a new serverless benchmark named FStartBench that contains detailed package information for comparing the effectiveness of different function cold-start methods. Experiments based on FStartBench show that, given a warm resource pool with fixed size, our DRL-based scheduler can achieve up to 53% reduction on the average function startup latency compared to state-of-the-art solutions.

Original languageEnglish
Title of host publicationProceedings - 2024 IEEE International Parallel and Distributed Processing Symposium, IPDPS 2024
EditorsLisa O'Conner
PublisherIEEE
Pages89-99
Number of pages11
ISBN (Electronic)9798350337662, 9798350387117
ISBN (Print)9798350387124
DOIs
Publication statusPublished - 27 May 2024
Event38th IEEE International Parallel and Distributed Processing Symposium, IPDPS 2024
- Hyatt Regency San Francisco, San Francisco, United States
Duration: 27 May 202431 May 2024
https://www.ipdps.org/

Publication series

NameProceedings - IEEE International Parallel and Distributed Processing Symposium, IPDPS
ISSN (Print)1530-2075

Conference

Conference38th IEEE International Parallel and Distributed Processing Symposium, IPDPS 2024
Country/TerritoryUnited States
CitySan Francisco
Period27/05/2431/05/24
Internet address

Scopus Subject Areas

  • Artificial Intelligence
  • Computer Networks and Communications
  • Computer Science Applications
  • Hardware and Architecture

User-Defined Keywords

  • cold-start problem
  • serverless computing
  • warm container reuse

Fingerprint

Dive into the research topics of 'Tackling Cold Start in Serverless Computing with Multi-Level Container Reuse'. Together they form a unique fingerprint.

Cite this