一句话:提出 AID,首个通过追踪数据与多变量时间序列相似度预测云服务间依赖强度的方法。
云系统中计划外服务故障会沿依赖关系级联,影响用户满意度;现有分布式追踪只能判断服务间是否存在依赖,无法刻画依赖程度。本文通过调研两个云提供商的故障与诊断流程,将依赖强度定义为被调服务状态对调用服务的影响程度。作者提出 AID:从 span 生成候选依赖对,把每个服务状态表示为从 span 聚合的多变量时间序列,计算候选对中调用者与被调用者状态的相似度,再聚合成统一的依赖强度值。在开源微服务基准和生产云系统数据上的实验表明,AID 能高效、准确地预测依赖强度,并在一大规模商业云系统中得到验证。
Service reliability is one of the key challenges that cloud providers have to deal with. In cloud systems, unplanned service failures may cause severe cascading impacts on their dependent services, deteriorating customer satisfaction. Predicting the cascading impacts accurately and efficiently is critical to the operation and maintenance of cloud systems. Existing approaches identify whether one service depends on another via distributed tracing but no prior work focused on discriminating to what extent the dependency between cloud services is. In this paper, we survey the outages and the procedure for failure diagnosis in two cloud providers to motivate the definition of the intensity of dependency. We define the intensity of dependency between two services as how much the status of the callee service influences the caller service. Then we propose AID, the first approach to predict the intensity of dependencies between cloud services. AID first generates a set of candidate dependency pairs from the spans. AID then represents the status of each cloud service with a multivariate time series aggregated from the spans. With the representation of services, AID calculates the similarities between the statuses of the caller and the callee of each candidate pair. Finally, AID aggregates the similarities to produce a unified value as the intensity of the dependency. We evaluate AID on the data collected from an open-source microservice benchmark and a cloud system in production. The experimental results show that AID can efficiently and accurately predict the intensity of dependencies. We further demonstrate the usefulness of our method in a large-scale commercial cloud system.
DOI 原文 ·
@inproceedings{paperbot6555,
title = {AID: Efficient Prediction of Aggregated Intensity of Dependency in Large-scale Cloud Systems},
author = {Tianyi Yang and Jiacheng Shen and Yuxin Su and Xiao Ling and Yongqiang Yang and Michael R. Lyu},
booktitle = {ASE},
year = {2021},
doi = {10.1109/ase51524.2021.9678534}
}