Automating Network Application Dependency Discovery: Experiences, Limitations, and New Solutions

Z. Morley Mao (茅斫青), Xu Chen, Ming Zhang, Zhuoqing Morley Mao, Paramvir BahlOsdi 2008

Introduction

Modern enterprise networks support thousands of Line-of-Business (LOB) applications, creating a complex web of dependencies. A single user action—for instance, a SharePoint request—might involve a cascade of service calls including DNS resolution, Active Directory authentication, and multiple SQL database queries. The lack of formal documentation for these dependencies complicates fault localization and increases the risk of unintended consequences during infrastructure changes. Previous automated discovery tools relied on simple co-occurrence, which often fails in high-traffic environments where unrelated events frequently happen simultaneously, leading to excessive false positives.

The Orion System

Orion addresses these challenges using a "black-box" approach that remains agnostic to application internals and proprietary protocols. The system operates through several key stages:

  1. Flow Generation: Raw packets are aggregated into flows based on IP/TCP/UDP headers and timing.
  2. Delay Distribution Analysis: Orion assumes that a dependency between Service A and Service B manifests as a "typical" delay representing processing time. It constructs histograms of these delays to identify consistent patterns.
  3. Signal Processing: To distinguish true dependency spikes from random network noise, Orion treats the delay histogram as a signal, applying Fast Fourier Transforms (FFT) and low-pass filtering to smooth the data.
  4. Statistical Thresholding: Spikes that significantly exceed the mean (mean + $k \times$ standard deviation) are identified as potential dependencies.
Figure 1: Comparison of delay distributions for dependent and independent service pairs. The dependent distribution (left) shows a characteristic spike representing the typical processing delay, which becomes clearer after signal processing.

Experimental Evaluation

Orion was evaluated in a production environment within Microsoft’s corporate network, monitoring traffic from 2,048 clients and several production servers. The system's findings were validated against ground-truth documentation for five major applications: Office Communications (OC), Exchange, SharePoint, Distributed File System (DFS), and Source Depot (SD).

Key Results

  • Superior Accuracy: Orion produced 10–95% fewer false positives than Sherlock and 94–99% fewer than eXpose, the leading tools at the time.
  • Search Space Reduction: The system narrowed the set of potential dependencies by a factor of 50 to 40,000, making manual validation feasible for administrators.
  • Efficiency: Orion is lightweight, typically consuming only 1% of CPU and 11MB of RAM on monitored hosts. Extraction of dependencies takes less than two minutes once sufficient data is collected.

Discussion and Limitations

The core innovation of Orion is the realization that timing-based causality is a much stronger indicator of dependency than mere co-occurrence. This approach allows the system to work with encrypted traffic (e.g., IPSec) where deep packet inspection is impossible.

However, Orion has limitations. It requires a "warm-up" period (2 to 9 days in tests) to gather enough statistical samples, making it unsuitable for discovering dependencies of transient or rarely used applications. Furthermore, highly dynamic Peer-to-Peer (P2P) architectures and applications with highly variable internal processing times remain challenging for this methodology.

Conclusion

Orion provides a scalable and accurate solution for automated dependency discovery in complex enterprise networks. By leveraging delay distribution analysis and signal processing, it offers a robust alternative to traditional co-occurrence methods, significantly improving the ability of IT administrators to manage and troubleshoot modern network infrastructures.

Summary updated

BibTeX
@inproceedings{2008automating,
  author = {Z. Morley Mao (茅斫青) and Xu Chen and Ming Zhang and Zhuoqing Morley Mao and Paramvir Bahl},
  title = {{Automating Network Application Dependency Discovery: Experiences, Limitations, and New Solutions}},
  booktitle = {Osdi},
  year = {2008},
}
Figure