Taming Cold Starts: Proactive Serverless Scheduling with Model Predictive Control

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Nguyen, Chanh, Bhuyan, Monowar, Elmroth, Erik
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866917197621755904
author Nguyen, Chanh
Bhuyan, Monowar
Elmroth, Erik
author_facet Nguyen, Chanh
Bhuyan, Monowar
Elmroth, Erik
contents Serverless computing has transformed cloud application deployment by introducing a fine-grained, event-driven execution model that abstracts away infrastructure management. Its on-demand nature makes it especially appealing for latency-sensitive and bursty workloads. However, the cold start problem, i.e., where the platform incurs significant delay when provisioning new containers, remains the Achilles' heel of such platforms. This paper presents a predictive serverless scheduling framework based on Model Predictive Control to proactively mitigate cold starts, thereby improving end-to-end response time. By forecasting future invocations, the controller jointly optimizes container prewarming and request dispatching, improving latency while minimizing resource overhead. We implement our approach on Apache OpenWhisk, deployed on a Kubernetes-based testbed. Experimental results using real-world function traces and synthetic workloads demonstrate that our method significantly outperforms state-of-the-art baselines, achieving up to 85% lower tail latency and a 34% reduction in resource usage.
format Preprint
id arxiv_https___arxiv_org_abs_2508_07640
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Taming Cold Starts: Proactive Serverless Scheduling with Model Predictive Control
Nguyen, Chanh
Bhuyan, Monowar
Elmroth, Erik
Distributed, Parallel, and Cluster Computing
Performance
Serverless computing has transformed cloud application deployment by introducing a fine-grained, event-driven execution model that abstracts away infrastructure management. Its on-demand nature makes it especially appealing for latency-sensitive and bursty workloads. However, the cold start problem, i.e., where the platform incurs significant delay when provisioning new containers, remains the Achilles' heel of such platforms. This paper presents a predictive serverless scheduling framework based on Model Predictive Control to proactively mitigate cold starts, thereby improving end-to-end response time. By forecasting future invocations, the controller jointly optimizes container prewarming and request dispatching, improving latency while minimizing resource overhead. We implement our approach on Apache OpenWhisk, deployed on a Kubernetes-based testbed. Experimental results using real-world function traces and synthetic workloads demonstrate that our method significantly outperforms state-of-the-art baselines, achieving up to 85% lower tail latency and a 34% reduction in resource usage.
title Taming Cold Starts: Proactive Serverless Scheduling with Model Predictive Control
topic Distributed, Parallel, and Cluster Computing
Performance
url https://arxiv.org/abs/2508.07640