计算机应用与软件2026,Vol.43Issue(9):10-18,9.DOI:10.3969/j.issn.1000-386x.2026.09.002
实时应用中微服务扩展策略的优化
OPTIMIZATION OF MICROSERVICE SCALING STRATEGIES IN REAL-TIME APPLICATIONS
摘要
Abstract
Dynamic load balancing drives the development of elastic scaling techniques.However,real-time applications under microservice architectures still suffer from hysteresis when using the native scaling strategy of Kubernetes,and a single scaling metric also has limitations.Therefore,we optimized the HPA strategy,and deployed a dynamic scaling window to cope with load perturbation.We proposed an adaptive scaling strategy to satisfy multiple scaling metrics.Meanwhile microservices proactive scaling was realized to meet the high timeliness demand of the response results through ARIMA model within the scaling window.The channel of MAPE was designed to implement the adaptive scaling strategy.Experimental results show that this strategy eliminates the ping-pong effect of the number of pods and reduces the average response time by 21.3%compared with the native HPA strategy,which is more suitable for latency-sensitive services.关键词
微服务/Kubernetes/主动式扩展策略/实时应用Key words
Microservice/Kubernetes/Proactive scaling strategy/Real-time applications分类
信息技术与安全科学引用本文复制引用
任雪容,冯兴乐,王晨航..实时应用中微服务扩展策略的优化[J].计算机应用与软件,2026,43(9):10-18,9.基金项目
国家重点研发计划项目(2019YFB1600100) (2019YFB1600100)
国家自然科学基金面上项目(61973045). (61973045)