Online Diagnosis of Microservices Based Applications Via Partial Digital Twin
Sourav Das, Jit Gupta, Krishna Kant · 2024
The increasing adoption of DevOps and microservices paradigm in enterprise software has not only brought about several benefits but also a host of challenges. In particular, such applications may suffer from frequent misconfigurations and other faults that need to be diagnosed promptly. In this paper, we propose a novel framework centered around the concept of Partial Digital Twin (PDT) to enable isolated testing without disrupting the main infrastructure. Our framework employs a systematic methodology to replicate the chain of dependencies relevant to reported faults, facilitating efficient root cause analysis. Additionally, we introduce a hierarchical categorization of faults leading to the selection of tests tailored to specific fault types. Through empirical evaluation, we demonstrate that the median number of tests required to diagnose a misconfiguration using our approach is only 7% above the ideal scenario.