一句话:提出基于 delta debugging 的微服务调试方法,最小化引发失败的部署与环境配置差异以定位根因。
微服务系统的调试需要在容器化环境中部署和操纵整个系统,其高复杂度与动态性带来独特挑战。本文提出一种基于 delta debugging 算法的微服务系统调试方法,目标是最小化引发失败的环境差异(delta),包括部署方式与环境配置等,从而实现有效调试。为支持该算法,作者提出了定义、部署/操纵与执行 delta 的新技术,并定义了一组能够影响微服务系统执行的维度,用以构造可供 delta debugging 最小化的(失败)环境空间。在一个中型微服务基准系统上的实验表明,该方法能够有效识别引发失败的 delta,帮助诊断故障根因。
Debugging microservice systems involves the deployment and manipulation of microservice systems on a containerized environment and faces unique challenges due to the high complexity and dynamism of microservices. To address these challenges, in this paper, we propose a debugging approach for microservice systems based on the delta debugging algorithm, which is to minimize failureinducing deltas of circumstances (e.g., deployment, environmental configurations) for effective debugging. Our approach includes novel techniques for defining, deploying/manipulating, and executing deltas following the idea of delta debugging. In particular, to construct a (failing) circumstance space for delta debugging to minimize, our approach defines a set of dimensions that can affect the execution of microservice systems. Our experimental study on a medium-size microservice benchmark system shows that our approach can effectively identify failure-inducing deltas that help diagnose the root causes.