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

在分布式系统中改造服务依赖发现

Retrofitting Service Dependency Discovery in Distributed Systems

Utrecht University(乌得勒支大学)

Diogo Landau, Gijs Blanken, Jorge Barbosa, Nishant Saurabh

AI总结:

本文提出XXXX运行时系统,无需源码插桩即可在含NAT的复杂网络下构建进程级服务依赖图,经九种场景评估,性能与最先进技术相当或更优,多数场景精确率和召回率达100%。

摘要:

现代分布式系统依赖于由相互连接的服务构成的复杂网络,这些服务之间存在着直接或间接的依赖关系,这种依赖关系可能传播故障并导致级联失败。为了在这些环境中定位性能下降的根本原因,构建服务依赖图是非常有益的。然而,构建准确的服务依赖图受到复杂路由技术(如网络地址转换(NAT))的阻碍,NAT是跨网络连接服务的关键机制。NAT模糊了运行服务的实际主机,导致现有的被动观察网络元数据的运行时方法无法准确推断服务依赖关系。为此,本文介绍了XXXX,一种用于构建进程级服务依赖图的新型运行时系统。该系统无需源代码插桩即可运行,并且在包括NAT在内的复杂网络路由机制下保持稳健。XXXX实现了一种非侵入性的方法,将元数据注入TCP报文头部,从而在主机边界之间保持协议正确性。换句话说,如果没有接收代理存在,该插桩不会影响现有的TCP连接,确保在部分部署于主机之间时实现非侵入性操作。我们针对三个最先进的系统,在九种场景下对XXXX进行了广泛评估,这些场景涉及三种网络配置(无NAT、内部NAT、外部NAT)和三个微服务基准。XXXX是唯一在所有网络配置下表现一致的方案。在正确性方面,其性能与最先进技术相当或更优,在大多数场景中精确率和召回率均达到100%。

英文摘要:

Modern distributed systems rely on complex networks of interconnected services, creating direct or indirect dependencies that can propagate faults and cause cascading failures. To localize the root cause of performance degradation in these environments, constructing a service dependency graph is highly beneficial. However, building an accurate service dependency graph is impaired by complex routing techniques, such as Network Address Translation (NAT), an essential mechanism for connecting services across networks. NAT obfuscates the actual hosts running the services, causing existing run-time approaches that passively observe network metadata to fail in accurately inferring service dependencies. To this end, this paper introduces Ripple, a run-time system for constructing process-level service dependency graphs. It operates without source code instrumentation and remains resilient under complex network routing mechanisms, including NAT. Ripple implements a non-disruptive method of injecting metadata onto a TCP packet's header that maintains protocol correctness across host boundaries. In other words, if no receiving agent is present, the instrumentation leaves existing TCP connections unaffected, ensuring non-disruptive operation when it is partially deployed across hosts. We evaluated Ripple extensively against three state-of-the-art systems across nine scenarios, involving three network configurations (NAT-free, internal-NAT, external-NAT) and three microservice benchmarks. Ripple was the only approach that performed consistently across networking configurations. With regards to correctness, it performed on par with, or better than, the state-of-the-art with precision and recall values of 100% in the majority of the scenarios.

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

↑