MicroCBR: Case-Based Reasoning on Spatio-temporal Fault Knowledge Graph for Microservices Troubleshooting
Abstract
With the growing market of cloud-native applications, microservices architectures are widely used for rapid and automated deployments, scaling, and management. However, behind the prosperity of microservices, diagnosing faults in numerous services has brought great complexities to operators. To tackle this, we present a microservices troubleshooting framework called \(\text {MicroCBR}\), which makes use of history faults from a knowledge base to construct spatio-temporal knowledge graph offline, and then troubleshoot online through case-based reasoning. Compared to existing frameworks, \(\text {MicroCBR}\) (1) takes advantage of heterogeneous data to fingerprint the faults, (2) carefully extracts a spatio-temporal knowledge graph with only one sample for each fault, (3) can handle novel faults through hierarchical reasoning, and incrementally update it to the fault knowledge base thanks to case-based reasoning paradigm. Our framework is explainable to operators, they can easily locate the root causes and refer to historical solutions. We also conduct three different microservices architectures with fault experiments on Grid’5000 testbed, the results show that \(\text {MicroCBR}\) achieves 91% top-1 accuracy, and outperforms three state-of-the-art methods. We report success stories in a real cloud platform and the code is open-sourced.
BibTeX
@inproceedings{liu2022microcbr,
author = {Fengrui Liu and Yang Wang and Zhenyu Li and Rui Ren and Hongtao Guan and Xian Yu and Xiaofan Chen and Gaogang Xie},
title = {{MicroCBR: Case-Based Reasoning on Spatio-temporal Fault Knowledge Graph for Microservices Troubleshooting}},
booktitle = {ICCBR},
year = {2022},
url = {https://openreview.net/forum?id=owqKJvlKl4},
}Ask Althea to put this paper to the test.
Loading related content...