SlideShare a Scribd company logo
Visual Studio Team Services
[-Peter]
Johannesburg
Basel
Vancouver
Testing in production with feature flags
testing
Testing in production with feature flags
aka.ms/vsar-launchdarkly
Testing in production with feature flags
Testing in production with feature flags
Init (user + hash)
getHashKey (token, vstsaccount)
hash
checkToken
getHashKey
return all user flags
ISSUE
VALUE test
if ( flag )
else
LaunchDarkly
VSTS Service
EndPoint
VSTS Extension
get flagquery flagON
OFF
SaaS Management
ISSUE
VALUE
if ( flag )
else
LaunchDarkly
VSTS Service
EndPoint
VSTS Extension
get flagquery flagON
OFF
SaaS Management
testing
ISSUE
VALUE
if ( flag )
else
ON
OFF
SaaS Management
LaunchDarkly
VSTS Service
EndPoint
VSTS Extension
get flag
Azure
Function
set flag
query flag
REST API calls
testing production
A|B testing production
Symbiosis production
FF FF
HYPOTHESIS - We believe that LaunchDarkly will … VALIDATED?
Integrate seamlessly into our VSTS extensions  Validated
Enable us to decouple deployment and exposure of extension features  Validated
Enable us to provide control down to individual user for ext. features  Validated
Enable us to make changes without deploying our extensions  Validated
Support the OSS community  Validated
Allow us to quickly switch off / revert an extension feature  Validated
Enable us to support early testing, feedback, and experimentation of
extension features
 Validated
aka.ms/vsar
@almrangers
@wpschaub
willys@microsoft.com
aka.ms/bh-ff-sos
aka.ms/vsar-launchdarkly
aka.ms/vsar-cicd-ff
Testing in production with feature flags

More Related Content

PPTX
Poster - DevOps Habits @ Microsoft
PPTX
Poster - DevOps Planning @ Microsoft
PPTX
[Vssummit] DevOps - Release Management VSTS
PPTX
Continuous Integration and Continuous Deployment in Enterprise scenario
PDF
CICD by Teerapat
PDF
How Vanguard Got to a CD-CD World by Craig Schwarzwald
PDF
Accelerating DevOps Collaboration with Sauce Labs and JIRA
PDF
How to Measure Success in Continuous Testing by Fernando Vidal and Amir Rozen...
Poster - DevOps Habits @ Microsoft
Poster - DevOps Planning @ Microsoft
[Vssummit] DevOps - Release Management VSTS
Continuous Integration and Continuous Deployment in Enterprise scenario
CICD by Teerapat
How Vanguard Got to a CD-CD World by Craig Schwarzwald
Accelerating DevOps Collaboration with Sauce Labs and JIRA
How to Measure Success in Continuous Testing by Fernando Vidal and Amir Rozen...

What's hot (20)

PDF
Rapid Agile Delivery: Stories from Stash on Shipping Product More Frequently
PDF
10 Deployments a day - A brief on extreme release protocols
PDF
Overview the Challenges and Limitations of Android App Automation with Espres...
PDF
DevOps with Visual studio Release Management (Pieter Gheysens)
PDF
Continuous Deployment Pipeline for Systems at Cascadia IT Conference - 2017-0...
PPTX
Don’t Settle for Old-school SCM: Fail Faster? How about Don’t Fail at All?
PDF
Práticas, Técnicas e Ferramentas para Continuous Delivery com ALM
PPTX
DevOps and Continuous Delivery with Visual Studio 2015 and VSTS
PPTX
DevOps and All the Continuouses w/ Helen Beal
PDF
The Push From Within - A Journey of Transformation at Walmart Labs by Claude ...
PDF
Automated Testing at The Speed of Headless by Alissa Lydon and Samantha Coffman
PDF
Continuous Integration - What even is it?
PPTX
Continuous Delivery with TFS msbuild msdeploy
PPTX
Qa in CI/CD
PPTX
How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & Cloud...
PDF
Continuous delivery in Qbon
PPTX
Microsoft app center
PPT
Continuous integration - main principles
PPTX
Introduction to Application insights
PDF
Top 8 mistakes developer teams make in their first serverless project
Rapid Agile Delivery: Stories from Stash on Shipping Product More Frequently
10 Deployments a day - A brief on extreme release protocols
Overview the Challenges and Limitations of Android App Automation with Espres...
DevOps with Visual studio Release Management (Pieter Gheysens)
Continuous Deployment Pipeline for Systems at Cascadia IT Conference - 2017-0...
Don’t Settle for Old-school SCM: Fail Faster? How about Don’t Fail at All?
Práticas, Técnicas e Ferramentas para Continuous Delivery com ALM
DevOps and Continuous Delivery with Visual Studio 2015 and VSTS
DevOps and All the Continuouses w/ Helen Beal
The Push From Within - A Journey of Transformation at Walmart Labs by Claude ...
Automated Testing at The Speed of Headless by Alissa Lydon and Samantha Coffman
Continuous Integration - What even is it?
Continuous Delivery with TFS msbuild msdeploy
Qa in CI/CD
How To Use Jenkins for Continuous Load and Mobile Testing with SOASTA & Cloud...
Continuous delivery in Qbon
Microsoft app center
Continuous integration - main principles
Introduction to Application insights
Top 8 mistakes developer teams make in their first serverless project
Ad

Similar to Testing in production with feature flags (20)

PPTX
vCenter Orchestrator APIs
PDF
From Web App Model Design to Production with Wakanda
PPTX
Le novità di Visual Studio Team Services
PPTX
Visual studio 2017 - Launch Event Keynote
PPTX
VS2017PI - Le novità di visual studio team services
PPTX
Azure from scratch part 4
PDF
ALM on the shoulders of Giants - Visual Studio Online
PDF
iOS build that scales
PDF
AWS reinvent 2019 - Transforming to feature-driven development
PPTX
Visual Studio 2015 - Lançamento está próximo
PPT
Webinar functional testing automation slideshare
PPTX
Full Testing Experience - Visual Studio and TFS 2010
PPT
Testing Ajax Web Applications
PDF
An Insight Into Cloud Migration Story
DOC
New features in qtp11
PDF
Continuous Delivery - Voxxed Days Thessaloniki 21.10.2016
DOC
New features in qtp11
DOC
Qtp 11 new enhacements in
PDF
Continuous Delivery - Devoxx Morocco 2016
PDF
How to Study for VMware 5V0-61.22 Certification Exam?
vCenter Orchestrator APIs
From Web App Model Design to Production with Wakanda
Le novità di Visual Studio Team Services
Visual studio 2017 - Launch Event Keynote
VS2017PI - Le novità di visual studio team services
Azure from scratch part 4
ALM on the shoulders of Giants - Visual Studio Online
iOS build that scales
AWS reinvent 2019 - Transforming to feature-driven development
Visual Studio 2015 - Lançamento está próximo
Webinar functional testing automation slideshare
Full Testing Experience - Visual Studio and TFS 2010
Testing Ajax Web Applications
An Insight Into Cloud Migration Story
New features in qtp11
Continuous Delivery - Voxxed Days Thessaloniki 21.10.2016
New features in qtp11
Qtp 11 new enhacements in
Continuous Delivery - Devoxx Morocco 2016
How to Study for VMware 5V0-61.22 Certification Exam?
Ad

Recently uploaded (20)

PDF
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
PPTX
ManageIQ - Sprint 268 Review - Slide Deck
PPTX
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
PPTX
Operating system designcfffgfgggggggvggggggggg
PDF
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
PDF
Upgrade and Innovation Strategies for SAP ERP Customers
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 41
PDF
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
PDF
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PDF
How to Migrate SBCGlobal Email to Yahoo Easily
PDF
Navsoft: AI-Powered Business Solutions & Custom Software Development
PDF
AI in Product Development-omnex systems
PPTX
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
PDF
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
PDF
Design an Analysis of Algorithms I-SECS-1021-03
PDF
medical staffing services at VALiNTRY
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
2025 Textile ERP Trends: SAP, Odoo & Oracle
SAP S4 Hana Brochure 3 (PTS SYSTEMS AND SOLUTIONS)
ManageIQ - Sprint 268 Review - Slide Deck
Agentic AI Use Case- Contract Lifecycle Management (CLM).pptx
Operating system designcfffgfgggggggvggggggggg
T3DD25 TYPO3 Content Blocks - Deep Dive by André Kraus
Upgrade and Innovation Strategies for SAP ERP Customers
Internet Downloader Manager (IDM) Crack 6.42 Build 41
Internet Downloader Manager (IDM) Crack 6.42 Build 42 Updates Latest 2025
Why TechBuilder is the Future of Pickup and Delivery App Development (1).pdf
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
How to Migrate SBCGlobal Email to Yahoo Easily
Navsoft: AI-Powered Business Solutions & Custom Software Development
AI in Product Development-omnex systems
Oracle E-Business Suite: A Comprehensive Guide for Modern Enterprises
Flood Susceptibility Mapping Using Image-Based 2D-CNN Deep Learnin. Overview ...
Design an Analysis of Algorithms I-SECS-1021-03
medical staffing services at VALiNTRY
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
2025 Textile ERP Trends: SAP, Odoo & Oracle

Testing in production with feature flags

Editor's Notes

  • #4: So, why did we embrace feature flags?
  • #5: They allow us to decouple deployment and exposure of FEATURES. They provide runtime control of FEATURES down to the individual user. They allow us to make FEATURE changes in production without reployment. They support early testing, feedback, and experimentation. And last but not least, they offer an emergency FEATURE power off switch.
  • #6: https://blogs.msdn.microsoft.com/bharry/2013/11/25/a-rough-patch/ But before you move all your software behind feature flags, please read Brian Harry’s blog post, titled “a rough patch”. We flipped feature flags globally just before a keynote. It did NOT go well. You’ll notice the initial outage and ripples in availability as we tried to recover. It was a bad user experience.
  • #7: For VSTS we’re using a custom feature flag solution. For VSTS extensions we looked at custom, open source, and service based feature flag solutions. We opted for LaunchDarkly as they offer a service, integrate with TFS and VSTS, and support the community space.
  • #8: Here’s a few examples of VSTS extensions used on our dashboard. As the name implies, they extend VSTS.
  • #10: ALL research and outcomes are shared on our team blog. We also shared JavaScript and Azure Function sample code on GitHub.
  • #11: Let’s look at three scenarios we evaluated as part of our research. When we have a hidden feature, we want to avoid a risky re-deployment. “It’s working, don’t touch it”. Using feature flags we can flip a switch to expose and TEST the feature.
  • #12: We enabled telemetry in all our VSTS extensions and flooded everyone’s mailbox and dashboards. To ensure we do not ignore telemetry as noise, we can use a feature flag to enable and disable telemetry as needed.
  • #13: Lastly, we often need detailed logs when troubleshooting an issue. With feature flags we can avoid another re-deployment AND we can give the user the control to enable and disable verbose logging.
  • #14: The result of our research demonstrated that feature flags enable: Granular feature releases and testing in production. Selected feature releases and A|B testing in production. Symbiosis with deployment rings in production. As shown, we’re deploying every release to Canary, Early Adopter, and end-users rings in production, using feature flags to fine tune features in each environment.
  • #15: We had seven (7) hypothesis, all of which we were able to validate.
  • #16: For more information, please refer to these links.
  • #17: Questions?