A Sparse Function Prediction Approach for Cold Start Optimization and User Satisfaction Guarantee in Serverless
Serverless computing relies on keeping functions alive or pre-warming them before invocation to mitigate the cold start problem, stemming from the overhead of initializing function startup environments. However, under constrained cloud resources, accurately predicting the invocation patterns of sparse functions remains challenging. This limits the formulation of effective pre-warm and keep-alive strategies, leading to frequent cold starts and degraded user satisfaction. To address these challenges, we propose <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SPFaaS</i>, a hybrid framework based on sparse function prediction. To enhance the learnability of sparse function invocation data, <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SPFaaS</i> takes into account the characteristics of cloud service workloads along with the features of pre-warm and keep-alive strategies, transforming function invocation records into probabilistic data. It captures the underlying periodicity and temporal dependencies in the data through multiple rounds of sampling and the combined use of Gated Recurrent Units and Temporal Convolutional Networks for accurate prediction. Based on the final prediction outcome and real-time system states, <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SPFaaS</i> determines adaptive pre-warm and keep-alive strategies for each function. Experiments conducted on two real-world serverless clusters demonstrate that <italic xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">SPFaaS</i> outperforms state-of-the-art methods in reducing cold starts and improving user satisfaction.
Authors
- Wang Zhang (ORCID: https://orcid.org/0000-0003-1746-7259)
- Dan Feng (ORCID: https://orcid.org/0000-0002-4674-6006)
- Zhan Shi (ORCID: https://orcid.org/0000-0002-7798-1121)
- Yuyang Zhu
- Yutong Wu (ORCID: https://orcid.org/0000-0003-4771-9461)
- Mengya Dang
- Fang Wang (ORCID: https://orcid.org/0000-0002-0534-7316)
Institutions
- Huazhong University of Science and Technology (CN)
Publication Details
- Journal
- IEEE Transactions on Parallel and Distributed Systems
- Published
- 2025-08-25
- DOI
- https://doi.org/10.1109/tpds.2025.3602440
- Citations
- 1
- Primary Topic
- Cloud Computing and Resource Management
- Type
- article
- Field-Weighted Citation Impact
- 3.25