Incendio: Priority-Based Scheduling for Alleviating Cold Start in Serverless Computing
- 8 April 2024
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Computers
- Vol. 73 (7) , 1780-1794
Abstract
In serverless computing, cold start results in long response latency. Existing approaches strive to alleviate the issue by reducing the number of cold starts. However, our measurement based on real-world production traces shows that the minimum number of cold starts does not equate to the minimum response latency, and solely focusing on optimizing the number of cold starts will lead to sub-optimal performance. The root cause is that functions have different priorities in terms of latency benefits by transferring a cold start to a warm start. In this paper, we propose Incendio , a serverless computing framework exploiting priority-based scheduling to minimize the overall response latency from the perspective of cloud providers. We reveal the priority of a function is correlated to multiple factors and design a priority model based on Spearman's rank correlation coefficient. We integrate a hybrid Prophet-LightGBM prediction model to dynamically manage runtime pools, which enables the system to prewarm containers in advance and terminate containers at the appropriate time. Furthermore, to satisfy the low-cost and high-accuracy requirements in serverless computing, we propose a Clustered Reinforcement Learning-based function scheduling strategy. The evaluations show that Incendio speeds up the native system by 1.4 $\times$ , and achieves 23% and 14.8% latency reductions compared to two state-of-the-art approaches.
Keywords
Funding Information
- National Key Research and Development Program of China (2023YFE0205700)
- National Natural Science Foundation of China (62341410, 62302348)
- Science and Technology Development Fund, Macao S.A.R (FDCT) Project (0078/2023/AMJ)
- General Program of Hubei Provincial Natural Science Foundation of China (2023AFB831)
This publication has 27 references indexed in Scilit:
- Optimizing and Extending Serverless Platforms: A Survey2021
- Tackling Cold Start of Serverless Applications by Efficient and Adaptive Container Runtime Reusing2021
- Deadline-aware Dynamic Resource Management in Serverless Computing Environments2021
- Amoeba: QoS-Awareness and Reduced Resource Usage of Microservices with Serverless Computing2020
- Pigeon2019
- FunctionBench: A Suite of Workloads for Serverless Cloud Function Service2019
- Replayable Execution Optimized for Page Sharing for a Managed Runtime Environment2019
- Costless: Optimizing Cost of Serverless Computing through Function Fusion and Placement2018
- Mathematical Modeling and Control of Multifractal Workloads for Data-Center-on-a-Chip Optimization2015
- Human-level control through deep reinforcement learningNature, 2015