MiSeRTrace:用于微服务可见性的内核级请求跟踪
MiSeRTrace: Kernel-level Request Tracing for Microservice Visibility
摘要:
随着微服务应用程序的发展,底层架构与其单体对应物相比变得越来越复杂。这主要带来了可观察性的挑战。通过提供对分布式应用程序功能的更深入理解,可观察性可以通过获得实现中瓶颈的视图来提高系统的性能。由当前现有的工具提供的可观察性,对分布式应用程序执行动态跟踪仅限于用户空间,并要求应用程序被仪表化以跟踪请求流。在本文中,我们提出了一个新的开源框架MiSeRTrace,它可以在内核空间跟踪进入微服务应用程序的请求的端到端路径,而无需对应用程序进行插装或修改。内核空间的全面性的可观察性允许分解活动中的各个步骤,例如网络传输和IO任务,从而实现基于根本原因的性能分析和准确识别热点。MiSeRTrace支持跟踪由bpftrace或ftrace等框架提供的用户启用的内核事件,并以最小的开销隔离与每个应用程序请求相关的内核活动。然后,我们展示了解决方案的工作与基准微服务应用程序的结果。
英文摘要:
With the evolution of microservice applications, the underlying architectures have become increasingly complex compared to their monolith counterparts. This mainly brings in the challenge of observability. By providing a deeper understanding into the functioning of distributed applications, observability enables improving the performance of the system by obtaining a view of the bottlenecks in the implementation. The observability provided by currently existing tools that perform dynamic tracing on distributed applications is limited to the user-space and requires the application to be instrumented to track request flows. In this paper, we present a new open-source framework MiSeRTrace that can trace the end-to-end path of requests entering a microservice application at the kernel space without requiring instrumentation or modification of the application. Observability at the comprehensiveness of the kernel space allows breaking down of various steps in activities such as network transfers and IO tasks, thus enabling root cause based performance analysis and accurate identification of hotspots. MiSeRTrace supports tracing user-enabled kernel events provided by frameworks such as bpftrace or ftrace and isolates kernel activity associated with each application request with minimal overheads. We then demonstrate the working of the solution with results on a benchmark microservice application.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。