Refactoring with Statsd, Toggle and Scientist

30 minutes

Intermediate

English 

How we use https://metacpan.org/pod/Toggle, https://metacpan.org/pod/Net::Statsd and https://metacpan.org/pod/Scientist 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 ]