Canopy
Jonathan Kaldor, Jonathan Mace, Michał Bejda et al. · Symposium on Operating Systems Principles · 2017
This paper presents Canopy, Facebook's end-to-end performance tracing infrastructure. Canopy records causally related performance data across the end-to-end execution path of requests, including from browsers, mobile applications, and backend services. Canopy processes traces in near real-time, derives user-specified features, and outputs to performance datasets that aggregate across billions of requests. Using Canopy, Facebook engineers can query and analyze performance data in real-time. Canopy addresses three challenges we have encountered in scaling performance analysis: supporting the range of execution and performance models used by different components of the Facebook stack; supporting interactive ad-hoc analysis of performance data; and enabling deep customization by users, from sampling traces to extracting and visualizing features. Canopy currently records and processes over 1 billion traces per day. We discuss how Canopy has evolved to apply to a wide range of scenarios, and present case studies of its use in solving various performance challenges.
Cited by 144 works. doi:10.1145/3132747.3132749 Open-access PDF
Authors
- Jonathan Kaldor
- Jonathan Mace
- Michał Bejda
- Edison Gao
- Wiktor Kuropatwa
- Joe O'Neill
- Kian Win Ong
- Bill Schaller
- Pingjia Shan
- Brendan Viscomi
- Vinod Venkataraman
- Kaushik Veeraraghavan
- Yee Jiun Song
References
- The ganglia distributed monitoring system: design, implementation, and experience
- Hive - a petabyte scale data warehouse using Hadoop
- Detecting large-scale system problems by mining console logs
- Pinpoint: problem determination in large, dynamic Internet services
- Efficient fair queueing using deficit round robin
- Astrolabe
- Using magpie for request extraction and workload modelling
- X-trace: a pervasive network tracing framework
- Performance debugging for distributed systems of black boxes
- Path-based faliure and evolution management