Traditional auto-scaling approaches are conceived as reactive automations,typically triggered when predefined thresholds are breached by resource consumption metrics.Managing such rules at scale is cumbersome,especial...Traditional auto-scaling approaches are conceived as reactive automations,typically triggered when predefined thresholds are breached by resource consumption metrics.Managing such rules at scale is cumbersome,especially when resources require non-negligible time to be instantiated.This paper introduces an architecture for predictive cloud operations,which enables orchestrators to apply time-series forecasting techniques to estimate the evolution of relevant metrics and take decisions based on the predicted state of the system.In this way,they can anticipate load peaks and trigger appropriate scaling actions in advance,such that new resources are available when needed.The proposed architecture is implemented in OpenStack,extending the monitoring capabilities of Monasca by injecting short-term forecasts of standard metrics.We use our architecture to implement predictive scaling policies leveraging on linear regression,autoregressive integrated moving average,feed-forward,and recurrent neural networks(RNN).Then,we evaluate their performance on a synthetic workload,comparing them to those of a traditional policy.To assess the ability of the different models to generalize to unseen patterns,we also evaluate them on traces from a real content delivery network(CDN)workload.In particular,the RNN model exhibites the best overall performance in terms of prediction error,observed client-side response latency,and forecasting overhead.The implementation of our architecture is open-source.展开更多
基金supported by the PNRR-M4C2-Investimento 1.3,Partenariato Esteso(No.PE00000013-FAIR).
文摘Traditional auto-scaling approaches are conceived as reactive automations,typically triggered when predefined thresholds are breached by resource consumption metrics.Managing such rules at scale is cumbersome,especially when resources require non-negligible time to be instantiated.This paper introduces an architecture for predictive cloud operations,which enables orchestrators to apply time-series forecasting techniques to estimate the evolution of relevant metrics and take decisions based on the predicted state of the system.In this way,they can anticipate load peaks and trigger appropriate scaling actions in advance,such that new resources are available when needed.The proposed architecture is implemented in OpenStack,extending the monitoring capabilities of Monasca by injecting short-term forecasts of standard metrics.We use our architecture to implement predictive scaling policies leveraging on linear regression,autoregressive integrated moving average,feed-forward,and recurrent neural networks(RNN).Then,we evaluate their performance on a synthetic workload,comparing them to those of a traditional policy.To assess the ability of the different models to generalize to unseen patterns,we also evaluate them on traces from a real content delivery network(CDN)workload.In particular,the RNN model exhibites the best overall performance in terms of prediction error,observed client-side response latency,and forecasting overhead.The implementation of our architecture is open-source.