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

云原生微服务应用中知情且可评估的可观测性设计决策

Informed and Assessable Observability Design Decisions in Cloud-native Microservice Applications

Maria C. Borges, Joshua Bauer, Sebastian Werner, Michael Gebauer, Stefan Tai

AI总结:

本文提出系统化的故障可观测性实验方法与工具 OXN,通过建模设计决策、量化指标、注入故障并调整配置,帮助评估云原生微服务可观测性方案的权衡。

摘要:

可观测性对于确保微服务应用的可靠性十分重要。由于这类应用包含许多部署在异构环境中的独立服务,因此往往容易发生故障。如果“正确”运用,可观测性能够帮助开发人员快速识别并排查故障。然而,对微服务应用进行可观测性插桩和配置并非易事,它依赖工具并且与成本相关。架构师需要理解与可观测性有关的权衡,以便在不同的可观测性设计备选方案之间进行权衡。尽管如此,这些架构设计决策仍缺乏系统化方法的支持,通常只依赖“专业直觉”。在本文中,我们主张采用一种系统化方法,以作出知情且可持续评估的可观测性设计决策。具体而言,我们关注云原生微服务应用的故障可观测性,并将其转化为一种可测试、可量化的属性。为实现目标,我们首先对云原生技术栈中可观测性设计决策的规模和范围进行建模。随后,我们提出可观测性指标,这些指标可通过所谓的可观测性实验为任意微服务应用确定。我们展示了实验工具 OXN 的概念验证实现。OXN 能够类似于混沌工程那样向应用中注入任意故障,同时还具备修改可观测性配置的独特能力,从而能够评估以往未被探究的设计决策。我们使用一个流行的开源微服务应用演示了该方法,并展示了不同可观测性设计决策所涉及的权衡。

英文摘要:

Observability is important to ensure the reliability of microservice applications. These applications are often prone to failures, since they have many independent services deployed on heterogeneous environments. When employed "correctly", observability can help developers identify and troubleshoot faults quickly. However, instrumenting and configuring the observability of a microservice application is not trivial but tool-dependent and tied to costs. Architects need to understand observability-related trade-offs in order to weigh between different observability design alternatives. Still, these architectural design decisions are not supported by systematic methods and typically just rely on "professional intuition". In this paper, we argue for a systematic method to arrive at informed and continuously assessable observability design decisions. Specifically, we focus on fault observability of cloud-native microservice applications, and turn this into a testable and quantifiable property. Towards our goal, we first model the scale and scope of observability design decisions across the cloud-native stack. Then, we propose observability metrics which can be determined for any microservice application through so-called observability experiments. We present a proof-of-concept implementation of our experiment tool OXN. OXN is able to inject arbitrary faults into an application, similar to Chaos Engineering, but also possesses the unique capability to modify the observability configuration, allowing for the assessment of design decisions that were previously left unexplored. We demonstrate our approach using a popular open source microservice application and show the trade-offs involved in different observability design decisions.

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

↑