Sifter
Pedro Las-Casas, Giorgi Papakerashvili, Vaastav Anand et al. · ACM Symposium on Cloud Computing (SoCC) · 2019
Distributed tracing is a core component of cloud and datacenter systems, and provides visibility into their end-to-end runtime behavior. To reduce computational and storage overheads, most tracing frameworks do not keep all traces, but sample them uniformly at random. While effective at reducing overheads, uniform random sampling inevitably captures redundant, common-case execution traces, which are less useful for analysis and troubleshooting tasks. In this work we present Sifter, a general-purpose framework for biased trace sampling. Sifter captures qualitatively more diverse traces, by weighting sampling decisions towards edge-case code paths, infrequent request types, and anomalous events. Sifter does so by using the incoming stream of traces to build an unbiased low-dimensional model that approximates the system's common-case behavior. Sifter then biases sampling decisions towards traces that are poorly captured by this model. We have implemented Sifter, integrated it with several open-source tracing systems, and evaluate with traces from a range of open-source and production distributed systems. Our evaluation shows that Sifter effectively biases towards anomalous and outlier executions, is robust to noisy and heterogeneous traces, is efficient and scalable, and adapts to changes in workloads over time.
Cited by 42 works. doi:10.1145/3357223.3362736 Open-access PDF
Authors
References
- Time, clocks, and the ordering of events in a distributed system
- The Hadoop Distributed File System
- Resilient distributed datasets: a fault-tolerant abstraction for in-memory cluster computing
- A Neural Probabilistic Language Model
- Apache Hadoop YARN
- Detecting large-scale system problems by mining console logs
- Using magpie for request extraction and workload modelling
- X-trace: a pervasive network tracing framework
- Graph Kernels
- Path-based faliure and evolution management