Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Léo-Paul Géneau
gitlab-ce
Commits
e15c33fd
Commit
e15c33fd
authored
Feb 28, 2019
by
Michael Kozono
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't undermine the point with biased logic
I.e. Include cleanup in both sides of the comparison.
parent
f6453eca
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
6 deletions
+5
-6
doc/development/rolling_out_changes_using_feature_flags.md
doc/development/rolling_out_changes_using_feature_flags.md
+5
-6
No files found.
doc/development/rolling_out_changes_using_feature_flags.md
View file @
e15c33fd
...
@@ -65,15 +65,14 @@ the worst case scenario, which we should optimise for, our total cost is now 20.
...
@@ -65,15 +65,14 @@ the worst case scenario, which we should optimise for, our total cost is now 20.
If we had used a feature flag, things would have been very different. We don't
If we had used a feature flag, things would have been very different. We don't
need to revert a release, and because feature flags are disabled by default we
need to revert a release, and because feature flags are disabled by default we
don't need to revert and pick any Git commits. In fact, all we have to do is
don't need to revert and pick any Git commits. In fact, all we have to do is
disable the feature, and
_maybe_ perform some cleanup. Let's say that the cost
disable the feature, and
in the worst case, perform cleanup. Let's say that
of this is 1. In this case, our best case cost is 11: 10 to build the feature,
the cost of this is 2. In this case, our best case cost is 11: 10 to build the
and 1 to add the feature flag. The worst case cost is now 12: 10 to build the
feature, and 1 to add the feature flag. The worst case cost is now 13: 10 to
feature, 1 to add the feature flag, and 1 to disable it
.
build the feature, 1 to add the feature flag, and 2 to disable and clean up
.
Here we can see that in the best case scenario the work necessary is only a tiny
Here we can see that in the best case scenario the work necessary is only a tiny
bit more compared to not using a feature flag. Meanwhile, the process of
bit more compared to not using a feature flag. Meanwhile, the process of
reverting our changes has been made significantly cheaper, to the point of being
reverting our changes has been made significantly and reliably cheaper.
trivial.
In other words, feature flags do not slow down the development process. Instead,
In other words, feature flags do not slow down the development process. Instead,
they speed up the process as managing incidents now becomes _much_ easier. Once
they speed up the process as managing incidents now becomes _much_ easier. Once
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment