机械与电子2025,Vol.43Issue(11):15-21,7.
基于函数关联集的冷启动优化策略研究
Research on Cold-start Optimization Strategy Based on Function Association Set
摘要
Abstract
The cold start problem of cloud functions in serverless computing can lead to significant per-formance overhead.Existing prewarming strategies,when using applications as the scheduling unit,often result in resource wastage due to overly coarse scheduling granularity and struggle to effectively optimize functions with unclear invocation patterns.This paper proposes FS-Warm,a cold start optimization strat-egy based on function association sets.This strategy introduces"function association sets"as a new schedu-ling granularity,mining co-occurrence relationships between functions(e.g.,using the FP-Growth algo-rithm)to aggregate functions that are strongly correlated in business logic or invocation behavior(inclu-ding high-frequency functions and their associated low-frequency or pattern-unclear functions).By per-forming collaborative prewarming and scheduling based on function association sets,the strategy aims to load resources more precisely on demand and leverage the invocation behavior of known-pattern functions to assist in optimizing the prewarming timing of other functions within the set.This effectively mitigates the cold start problem,improves resource utilization,and enhances optimization for functions without clear invocation patterns.Experimental results show that FS-Warm,the cold start optimization strategy based on function association sets,performs well in reducing the cold start rate of serverless cloud functions and balancing memory wastage.At the 75th percentile,it reduces the cold start rate to 20.8%,a 42.4%im-provement over baseline strategies,while cutting memory wastage by approximately 75%.关键词
Serverless/冷启动/协同预热/调度优化/FP-GrowthKey words
Serverless/cold start/collaborative pre-warming/scheduling optimization/FP-Growth分类
信息技术与安全科学引用本文复制引用
郑元伟,李子鹏,龙诺亚,张菡,张猛,宋磊,王喜宾..基于函数关联集的冷启动优化策略研究[J].机械与电子,2025,43(11):15-21,7.基金项目
贵州电网有限责任公司创新项目(GZKJXM2O220069) (GZKJXM2O220069)