Refactoring with Statsd, Toggle and Scientist

30 minutes



How we use, and to refactor our legacy Perl5 codebase.

Working on a 15 year old codebase, we find many "here be dragons" parts of the system.

This talk describes how we have over the past 3 years or so developed some tools and methodologies for tackling "scary" code.

We use feature toggles to turn new code on and off by percentages or groups of users. StatsD lets us track performance elements such as timings and counters of events. Scientist lets us test new code directly against new and confirm both results and timings. 

[ Talk ]