Diagnosing Distributed Systems with Self-propelled Instrumentation

  • Authors:
  • Alexander V. Mirgorodskiy;Barton P. Miller

  • Affiliations:
  • VMware, Inc., ;Computer Sciences Dept, University of Wisconsin,

  • Venue:
  • Middleware '08 Proceedings of the ACM/IFIP/USENIX 9th International Middleware Conference
  • Year:
  • 2008

Quantified Score

Hi-index 0.00

Visualization

Abstract

We present a three-part approach for diagnosing bugs and performance problems in production distributed environments. First, we introduce a novel execution monitoring technique that dynamically injects a fragment of code, the agent, into an application process on demand. The agent inserts instrumentation ahead of the control flow within the process and propagates into other processes, following communication events, crossing host boundaries, and collecting a distributed function-level trace of the execution. Second, we present an algorithm that separates the trace into user-meaningful activities called flows. This step simplifies manual examination and enables automated analysis of the trace. Finally, we describe our automated root cause analysis technique that compares the flows to help the analyst locate an anomalous flow and identify a function in that flow that is a likely cause of the anomaly. We demonstrate the effectiveness of our techniques by diagnosing two complex problems in the Condor distributed scheduling system.