Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Advanced Feature Flagging: It's All About The Data (GOTO Chicago 2020)

Advanced Feature Flagging: It's All About The Data (GOTO Chicago 2020)

Feature flags deliver the control needed to decouple deploy from release but can break traditional monitoring and KPIs. The good news is that teams are using them to "kill the release night" by moving from big-bang releases to gradual releases during normal business hours. The bad news is that gradual release techniques add challenges to traditional ways of monitoring system health and user behavior. No one wants to move faster if that means less visibility and thus greater risk.

We'll look at advanced implementation techniques that marry the precision control of feature flags with automated ingest of data and statistical computation of KPIs. This allows teams to proactively identify system performance and user behavior differences between the status quo and new code. Advanced feature flagging implementations “build-in” observability to every release. When you push a feature to 5% of users, it becomes trivial to see how user and system behavior varies for those users vs. the other 95%. Teams further along this journey auto-calculate “do-no-harm" metrics, so it’s easy to detect unintended consequences of their work before ramping up to all users.

You’ll leave this session with a clear vision of how your team can achieve the same benefits, by either enhancing your in-house solution or adopting a commercial tool.

Dave Karow

April 27, 2020
Tweet

More Decks by Dave Karow

Other Decks in Programming

Transcript

  1. FEATURE FLAG REVIEW A quick review of feature flags and

    rollout strategies 01 02 HOW YOU MEASURE MATTERS Don’t believe everything you see 03 FLAGS + DATA = EXPERIMENTATION Attribution, calculation and analysis, automatic 24x7
  2. SPEED How quickly can we reach a decision? ROLLOUT FRAMEWORK

    QUALITY How confident can we be of that decision? RISK How can we minimize bad outcomes? CREDIT SQR: Balancing Speed, Quality and Risk in Online Experiments Ya Xu, et.al
  3. PHASES OF ROLLOUT DEPLOY Code deployed, no exposure ERROR MITIGATION

    1-50% Ramp Identify bugs/crashes MEASURE Maximum Power Ramp Understand impact
  4. PHASES OF ROLLOUT DEPLOY Code deployed, no exposure ERROR MITIGATION

    1-50% Ramp Identify bugs/crashes MEASURE Maximum Power Ramp Understand impact SCALE MITIGATION 50-100% Ramp Identify scaling issues RELEASE Complete rollout
  5. DON’T BELIEVE EVERYTHING YOU SEE... “Can’t we just change things

    and monitor what happens?” New Release Metrics Change
  6. Both ice cream sales and shark attacks increase when the

    weather is hot and sunny, but they are not caused by each other They are both caused by good weather, with lots of people at the beach, both eating ice cream and swimming in the sea CORRELATION IS NOT CAUSATION
  7. DON’T BELIEVE EVERYTHING YOU SEE... “Can’t we just change things

    and monitor what happens?” New Release Metrics Change
  8. DON’T BELIEVE EVERYTHING YOU SEE... • Product changes • Marketing

    campaigns • Global Pandemics • Nice Weather New Release Metrics Change Everything else in the world
  9. AD-HOC ANALYSIS TAGGING METRICS EXPERIMENTATION PLATFORM Homegrown or SaaS offerings

    provide both data collection and statistical analysis Storing feature attribution in BI database for querying Most dashboarding tools allow tagging of data for segmentation
  10. STATISTICAL ENGINE TELEMETRY SYSTEM TARGETING SYSTEM ANATOMY OF AN EXPERIMENTATION

    PLATFORM MANAGEMENT CONSOLE CREDIT Understanding Experimentation Platforms [Aijaz, Stuart, Jewkes]
  11. Centralize tracking across tools Ensure reliable delivery Identify and exclude

    malicious traffic TELEMETRY SYSTEM Receive batches of events Store in warehouse for processing WRAPPER SERVICE track (String key, String eventType, double value)
  12. EVERY FEATURE IS AN EXPERIMENT Targeted feature rollout allows for

    rapid A/B tests and customer insights. KILL THE RELEASE NIGHT Decoupling deployment from release make release rituals go away. AUTOMATE DELIVERY WITH DATA Independent feature rollouts are orchestrated by data, not people.
  13. CREDITS: This presentation template was created by Slidesgo, including icons

    by Flaticon, and infographics & images by Freepik THANKS! Let’s move to discussion! linkedin.com/in/davekarow [email protected] @davekarow