JOURNAL ARTICLE

Container lifecycle‐aware scheduling for serverless computing

Song WuZhiheng TaoHao FanZhuo HuangXinmin ZhangHai JinYu ChenChun Cao

Year: 2021 Journal:   Software Practice and Experience Vol: 52 (2)Pages: 337-352   Publisher: Wiley

Abstract

Abstract Elastic scaling in response to changes on demand is a main benefit of serverless computing. When bursty workloads arrive, a serverless platform launches many new containers and initializes function environments (known as cold starts), which incurs significant startup latency. To reduce cold starts, platforms usually pause a container after it serves a request, and reuse this container for subsequent requests. However, this reuse strategy cannot efficiently reduce cold starts because the schedulers are agnostic of container lifecycle. For example, it may ignore soon available containers or evict soon needed containers. We propose a container lifecycle‐aware scheduling strategy for serverless computing, CAS. The key idea is to control distribution of requests and determine creation or eviction of containers according to different lifecycle phases of containers. We implement a prototype of CAS on OpenWhisk. Our evaluation shows that CAS reduces 81% cold starts and therefore brings a 63% reduction at 95th percentile latency compared with native scheduling strategy in OpenWhisk when there is worker contention between workloads, and does not add significant performance overhead.

Keywords:
Computer science Reuse Scheduling (production processes) Distributed computing Latency (audio) Container (type theory) Cloud computing Operating system Engineering

Metrics

40
Cited By
8.44
FWCI (Field Weighted Citation Impact)
19
Refs
0.97
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Cloud Computing and Resource Management
Physical Sciences →  Computer Science →  Information Systems
Distributed and Parallel Computing Systems
Physical Sciences →  Computer Science →  Computer Networks and Communications
IoT and Edge/Fog Computing
Physical Sciences →  Computer Science →  Computer Networks and Communications

Related Documents

DISSERTATION

Optimized container scheduling for serverless edge computing

Alexander Rashed

University:   reposiTUm (TU Wien) Year: 2020
JOURNAL ARTICLE

Retention-Aware Container Caching for Serverless Edge Computing

Pan LiLin WangShutong ChenFangming Liu

Journal:   IEEE INFOCOM 2022 - IEEE Conference on Computer Communications Year: 2022 Pages: 1069-1078
JOURNAL ARTICLE

Optimized container scheduling for data-intensive serverless edge computing

Thomas RauschAlexander RashedSchahram Dustdar

Journal:   Future Generation Computer Systems Year: 2020 Vol: 114 Pages: 259-271
JOURNAL ARTICLE

Energy-Aware Resource Scheduling for Serverless Edge Computing

Mohammad Sadegh AslanpourAdel N. ToosiMuhammad Aamir CheemaRaj Gaire

Journal:   2022 22nd IEEE International Symposium on Cluster, Cloud and Internet Computing (CCGrid) Year: 2022 Pages: 190-199
© 2026 ScienceGate Book Chapters — All rights reserved.