Feature Toggle Dynamics in Large-Scale Systems: Prevalence, Growth, Lifespan, and Benchmarking
Xhevahire T\"ernava

TL;DR
This study analyzes the evolution and management of feature toggles in large-scale systems, revealing their growth, lifespan disparities, and proposing a benchmarking framework for better toggle lifecycle management.
Contribution
It provides the first longitudinal analysis of toggle dynamics across organizations and introduces a benchmarking framework with empirical thresholds for toggle management.
Findings
Toggle removals lag behind additions by 13-35%.
Median toggle lifespan is 185 days in GitLab and 734 days in Kubernetes.
A small percentage of toggles become effectively permanent.
Abstract
Feature toggles enable gradual rollouts and experimentation in software systems, yet often persist beyond their intended lifecycle, accumulating as technical debt. Prior research has examined feature toggle interactions and complexity, but no longitudinal study has quantified how toggles evolve over time across different organizational contexts. We analyse over 4,000 toggle events in Kubernetes (10 MLoC, 8.5 years) and GitLab (5 MLoC, 5 years). We find that feature toggle removals lags behind additions in both systems (by roughly 35% and 13%, respectively), leading to growing toggle inventories. Their lifespan patterns also differ notably, with Kubernetes toggles lasting a median of 734 days versus 185 in GitLab. Then, some feature toggles (1.33% and 0.73%, respectively) exceed all previously observed removal durations, becoming de facto permanent. Building on these findings, we propose…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
