Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3543507.3583288acmconferencesArticle/Chapter ViewAbstractPublication PagesthewebconfConference Proceedingsconference-collections
research-article

KAE-Informer: A Knowledge Auto-Embedding Informer for Forecasting Long-Term Workloads of Microservices

Published: 30 April 2023 Publication History

Abstract

Accurately forecasting workloads in terms of throughput that is quantified as queries per second (QPS) is essential for microservices to elastically adjust their resource allocations. However, long-term QPS prediction is challenging in two aspects: 1) generality across various services with different temporal patterns, 2) characterization of intricate QPS sequences which are entangled by multiple components. In this paper, we propose a knowledge auto-embedding Informer network (KAE-Informer) for forecasting the long-term QPS sequences of microservices. By analyzing a large number of microservice traces, we discover that there are two main decomposable and predictable components in QPS sequences, namely global trend & dominant periodicity (TP) and low-frequency residual patterns with long-range dependencies. These two components are important for accurately forecasting long-term QPS. First, KAE-Informer embeds the knowledge of TP components through mathematical modeling. Second, KAE-Informer designs a convolution ProbSparse self-attention mechanism and a multi-layer event discrimination scheme to extract and embed the knowledge of local context awareness and event regression effect implied in residual components, respectively. We conduct experiments based on three real datasets including a QPS dataset collected from 40 microservices. The experiment results show that KAE-Informer achieves a reduction of MAPE, MAE and RMSE by about 16.6%, 17.6% and 23.1% respectively, compared to the state-of-the-art models.

References

[1]
Muhammad Abdullah, Waheed Iqbal, Josep Lluis Berral, Jorda Polo, and David Carrera. 2022. Burst-Aware Predictive Autoscaling for Containerized Microservices. IEEE Transactions on Services Computing 15, 3 (2022), 1448–1460. https://doi.org/10.1109/TSC.2020.2995937
[2]
Mohammad Aldossary. 2021. A Review of Dynamic Resource Management in Cloud Computing Environments.Comput. Syst. Sci. Eng. 36, 3 (2021), 461–476.
[3]
Kadir Amasyali and Nora M El-Gohary. 2018. A review of data-driven building energy consumption prediction studies. Renewable and Sustainable Energy Reviews 81 (2018), 1192–1205.
[4]
Shaojie Bai, J. Zico Kolter, and Vladlen Koltun. 2018. An Empirical Evaluation of Generic Convolutional and Recurrent Networks for Sequence Modeling. https://doi.org/10.48550/ARXIV.1803.01271
[5]
Donald J. Berndt and James Clifford. 1994. Using Dynamic Time Warping to Find Patterns in Time Series. In Proceedings of the 3rd International Conference on Knowledge Discovery and Data Mining (Seattle, WA) (AAAIWS’94). AAAI Press, 359–370.
[6]
Anastasia Borovykh, Sander Bohte, and Cornelis W. Oosterlee. 2017. Conditional Time Series Forecasting with Convolutional Neural Networks. https://doi.org/10.48550/ARXIV.1703.04691
[7]
E. Oran Brigham. 1988. The Fast Fourier Transform and Its Applications. Prentice-Hall, Inc., USA.
[8]
Shuang Chen, Christina Delimitrou, and José F. Martínez. 2019. PARTIES: QoS-Aware Resource Partitioning for Multiple Interactive Services. In Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems (Providence, RI, USA) (ASPLOS ’19). Association for Computing Machinery, New York, NY, USA, 107–120. https://doi.org/10.1145/3297858.3304005
[9]
Junyoung Chung, Caglar Gulcehre, KyungHyun Cho, and Yoshua Bengio. 2014. Empirical Evaluation of Gated Recurrent Neural Networks on Sequence Modeling. https://doi.org/10.48550/ARXIV.1412.3555
[10]
Volkan Ş Ediger and Sertac Akar. 2007. ARIMA forecasting of primary energy demand by fuel in Turkey. Energy policy 35, 3 (2007), 1701–1708.
[11]
Yu Gan, Mingyu Liang, Sundar Dev, David Lo, and Christina Delimitrou. 2021. Sage: Practical and Scalable ML-Driven Performance Debugging in Microservices. In Proceedings of the Twenty-Sixth International Conference on Architectural Support for Programming Languages and Operating Systems (Virtual, USA) (ASPLOS ’21). Association for Computing Machinery, New York, NY, USA, 135–151. https://doi.org/10.1145/3445814.3446700
[12]
Yu Gan, Yanqi Zhang, Dailun Cheng, Ankitha Shetty, Priyal Rathi, Nayan Katarki, Ariana Bruno, Justin Hu, Brian Ritchken, Brendon Jackson, Kelvin Hu, Meghna Pancholi, Yuan He, Brett Clancy, Chris Colen, Fukang Wen, Catherine Leung, Siyuan Wang, Leon Zaruvinsky, Mateo Espinosa, Rick Lin, Zhongling Liu, Jake Padilla, and Christina Delimitrou. 2019. An Open-Source Benchmark Suite for Microservices and Their Hardware-Software Implications for Cloud & Edge Systems. In Proceedings of the Twenty-Fourth International Conference on Architectural Support for Programming Languages and Operating Systems (Providence, RI, USA) (ASPLOS ’19). Association for Computing Machinery, New York, NY, USA, 3–18. https://doi.org/10.1145/3297858.3304013
[13]
Everette S Gardner Jr. 2006. Exponential smoothing: The state of the art—Part II. International journal of forecasting 22, 4 (2006), 637–666.
[14]
Lester I Goldfischer. 1965. Autocorrelation function and power spectral density of laser-produced speckle patterns. Josa 55, 3 (1965), 247–253.
[15]
Sylvain Gugger and Jeremy Howard. 2018. Adamw and super-convergence is now the fastest way to train neural nets. last accessed 19 (2018).
[16]
Richard Kurle, Syama Sundar Rangapuram, Emmanuel de Bézenac, Stephan Günnemann, and Jan Gasthaus. 2020. Deep rao-blackwellised particle filters for time series forecasting. Advances in Neural Information Processing Systems 33 (2020), 15371–15382.
[17]
Mario Lassnig, Thomas Fahringer, Vincent Garonne, Angelos Molfetas, and Miguel Branco. 2010. Identification, Modelling and Prediction of Non-periodic Bursts in Workloads. In 2010 10th IEEE/ACM International Conference on Cluster, Cloud and Grid Computing. 485–494. https://doi.org/10.1109/CCGRID.2010.118
[18]
Edward D. Lazowska, John Zahorjan, G. Scott Graham, and Kenneth C. Sevcik. 1984. Quantitative System Performance: Computer System Analysis Using Queueing Network Models. Prentice-Hall, Inc., USA.
[19]
Shiyang Li, Xiaoyong Jin, Yao Xuan, Xiyou Zhou, Wenhu Chen, Yu-Xiang Wang, and Xifeng Yan. 2019. Enhancing the Locality and Breaking the Memory Bottleneck of Transformer on Time Series Forecasting. In Advances in Neural Information Processing Systems, Vol. 32. Curran Associates, Inc.
[20]
Federico Lombardi, Andrea Muti, Leonardo Aniello, Roberto Baldoni, Silvia Bonomi, and Leonardo Querzoni. 2019. Pascal: An architecture for proactive auto-scaling of distributed services. Future Generation Computer Systems 98 (2019), 342–361.
[21]
Shutian Luo, Huanle Xu, Chengzhi Lu, Kejiang Ye, Guoyao Xu, Liping Zhang, Yu Ding, Jian He, and Chengzhong Xu. 2021. Characterizing Microservice Dependency and Performance: Alibaba Trace Analysis. In Proceedings of the ACM Symposium on Cloud Computing (Seattle, WA, USA) (SoCC ’21). Association for Computing Machinery, New York, NY, USA, 412–426. https://doi.org/10.1145/3472883.3487003
[22]
Shutian Luo, Huanle Xu, Kejiang Ye, Guoyao Xu, Liping Zhang, Guodong Yang, and Chengzhong Xu. 2022. The Power of Prediction: Microservice Auto Scaling via Workload Learning. In Proceedings of the ACM Symposium on Cloud Computing. Association for Computing Machinery.
[23]
Johannes Manner, Martin Endreß, Tobias Heckel, and Guido Wirtz. 2018. Cold Start Influencing Factors in Function as a Service. In 2018 IEEE/ACM International Conference on Utility and Cloud Computing Companion (UCC Companion). 181–188. https://doi.org/10.1109/UCC-Companion.2018.00054
[24]
Yasuko Matsubara, Yasushi Sakurai, Willem G. van Panhuis, and Christos Faloutsos. 2014. FUNNEL: Automatic Mining of Spatially Coevolving Epidemics. In Proceedings of the 20th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining (New York, New York, USA) (KDD ’14). Association for Computing Machinery, New York, NY, USA, 105–114. https://doi.org/10.1145/2623330.2623624
[25]
Víctor Rampérez, Javier Soriano, David Lizcano, and Juan A Lara. 2021. Flas: A combination of proactive and reactive auto-scaling architecture for distributed services. Future Generation Computer Systems 118 (2021), 56–72.
[26]
Syama Sundar Rangapuram, Matthias W Seeger, Jan Gasthaus, Lorenzo Stella, Yuyang Wang, and Tim Januschowski. 2018. Deep State Space Models for Time Series Forecasting. In Advances in Neural Information Processing Systems, S. Bengio, H. Wallach, H. Larochelle, K. Grauman, N. Cesa-Bianchi, and R. Garnett (Eds.). Vol. 31. Curran Associates, Inc.https://proceedings.neurips.cc/paper/2018/file/5cf68969fb67aa6082363a6d4e6468e2-Paper.pdf
[27]
Krzysztof Rzadca, Pawel Findeisen, Jacek Swiderski, Przemyslaw Zych, Przemyslaw Broniek, Jarek Kusmierek, Pawel Nowak, Beata Strack, Piotr Witusowski, Steven Hand, and John Wilkes. 2020. Autopilot: Workload Autoscaling at Google. In Proceedings of the Fifteenth European Conference on Computer Systems (Heraklion, Greece) (EuroSys ’20). Association for Computing Machinery, New York, NY, USA, Article 16, 16 pages. https://doi.org/10.1145/3342195.3387524
[28]
Rajat Sen, Hsiang-Fu Yu, and Inderjit S Dhillon. 2019. Think Globally, Act Locally: A Deep Neural Network Approach to High-Dimensional Time Series Forecasting. In Advances in Neural Information Processing Systems, Vol. 32. Curran Associates, Inc.https://proceedings.neurips.cc/paper/2019/file/3a0844cee4fcf57de0c71e9ad3035478-Paper.pdf
[29]
Akshitha Sriraman, Abhishek Dhanotia, and Thomas F. Wenisch. 2019. SoftSKU: Optimizing Server Architectures for Microservice Diversity @scale. In Proceedings of the 46th International Symposium on Computer Architecture (Phoenix, Arizona) (ISCA ’19). Association for Computing Machinery, New York, NY, USA, 513–526. https://doi.org/10.1145/3307650.3322227
[30]
Sean J Taylor and Benjamin Letham. 2018. Forecasting at scale. The American Statistician 72, 1 (2018), 37–45.
[31]
Marina Theodosiou. 2011. Forecasting monthly and quarterly time series using STL decomposition. International Journal of Forecasting 27, 4 (2011), 1178–1195.
[32]
Oskar Triebe, Hansika Hewamalage, Polina Pilyugina, Nikolay Laptev, Christoph Bergmeir, and Ram Rajagopal. 2021. NeuralProphet: Explainable Forecasting at Scale. https://doi.org/10.48550/ARXIV.2111.15397
[33]
Artur Trindade. 2015. ECL (Electricity Consuming Load) dataset. https://archive.ics.uci.edu/ml/ datasets/ElectricityLoadDiagrams20112014
[34]
Greg Van Houdt, Carlos Mosquera, and Gonzalo Nápoles. 2020. A review on the long short-term memory model. Artificial Intelligence Review 53, 8 (2020), 5929–5955.
[35]
Ruofeng Wen, Kari Torkkola, Balakrishnan Narayanaswamy, and Dhruv Madeka. 2018. A Multi-Horizon Quantile Recurrent Forecaster. arxiv:1711.11053 [stat.ML]
[36]
Haixu Wu, Jiehui Xu, Jianmin Wang, and Mingsheng Long. 2021. Autoformer: Decomposition transformers with auto-correlation for long-term series forecasting. Advances in Neural Information Processing Systems 34 (2021), 22419–22430.
[37]
Ming Yan, XiaoMeng Liang, ZhiHui Lu, Jie Wu, and Wei Zhang. 2021. HANSEL: Adaptive horizontal scaling of microservices using Bi-LSTM. Applied Soft Computing 105 (2021), 107216.
[38]
Rose Yu, Stephan Zheng, Anima Anandkumar, and Yisong Yue. 2019. Long-term Forecasting using Higher Order Tensor RNNs. arxiv:1711.00073 [cs.LG]
[39]
Dacheng Zhou, Hongchang Chen, Ke Shang, Guozhen Cheng, Jianpeng Zhang, and Hongchao Hu. 2022. Cushion: A proactive resource provisioning method to mitigate SLO violations for containerized microservices. IET Communications (2022).
[40]
Haoyi Zhou, Shanghang Zhang, Jieqi Peng, Shuai Zhang, Jianxin Li, Hui Xiong, and Wancai Zhang. 2021. Informer: Beyond Efficient Transformer for Long Sequence Time-Series Forecasting. Proceedings of the AAAI Conference on Artificial Intelligence 35, 12 (May 2021), 11106–11115. https://doi.org/10.1609/aaai.v35i12.17325
[41]
Tian Zhou, Ziqing Ma, Qingsong Wen, Xue Wang, Liang Sun, and Rong Jin. 2022. FEDformer: Frequency enhanced decomposed transformer for long-term series forecasting. In Proc. 39th International Conference on Machine Learning (ICML 2022) (Baltimore, Maryland).
[42]
Yunyue Zhu and Dennis Shasha. 2002. Chapter 32 - StatStream: Statistical Monitoring of Thousands of Data Streams in Real Time**Work supported in part by U.S. NSF grants IIS-9988345 and N2010:0115586. In VLDB ’02: Proceedings of the 28th International Conference on Very Large Databases. Morgan Kaufmann, San Francisco, 358–369. https://doi.org/10.1016/B978-155860869-6/50039-1

Cited By

View all
  • (2024)Orthogonality Matters: Invariant Time Series Representation for Out-of-distribution ClassificationProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining10.1145/3637528.3671768(2674-2685)Online publication date: 25-Aug-2024
  • (2024)MCformer: Multivariate Time Series Forecasting With Mixed-Channels TransformerIEEE Internet of Things Journal10.1109/JIOT.2024.340169711:17(28320-28329)Online publication date: 1-Sep-2024
  • (2024)SCARNet: using convolution neural network to predict time series with time-varying varianceMultimedia Tools and Applications10.1007/s11042-024-19322-5Online publication date: 13-May-2024

Recommendations

Comments

Please enable JavaScript to view thecomments powered by Disqus.

Information & Contributors

Information

Published In

cover image ACM Conferences
WWW '23: Proceedings of the ACM Web Conference 2023
April 2023
4293 pages
ISBN:9781450394161
DOI:10.1145/3543507
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

Sponsors

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 30 April 2023

Permissions

Request permissions for this article.

Check for updates

Badges

Author Tags

  1. forecasting
  2. microservices
  3. neural network
  4. time-series analysis
  5. workload

Qualifiers

  • Research-article
  • Research
  • Refereed limited

Funding Sources

  • Alibaba Group through Alibaba Innovative Research Program and Alibaba Research Intern Program
  • the Artificial Intelligence Technology Support Project of the Science and Technology Commission of Shanghai Municipality
  • the Program of Technology Innovation of the Science and Technology Commission of Shanghai Municipality

Conference

WWW '23
Sponsor:
WWW '23: The ACM Web Conference 2023
April 30 - May 4, 2023
TX, Austin, USA

Acceptance Rates

Overall Acceptance Rate 1,899 of 8,196 submissions, 23%

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)207
  • Downloads (Last 6 weeks)13
Reflects downloads up to 26 Sep 2024

Other Metrics

Citations

Cited By

View all
  • (2024)Orthogonality Matters: Invariant Time Series Representation for Out-of-distribution ClassificationProceedings of the 30th ACM SIGKDD Conference on Knowledge Discovery and Data Mining10.1145/3637528.3671768(2674-2685)Online publication date: 25-Aug-2024
  • (2024)MCformer: Multivariate Time Series Forecasting With Mixed-Channels TransformerIEEE Internet of Things Journal10.1109/JIOT.2024.340169711:17(28320-28329)Online publication date: 1-Sep-2024
  • (2024)SCARNet: using convolution neural network to predict time series with time-varying varianceMultimedia Tools and Applications10.1007/s11042-024-19322-5Online publication date: 13-May-2024

View Options

Get Access

Login options

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

HTML Format

View this article in HTML Format.

HTML Format

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media