arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2310.19013cs.DC
收藏

优化无服务器云计算中的同步自动扩缩容

Optimizing simultaneous autoscaling for serverless cloud computing

Harold Ship, Evgeny Shindin, Chen Wang, Diana Arroyo, Asser Tantawi

AI总结:

本文针对无服务器云计算中的自动扩缩容问题,提出基于流体近似模型和分离连续线性规划的优化控制策略,显著降低失败请求和响应时间。

摘要:

本文探讨了无服务器云计算平台中的资源分配问题,并提出了一种针对自动扩缩容系统的优化方法。无服务器计算使用户从资源管理任务中解脱出来,从而能够专注于应用功能。然而,基于负载变化的动态资源分配和函数复制仍然至关重要。通常,这些平台中的自动扩缩容器利用基于阈值的机制来独立调整函数副本。我们将应用建模为相互连接的函数图,其中请求以概率方式遍历该图,触发相关函数的执行。我们的目标是开发一种控制策略,在服务器上最优地分配资源,以在响应负载变化时最小化失败请求和响应时间。利用流体近似模型和分离连续线性规划(SCLP),我们推导出一种最优控制策略,该策略确定每个副本的资源数量以及随时间所需的副本数量。我们使用基于Python和simpy构建的仿真框架来评估我们的方法。与基于阈值的自动扩缩容相比,我们的方法在平均响应时间和失败请求方面表现出显著改善,在大多数情况下提升幅度从15%到超过300%不等。我们还探讨了系统和工作负载参数对性能的影响,为我们的优化方法在不同条件下的行为提供了见解。总体而言,我们的研究有助于推进资源分配策略,提高无服务器云计算平台的效率和可靠性。

英文摘要:

This paper explores resource allocation in serverless cloud computing platforms and proposes an optimization approach for autoscaling systems. Serverless computing relieves users from resource management tasks, enabling focus on application functions. However, dynamic resource allocation and function replication based on changing loads remain crucial. Typically, autoscalers in these platforms utilize threshold-based mechanisms to adjust function replicas independently. We model applications as interconnected graphs of functions, where requests probabilistically traverse the graph, triggering associated function execution. Our objective is to develop a control policy that optimally allocates resources on servers, minimizing failed requests and response time in reaction to load changes. Using a fluid approximation model and Separated Continuous Linear Programming (SCLP), we derive an optimal control policy that determines the number of resources per replica and the required number of replicas over time. We evaluate our approach using a simulation framework built with Python and simpy. Comparing against threshold-based autoscaling, our approach demonstrates significant improvements in average response times and failed requests, ranging from 15% to over 300% in most cases. We also explore the impact of system and workload parameters on performance, providing insights into the behavior of our optimization approach under different conditions. Overall, our study contributes to advancing resource allocation strategies, enhancing efficiency and reliability in serverless cloud computing platforms.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑