Faster And Safer Software Development With Feature Flags
November 26th, 2019
1 hr 1 min 28 secs
About this Episode
Any software project that is worked on or used by multiple people will inevitably reach a point where certain capabilities need to be turned on or off. In this episode Pete Hodgson shares his experience and insight into when, how, and why to use feature flags in your projects as a way to enable that practice. In addition to the simple on and off controls for certain logic paths, feature toggles also allow for more advanced patterns such as canary releases and A/B testing. This episode has something useful for anyone who works on software in any language.
- Hello and welcome to Podcast.__init__, the podcast about Python and the people who make it great.
- When you’re ready to launch your next app or want to try a project you hear about on the show, you’ll need somewhere to deploy it, so take a look at our friends over at Linode. With 200 Gbit/s private networking, scalable shared block storage, node balancers, and a 40 Gbit/s public network, all controlled by a brand new API you’ve got everything you need to scale up. And for your tasks that need fast computation, such as training machine learning models, they just launched dedicated CPU instances. Go to pythonpodcast.com/linode to get a $20 credit and launch a new server in under a minute. And don’t forget to thank them for their continued support of this show!
- You listen to this show to learn and stay up to date with the ways that Python is being used, including the latest in machine learning and data analysis. For even more opportunities to meet, listen, and learn from your peers you don’t want to miss out on this year’s conference season. We have partnered with organizations such as O’Reilly Media, Dataversity, Corinium Global Intelligence, Alluxio, and Data Council. Go to pythonpodcast.com/conferences to learn more about these and other events, and take advantage of our partner discounts to save money when you register today.
- Your host as usual is Tobias Macey and today I’m interviewing Pete Hodgson about the concept of feature flags and how they can benefit your development workflow
- How did you get introduced to Python?
- Can you start by describing what a feature flag is?
- What was your first experience with feature flags and how did it affect your approach to software development?
- What are some of the ways that feature flags are used?
- What are some antipatterns that you have seen for teams using feature flags?
- What are some of the alternative development practices that teams will employ to achieve the same or similar outcomes to what is possible with feature flags?
- Can you describe some of the different approaches to implementing feature flags in an application?
- What are some of the common pitfalls or edge cases that teams run into when building an in-house solution?
- What are some useful considerations when making a build vs. buy decision for a feature toggling service?
- What are some of the complexities that get introduced by feature flags for mantaining application code over the long run?
- What have you found to be useful or effective strategies for cataloging and documenting feature toggles in an application, particularly if they are long lived or for open source applications where there is no institutional context?
- Can you describe some of the lifecycle considerations for feature flags, and how the design, implementation, or use of them changes for short-lived vs long-lived use cases?
- What are some cases where the overhead of implementing and maintaining a feature flag infrastructure outweighs the potential benefit?
- What advice or references do you recommend for anyone who is interested in using feature flags for their own work?
Keep In Touch
- Accelerate by Nicole Forsgren, Jez Humble, and Gene Kim
- Thank you for listening! Don’t forget to check out our other show, the Data Engineering Podcast for the latest on modern data management.
- Visit the site to subscribe to the show, sign up for the mailing list, and read the show notes.
- If you’ve learned something or tried out a project from the show then tell us about it! Email firstname.lastname@example.org) with your story.
- To help other people find the show please leave a review on iTunes and tell your friends and co-workers
- Join the community in the new Zulip chat workspace at pythonpodcast.com/chat
- Feature Flag
- Pete’s Blog Post On Feature Flags
- Continuous Delivery
- Continuous Delivery Book
- Trunk Based Development
- Branch By Abstraction
- Technical Debt
- Strategy Pattern
The intro and outro music is from Requiem for a Fish The Freak Fandango Orchestra / CC BY-SA