What is a Dark Deployment?
Dark launching is the term for releasing features to a subset of your users, seeing how they respond, and making updates to your features accordingly. It’s somewhat like what every project manager does to monitor application health but focused entirely on a single new feature. In this modern age of continuous delivery and deployment, feature releases are happening more frequently than ever before. But at the same time, we need a way to maintain the quality in our applications despite this fast-paced release cycle.
The Benefits of a Dark Launch
A typical dark launch begins by wrapping a new feature in a feature toggle (or feature flag). Once the feature is pushed to production, the development team (or project manager, or even marketing team) can begin turning the new version on for users, starting with a small percentage like 1% or 5% and moving up to larger percentages if everything continues running smoothly.
During this process, end-user feedback is being gathered, either with direct methods like surveys or indirect methods like behavior tracking. If the team monitoring the feature notices that it’s causing trouble (users are converting less often, submitting more help tickets, spending less time on the page or in the app), they can turn off the feature flag with the click of a button and have their working application back.
The Drawbacks of Dark Launches
The central drawback of using feature flags for anything is that they can easily turn into technical debt. Unused feature flags can clutter up codebases, in the end making it more difficult, not less, to confidently release new features.
This is a solvable problem, however. Managing your technical debt from feature flags can be done by only wrapping a piece of new code in a feature flag if you’re sure you’ll need to turn it off and on, and by ensuring your feature flag lifecycle is visible so you remove unused feature flags after a certain period of inactivity.
Dark Release Launch vs. Canary Release
Dark launches and canary releases are fairly similar: both deal with releasing new features in the production environment to a subset of real users before releasing to everyone, and both decouple deployment from release. However, there are a few key differences.
For one, dark launches typically look directly at user response to features on the front end. They’ll be used to release a new option for a shopping cart on an e-commerce store. On the other hand, canary releases are more commonly used to test new features on the back-end. They’ll be used to transition slowly to a new infrastructure.
For another, dark launches are commonly released to a group of users that doesn’t know they’re being tested on and don’t have the new feature pointed out to them in any way: hence the “dark” in “dark launch”. On the other hand, users can sometimes opt-in to beta test canary releases.
Learn More about Dark Launches and Other Release Patterns
- How to A/B Test Every Feature Release (webinar recording)
- Achieve Continuous Deployment with Feature Flags
- The Difference Between A/B and Multivariate Testing
Switch It On With Split
The Split Feature Data Platform™ gives you the confidence to move fast without breaking things. Set up feature flags and safely deploy to production, controlling who sees which features and when. Connect every flag to contextual data, so you can know if your features are making things better or worse and act without hesitation. Effortlessly conduct feature experiments like A/B tests without slowing down. Whether you’re looking to increase your releases, to decrease your MTTR, or to ignite your dev team without burning them out–Split is both a feature management platform and partnership to revolutionize the way the work gets done. Schedule a demo to learn more.