论文标题

microres:通过降解传播索引在微服务中的多功能弹性分析

MicroRes: Versatile Resilience Profiling in Microservices via Degradation Dissemination Indexing

论文作者

Yang, Tianyi, Lee, Cheryl, Shen, Jiacheng, Su, Yuxin, Yang, Yongqiang, Lyu, Michael R.

论文摘要

微服务的弹性,微服务从失败中恢复并继续提供可靠且响应式服务的能力对云供应商至关重要。但是,当前的做法依赖于特定于某个微服务系统的手动配置规则,从而导致劳动强度和灵活性问题,鉴于微服务的大规模和高动力学。需要一种更有效和多功能的解决方案。我们的见解是,弹性部署可以有效防止从系统性能指标转换为用户感知指标的退化,而后者直接影响服务质量。换句话说,非弹性部署中的故障会影响两种类型的指标,从而导致用户不满意。考虑到这一点,我们提出了Microres,这是通过降解传播索引对微服务的第一个多功能弹性分析框架。 MIRSTRORES首先注入微服务失败,并收集可用的监视指标。然后,它会根据他们对整体服务退化的贡献进行排名。它通过从系统性能指标传播到用户意识指标的降解来产生弹性指数。较高的降解传播表明较低的弹性。我们在两个开源和一个工业微服务系统上评估了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.

扫码加入交流群

加入微信交流群

微信交流群二维码

扫码加入学术交流群,获取更多资源