将应用部署到云端已经成为业界越来越普遍的做法,高并发、大流量已经成为多数云应用的一大特征。如何应对不断增长的高并发和用户流量的激增、合理利用资源、保障应用的稳定运行是云资源管理需要解决的重要问题。针对基于监控数据进行资源调整的方式容易引发资源调整滞后的问题,提出了一种基于ARIMA预测模型进行资源调整的虚拟资源动态调度方法。该方法能够根据预测的请求量,结合当前资源的负载能力来计算所需的资源规模,从而进行虚拟机资源的配置或释放。实验结果表明,所采用的预测模型能够较好地拟合实验的场景,通过使用基于预测模型的资源调度算法能够及时、有效地保证云服务质量。
Deploying applications to the cloud has become an increasingly common practice in the industry,high concurrency and high traffic have become major features of most cloud applications.How to deal with the rising of the high concurrency and the surge of user traffic,to use resources reasonably,and to ensure the stable operation of the application,are important issues to solve for the cloud resource management.Considering the adjustment of resources based on monitoring data is easy to trigger the delay of resource scheduling,a dynamic scheduling method for resource adjustment based on ARIMA prediction model was proposed in this paper.The method can calculate the required resource size according to the demand of the forecast and the load capacity of the current resources scale,thus configurating or releasing the virtual machine resources.The experimental results show that the prediction model can fit the scene well.By using the predictive model,the resource scheduling algorithm can effectively guarantee the quality of cloud services in a timely and effective manner.