A Goal-Based Adaptive Tracing Method for Detecting Performance Anomalies and Anti-Patterns in Distributed Systems
Year: 2025
Type: dissertation
Abstract: Modern distributed systems generate massive volumes of trace data, making performance di-agnosis costly, intrusive, and often inefficient. Traditional tracing approaches either capture excessive irrelevant information or miss critical events necessary for root cause analysis. This thesis proposes a goal-based adaptive tracing framework that selectively collects trace data aligned with specific diagnostic objectives, with a primary focus on detecting Software Performance Anti-patterns (SPAs)—recurring design and implementation flaws that de-grade system performance. The research begins with TraceLens, a lightweight anomaly detection method that uses ex-ecution critical path analysis to identify latency-contributing events with minimal overhead. Building on this, the work introduces an adaptive goal-based tracing method that leverages an SPA taxonomy to guide tracepoint activation, tracing scope, and workload selection. This approach enables a hierarchical, iterative localization of performance issues, progressively refining trace collection toward the likely root cause. Two main phases are explored: User-space level tracing, using statistical analysis to detect SPAs such as traffic jams, ramps, and single-user problems. Hybrid tracing, combining user-level and kernel-level data to capture more complex communication-related SPAs, including Blob and Excessive Service Tasks (EST). Machine learning and semi-supervised techniques are integrated to classify SPA-related anoma-lies with minimal manual labeling. Experimental validation on the DeathStarBench microser-vice benchmark shows that the proposed methods achieve high detection accuracy (up to 92%) while imposing as little as 2.7% overhead, making them suitable for deployment in CI/CD pipelines and production environments. This work contributes a modular, scalable, and cost-efficient performance diagnosis frame-work that can adapt to multiple goals, from SPA detection to resource monitoring and anomaly analysis, offering a practical path toward smarter and lighter observability in dis-tributed systems.
Author: Nourollahi, Masoumeh
Institution: Polytechnique Montréal
Language: English
Subfield: Computer Networks and Communications
Field: Computer Science
Domain: Physical Sciences
Open Access status: green
OpenAlex ID: W7131192080
