Abstract
Modern enterprise networks are increasingly complex, often consisting of undocumented dependencies between applications and services. This paper introduces the Leslie Graph, an abstraction for mapping these dependencies using "black-box" traffic analysis. We present two systems, Constellation and AND, which leverage temporal correlations in network traffic to automatically discover dependencies, enabling efficient fault localization and network reconfiguration without requiring application-level instrumentation.
Introduction
As distributed systems grow in scale and complexity, they become increasingly opaque to the administrators who manage them. This challenge is best captured by Leslie Lamport’s observation: "A distributed system is one in which the failure of a computer you didn’t even know existed can render your own computer unusable." In modern enterprise environments, a routine task like opening a file may involve a dozen silent services, including DNS, Kerberos, and WINS. When failures occur, identifying the root cause is difficult because these dependencies are rarely documented and evolve constantly due to dynamic configurations and middleboxes.
The Leslie Graph Abstraction
To address this opacity, we propose the Leslie Graph, a directed graph where nodes represent services or hosts and edges represent dependencies. By treating network management as a graph traversal problem, administrators can systematically trace the impact of a failure across the infrastructure.
Discovery Methods: Constellation and AND
We explore two architectural approaches to inferring these dependencies by observing externally visible network behavior, avoiding the need to inspect encrypted packet contents.
- Constellation (Distributed & Reactive): This system builds the Leslie Graph on-demand. Each host utilizes machine learning models (such as Naive Bayes) to correlate "input" traffic patterns with "output" traffic. For instance, if a host consistently sends a DNS request immediately before a web request, a dependency is inferred.
- AND (Analysis of Network Dependencies - Centralized & Proactive): AND employs agents on every host to report traffic summaries to a central engine. It focuses on temporal correlation: events occurring within a tight time window (e.g., 100ms) are likely related.
A significant challenge in dependency discovery is caching. A client with a cached DNS entry will not show a dependency on the DNS server. AND overcomes this by aggregating data across many clients; while individual clients may hit their caches, a large population will inevitably produce enough cache misses to reveal the underlying dependency.
Evaluation and Results
The systems were evaluated using real-world enterprise traces, controlled testbeds, and simulated faults. Key findings include:
- Fault Localization: In a testbed with 160 potential failure points, the system correctly identified the problematic component in all test scenarios, often narrowing the suspects to the exact faulty node.
- Scalability and Efficiency: The centralized AND engine localized faults in a 160-node graph in just 200ms. For a network of 100,000 computers, the background traffic required to maintain the Leslie Graph is estimated at only 10 Mbps, a negligible load for modern backbones.
Conclusion
Black-box timing and frequency correlations provide a robust, non-intrusive method for mapping complex network dependencies. By aggregating "weak" signals from many hosts, systems like AND can construct accurate dependency maps that facilitate rapid fault localization and informed network management.
Summary updated