Diagnosing Distributed Systems with Self-propelled Instrumentation
Diagnosing Distributed Systems with Self-propelled Instrumentation
复制标题
使用自走式仪器诊断分布式系统
DOI:
--
复制
发表时间:
2008
期刊:
影响因子:
--
通讯作者:
B. Miller
中科院分区:
文献类型:
--
作者:
Alexander V. Mirgorodskiy;B. Miller
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.