Serverless computing has gained popularity due to its cost efficiency, ease of deployment, and enhanced scalability. However, in serverless environments, servers are initiated only after receiving a request, leading to increased response times. This delay is commonly known as the cold start problem. In this study, we explore the in-place scaling feature released in Kubernetes v1.27 and examine its impact on serverless computing. Our experimental results reveal improvements in request latency, with reductions ranging from 1.16 to 18.15 times across various workloads when compared to traditional cold policy.
翻译:无服务计算因其成本效益高、部署便捷及可扩展性强而广受欢迎。然而,在无服务环境中,服务器仅在接收到请求后才会启动,导致响应时间增加。这种延迟通常被称为冷启动问题。本研究探讨了Kubernetes v1.27中发布的内联扩缩容特性,并分析了其对无服务计算的影响。实验结果表明,与传统冷启动策略相比,该特性在不同工作负载下将请求延迟降低了1.16至18.15倍。