arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1709.06686cs.DC
收藏

Sieve:微服务中的可操作洞察

Sieve: Actionable Insights from Monitored Metrics in Microservices

Jörg Thalheim, Antonio Rodrigues, Istemi Ekin Akkus, Pramod Bhatotia, Ruichuan Chen, Bimal Viswanath, Lei Jiao, Christof Fetzer

摘要:

主要的云计算运营商提供强大的监控工具来了解部署在其基础设施中的分布式系统的当前(和先前)状态。虽然这些工具提供了详细的大规模监控机制,但它们也对应用程序开发人员/运营商提出了重大挑战,以将巨大的监控指标空间转化为有用的见解。这些见解对于构建有效的管理工具以提高分布式系统的效率、弹性和可靠性至关重要。本文报告了我们构建和部署Sieve的经验-一个从分布式系统中的监控指标中获得可操作见解的平台。Sieve构建在两个核心组件之上:一个度量缩减框架和一个度量依赖提取器。更具体地说,Sieve首先通过随时间观察它们的信号来自动过滤掉不重要的指标,从而降低指标的维度。之后,Sieve通过Granger因果关系测试,使用预测因果关系模型推断系统的分布式组件之间的度量依赖关系。我们将Sieve实现为一个通用平台,并将其部署到两个基于微服务的分布式系统:OpenStack和ShareLatex。我们的经验表明,(1)Sieve可以将度量的数量减少至少一个数量级(10 - 100 $\times$),同时保持与所监视度量的总数的统计等效性;(2)Sieve可以通过减少整个系统堆栈上的相关开销来显著改善现有的监控基础设施(CPU -80%,存储-90%,网络- 50%);(3)最后,Sieve可以有效地支持分布式系统中的各种工作流-我们展示了两个这样的工作流:自动缩放的编排和根本原因分析(RCA)。

英文摘要:

Major cloud computing operators provide powerful monitoring tools to understand the current (and prior) state of the distributed systems deployed in their infrastructure. While such tools provide a detailed monitoring mechanism at scale, they also pose a significant challenge for the application developers/operators to transform the huge space of monitored metrics into useful insights. These insights are essential to build effective management tools for improving the efficiency, resiliency, and dependability of distributed systems. This paper reports on our experience with building and deploying Sieve - a platform to derive actionable insights from monitored metrics in distributed systems. Sieve builds on two core components: a metrics reduction framework, and a metrics dependency extractor. More specifically, Sieve first reduces the dimensionality of metrics by automatically filtering out unimportant metrics by observing their signal over time. Afterwards, Sieve infers metrics dependencies between distributed components of the system using a predictive-causality model by testing for Granger Causality. We implemented Sieve as a generic platform and deployed it for two microservices-based distributed systems: OpenStack and ShareLatex. Our experience shows that (1) Sieve can reduce the number of metrics by at least an order of magnitude (10 - 100$\times$), while preserving the statistical equivalence to the total number of monitored metrics; (2) Sieve can dramatically improve existing monitoring infrastructures by reducing the associated overheads over the entire system stack (CPU - 80%, storage - 90%, and network - 50%); (3) Lastly, Sieve can be effective to support a wide-range of workflows in distributed systems - we showcase two such workflows: orchestration of autoscaling, and Root Cause Analysis (RCA).

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑