MicroRes:基于退化传播索引的微服务通用韧性分析
MicroRes: Versatile Resilience Profiling in Microservices via Degradation Dissemination Indexing
AI总结:
针对微服务韧性分析依赖手动配置导致劳动强度大且灵活性差的问题,提出首个基于退化传播索引的通用韧性分析框架 MicroRes,通过注入故障并评估退化在指标间的传播程度来量化微服务韧性,在开源和工业系统中验证了其有效性与实用价值。
摘要:
微服务韧性,即微服务从故障中恢复并继续提供可靠且响应迅速的服务的能力,对云供应商至关重要。然而,当前的做法依赖于针对特定微服务系统手动配置的规则,鉴于微服务的庞大规模和高动态性,这导致了劳动强度大和灵活性差的问题。因此,需要一种更省力且通用的解决方案。我们的洞察是,韧性部署能够有效防止性能退化从系统性能指标传播至用户感知指标,而后者直接影响服务质量。换言之,非韧性部署中的故障会影响这两类指标,从而导致用户不满。基于此,我们提出了 MicroRes,这是首个通过退化传播索引进行微服务通用韧性分析框架。MicroRes 首先向微服务注入故障并收集可用的监控指标。随后,它根据各指标对整体服务退化的贡献程度对指标进行排序。它通过退化从系统性能指标传播至用户感知指标的程度来生成韧性指数。退化传播程度越高,表明韧性越低。我们在两个开源微服务系统和一个工业微服务系统上对 MicroRes 进行了评估。实验表明,MicroRes 能够高效且有效地对微服务进行韧性分析。我们还展示了 MicroRes 在生产环境中的实际应用。
英文摘要:
Microservice resilience, the ability of microservices to recover from failures and continue providing reliable and responsive services, is crucial for cloud vendors. However, the current practice relies on manually configured rules specific to a certain microservice system, resulting in labor-intensity and flexibility issues, given the large scale and high dynamics of microservices. A more labor-efficient and versatile solution is desired. Our insight is that resilient deployment can effectively prevent the dissemination of degradation from system performance metrics to user-aware metrics, and the latter directly affects service quality. In other words, failures in a non-resilient deployment can impact both types of metrics, leading to user dissatisfaction. With this in mind, we propose MicroRes, the first versatile resilience profiling framework for microservices via degradation dissemination indexing. MicroRes first injects failures into microservices and collects available monitoring metrics. Then, it ranks the metrics according to their contributions to the overall service degradation. It produces a resilience index by how much the degradation is disseminated from system performance metrics to user-aware metrics. Higher degradation dissemination indicates lower resilience. We evaluate MicroRes on two open-source and one industrial microservice system. The experiments show MicroRes' efficient and effective resilience profiling of microservices. We also showcase MicroRes' practical usage in production.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。