Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Hanoi. A python library for Feature toggles

212 views

Published on

Hanoi. A python library for Feature toggles #TEFConf2016

Published in: Software
  • Be the first to comment

  • Be the first to like this

Hanoi. A python library for Feature toggles

  1. 1. _HANOI A PYTHON LIBRARY FOR FEATURE TOGGLING @JUANDEBRAVO #TEFCONF2016
  2. 2. WHAT IS THIS ABOUT? “ENABLE FUNCTIONALITIES TO A SUBSET OF USERS”
  3. 3. WHAT IS THIS ABOUT? • A/B TESTING • FEATURE TOGGLES • CONTROLLED ROLLOUT
  4. 4. A/B TESTING
  5. 5. A/B TESTING • DEFINE THE HYPOTHESIS • WHICH USERS WILL BE PART OF THE EXPERIMENT? • HOW WILL YOU MEASURE? • FOR HOW LONG DO YOU NEED TO RUN THE EXPERIMENT? QUESTIONS BEFORE YOU START
  6. 6. FEATURE TOGGLES
  7. 7. FEATURE TOGGLES • DO YOU NEED IT? • DO YOU KNOW THAT A FEATURE TOGGLE COULD BE CONSIDERED TECHNICAL DEBT? (HTTPS://DZONE.COM/ARTICLES/FEATURE- TOGGLES-ARE-ONE-WORST) • IT INCREASES TESTING MATRIX QUESTIONS BEFORE YOU START
  8. 8. CONTROLLED ROLLOUT
  9. 9. CONTROLLED ROLLOUT • DEPLOY TWO VERSIONS IN PARALLEL • HOW TO ROUTE TRAFFIC TO THE RELEVANT BRANCH • ENSURE EVERY USER IS HANDLED IN ONE BRANCH ONLY QUESTIONS BEFORE YOU START
  10. 10. HANOI • “PYTHON LIBRARY TO TOGGLE ON/OFF FEATURES USING A BACKEND AS DATA STORE” • WHY THIS FUNCTIONALITY? PORT OF ROLLOUT GEM (RUBY) BY JAMES GOLICK (R.I.P.) • HTTPS://GITHUB.COM/JUANDEBRAVO/HANOI • 5 STARS (THANKS EDU AND GUIDO!) • 3 PYTHON INTERPRETERS (2.X, 3.X, PYPY) • 4 RELEASES • 2 WATCHERS
  11. 11. HANOI
  12. 12. HANOI
  13. 13. HANOI

×