Characterizing Microservice Dependency and Performance: Alibaba Trace Analysis

被引:161
作者
Luo, Shutian [1 ,2 ,5 ]
Xu, Huanle [2 ,5 ]
Lu, Chengzhi [1 ,5 ]
Ye, Kejiang [3 ,5 ]
Xu, Guoyao [4 ]
Zhang, Liping [4 ]
Ding, Yu [4 ]
He, Jian [4 ]
Xu, Chengzhong [2 ,5 ]
机构
[1] Univ CAS, CAS, Shenzhen Inst Adv Technol, Beijing, Peoples R China
[2] Univ Macau, Zhuhai, Peoples R China
[3] Chinese Acad Sci, Shenzhen Inst Adv Technol, Beijing, Peoples R China
[4] Alibaba Grp, Hangzhou, Peoples R China
[5] Guangdong Hong Kong Macao Joint Lab Human Machine, Shenzhen, Peoples R China
来源
PROCEEDINGS OF THE 2021 ACM SYMPOSIUM ON CLOUD COMPUTING (SOCC '21) | 2021年
基金
中国国家自然科学基金;
关键词
D O I
10.1145/3472883.3487003
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Loosely-coupled and light-weight microservices running in containers are replacing monolithic applications gradually. Understanding the characteristics of microservices is critical to make good use of microservice architectures. However, there is no comprehensive study about microservice and its related systems in production environments so far. In this paper, we present a solid analysis of large-scale deployments of microservices at Alibaba clusters. Our study focuses on the characterization of microservice dependency as well as its runtime performance. We conduct an in-depth anatomy of microservice call graphs to quantify the difference between them and traditional DAGs of data-parallel jobs. In particular, we observe that microservice call graphs are heavy-tail distributed and their topology is similar to a tree and moreover, many microservices are hot-spots. We reveal three types of meaningful call dependency that can be utilized to optimize microservice designs. Our investigation on microservice runtime performance indicates most microservices are much more sensitive to CPU interference than memory interference. To synthesize more representative microservice traces, we build a mathematical model to simulate call graphs. Experimental results demonstrate our model can well preserve those graph properties observed from Alibaba traces.
引用
收藏
页码:412 / 426
页数:15
相关论文
共 40 条
[1]  
Agache A, 2020, PROCEEDINGS OF THE 17TH USENIX SYMPOSIUM ON NETWORKED SYSTEMS DESIGN AND IMPLEMENTATION, P419
[2]  
Amvrosiadis G, 2018, PROCEEDINGS OF THE 2018 USENIX ANNUAL TECHNICAL CONFERENCE, P533
[3]  
[Anonymous], 2021, Mysql
[4]  
[Anonymous], Google Cloud
[5]  
[Anonymous], ALIBABA CLOUD
[6]  
[Anonymous], PODS NODES
[7]  
[Anonymous], 2021, KATA CONTAINERS
[8]  
[Anonymous], 2021, Kubernetes
[9]  
[Anonymous], 2012, P 9 USENIX C NETW SY
[10]  
Carbone P., 2015, B TECH COMM DATA ENG, V38, DOI DOI 10.1109/IC2EW.2016.56