With the rapid development of cloud native technology, a growing number of applications run in containers. For cloud service providers, accurate container workload prediction can contribute to the improvement of resource utilization and service level agreement. However, containers that support different sorts of businesses have different preferences on resource requirements, and thus the prediction methods via one general model cannot work for all containers. In this paper, we propose a novel workload prediction method to adapt to different classes of containers and obtain more accurate prediction results. We first develop an automatic classifier to classify the containers according to their resource usage records. For each type of container, we train an attention mechanism-based Long Short-Term Memory(LSTM) model to predict the workload. Then a weight optimizer and the trained LSTM models are assembled into an ensemble predictor. The proposed weight optimizer can dynamically update weights according to the real-time container workload. Experiments on the Google cluster-data dataset show that the accuracy of our ensemble predictor is 7% higher than that of other two competitive methods.
[1]
S. Du,et al.
Host load prediction with long short-term memory in cloud computing
,
2018,
The Journal of Supercomputing.
[2]
Parminder Singh,et al.
TASM: technocrat ARIMA and SVR model for workload prediction of web applications in cloud
,
2018,
Cluster Computing.
[3]
Bo Deng,et al.
Workload prediction for cloud computing elasticity mechanism
,
2016,
2016 IEEE International Conference on Cloud Computing and Big Data Analysis (ICCCBDA).
[4]
Yoshua Bengio,et al.
Show, Attend and Tell: Neural Image Caption Generation with Visual Attention
,
2015,
ICML.
[5]
E. Umamaheswari,et al.
EWPTNN: An Efficient Workload Prediction Model in Cloud Computing Using Two-Stage Neural Networks
,
2019,
Procedia Computer Science.
[6]
Yao Lu,et al.
RVLBPNN: A Workload Forecasting Model for Smart Cloud Computing
,
2016,
Sci. Program..