Noah: Reinforcement-Learning-Based Rate Limiter for Microservices in Large-Scale E-Commerce Services

被引:2
|
作者
Li, Zhao [1 ]
Sun, Haifeng [2 ]
Xiong, Zheng [1 ]
Huang, Qun [2 ,3 ]
Hu, Zehong [1 ]
Li, Ding [1 ]
Ruan, Shasha [1 ]
Hong, Hai [1 ]
Gui, Jie [2 ]
He, Jintao [2 ]
Xu, Zebin [1 ]
Fang, Yang [1 ]
机构
[1] Alibaba Grp, Hangzhou 311121, Peoples R China
[2] Peking Univ, Dept Comp & Sci, Beijing 100871, Peoples R China
[3] Chinese Acad Sci, Inst Comp Technol, Beijing 100190, Peoples R China
基金
中国国家自然科学基金;
关键词
Containers; Microservice architectures; Production; Electronic commerce; Monitoring; Measurement; Training; Deep reinforcement learning (DRL); deployment experience; e-commerce; microservice; rate limit;
D O I
10.1109/TNNLS.2023.3264038
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Modern large-scale online service providers typically deploy microservices into containers to achieve flexible service management. One critical problem in such container-based microservice architectures is to control the arrival rate of requests in the containers to avoid containers from being overloaded. In this article, we present our experience of rate limit for the containers in, one of the largest e-commerce services in the world. Given the highly diverse characteristics of containers in, we point out that the existing rate limit mechanisms cannot meet our demand. Thus, we design, a dynamic rate limiter that can automatically adapt to the specific characteristic of each container without human efforts. The key idea of is to use deep reinforcement learning (DRL) that automatically infers the most suitable configuration for each container. To fully embrace the advantages of DRL in our context, addresses two technical challenges. First, uses a lightweight system monitoring mechanism to collect container status. In this way, it minimizes the monitoring overhead while ensuring a timely reaction to system load changes. Second, injects synthetic extreme data when training its models. Thus, its model gains knowledge on unseen special events and hence remains highly available in extreme scenarios. To guarantee model convergence with the injected training data, adopts task-specific curriculum learning to train the model from normal data to extreme data gradually. has been deployed in the production of for two years, serving more than 50 000 containers and around 300 types of microservice applications. Experimental results show that can well adapt to three common scenarios in the production environment. It effectively achieves better system availability and shorter request response time compared with four state-of-the-art rate limiters.
引用
收藏
页码:5403 / 5417
页数:15
相关论文
共 50 条
  • [21] Multi-Channel Sellers Traffic Allocation in Large-scale E-commerce Promotion
    Shen Xin
    Ye, Yizhou
    Ester, Martin
    Long, Cheng
    Zhang, Jie
    Li, Zhao
    Yuan, Kaiying
    Li, Yanghua
    CIKM '20: PROCEEDINGS OF THE 29TH ACM INTERNATIONAL CONFERENCE ON INFORMATION & KNOWLEDGE MANAGEMENT, 2020, : 2845 - 2852
  • [22] Study of Large-scale Enterprise Strategic Decision Support System in E-commerce Environment
    Jiang, Yuantao
    2011 INTERNATIONAL CONFERENCE ON COMPUTER, ELECTRICAL, AND SYSTEMS SCIENCES, AND ENGINEERING (CESSE 2011), 2011, : 528 - 531
  • [23] A linguistic solution for double large-scale group decision-making in E-commerce
    Wu, Tong
    Liu, Xinwang
    Qin, Jindong
    COMPUTERS & INDUSTRIAL ENGINEERING, 2018, 116 : 97 - 112
  • [24] Large-Scale Item Categorization in e-Commerce Using Multiple Recurrent Neural Networks
    Ha, Jung-Woo
    Pyo, Hyuna
    Kim, Jeonghee
    KDD'16: PROCEEDINGS OF THE 22ND ACM SIGKDD INTERNATIONAL CONFERENCE ON KNOWLEDGE DISCOVERY AND DATA MINING, 2016, : 107 - 115
  • [25] A large-scale last-mile consolidation model for e-commerce home delivery
    Munoz-Villamizar, Andres
    Velazquez-Martinez, Josue C.
    Caballero-Caballero, Sergio
    EXPERT SYSTEMS WITH APPLICATIONS, 2024, 235
  • [26] Hierarchical Bipartite Graph Neural Networks: Towards Large-Scale E-commerce Applications
    Li, Zhao
    Shen, Xin
    Jiao, Yuhang
    Pan, Xuming
    Zou, Pengcheng
    Meng, Xianling
    Yao, Chengwei
    Bu, Jiajun
    2020 IEEE 36TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2020), 2020, : 1677 - 1688
  • [27] Cross-Graph Convolution Learning for Large-Scale Text-Picture Shopping Guide in E-Commerce Search
    Zhang, Tong
    Cui, Baoliang
    Cui, Zhen
    Huang, Haikuan
    Yang, Jian
    Deng, Hongbo
    Zheng, Bo
    2020 IEEE 36TH INTERNATIONAL CONFERENCE ON DATA ENGINEERING (ICDE 2020), 2020, : 1657 - 1666
  • [28] A Reinforcement Learning Based Model for Adaptive Service Quality Management in E-Commerce Websites
    Ghavamipoor, Hoda
    Golpayegani, S. Alireza Hashemi
    BUSINESS & INFORMATION SYSTEMS ENGINEERING, 2020, 62 (02) : 159 - 177
  • [29] Detecting collusive spammers on e-commerce websites based on reinforcement learning and adversarial autoencoder
    Zhang, Fuzhi
    Yuan, Shuai
    Wu, Jiayi
    Zhang, Peng
    Chao, Jinbo
    EXPERT SYSTEMS WITH APPLICATIONS, 2022, 203
  • [30] A Reinforcement Learning Based Model for Adaptive Service Quality Management in E-Commerce Websites
    Hoda Ghavamipoor
    S. Alireza Hashemi Golpayegani
    Business & Information Systems Engineering, 2020, 62 : 159 - 177