Diffy: Data-Driven Bug Finding for Configurations
Open Access
- 20 June 2024
- journal article
- abstracts
- Published by Association for Computing Machinery (ACM) in Proceedings of the ACM on Programming Languages
- Vol. 8 (PLDI) , 199-222
Abstract
Configuration errors remain a major cause of system failures and service outages. One promising approach to identify configuration errors automatically is to learn common usage patterns (and anti-patterns) using data-driven methods. However, existing data-driven learning approaches analyze only simple configurations ( e.g. , those with no hierarchical structure), identify only simple types of issues ( e.g. , type errors), or require extensive domain-specific tuning. In this paper, we present D iffy , the first push-button configuration analyzer that detects likely bugs in structured configurations. From example configurations, D iffy learns a common template, with "holes" that capture their variation. It then applies unsupervised learning to identify anomalous template parameters as likely bugs. We evaluate D iffy on a large cloud provider’s wide-area network, an operational 5G network testbed, and MySQL configurations, demonstrating its versatility, performance, and accuracy. During D iffy ’s development, it caught and prevented a bug in a configuration timer value that had previously caused an outage for the cloud provider.Keywords
This publication has 34 references indexed in Scilit:
- Drain: An Online Log Parsing Approach with Fixed Depth Tree2017
- Experience Report: System Log Analysis for Anomaly Detection2016
- Profiling relational data: a surveyThe VLDB Journal, 2015
- Real-Time Verification of Network Properties Using Atomic PredicatesIEEE/ACM Transactions on Networking, 2015
- EnCore2014
- An empirical study on configuration errors in commercial and open source systems2011
- Debugging the data plane with anteaterACM SIGCOMM Computer Communication Review, 2011
- Automating string processing in spreadsheets using input-output examplesACM SIGPLAN Notices, 2011
- Minerals2006
- Identification of common molecular subsequencesJournal of Molecular Biology, 1981