aboutsummaryrefslogtreecommitdiff
path: root/locale/pt/LC_MESSAGES/_slides/2020-10-19-rollout-feature-flag-experiment-operational-toggle.slides.po
blob: 6bb199e1821d92f51143e5e9781ec9071b2b7544 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
#
msgid ""
msgstr ""

msgid ""
"title: Rollout, feature flag, experiment, operational toggle\n"
"date: 2020-10-19\n"
"layout: slides\n"
"lang: en\n"
"ref: rollout-feature-flag-experiment-operational-toggle"
msgstr ""

msgid "Rollout, feature flag, experiment, operational toggle"
msgstr ""

msgid "Different use cases for **backend**, **frontend** and **mobile**"
msgstr ""

msgid ""
"\"Feature flags\" tend to come up when talking about **continuous "
"deployment**"
msgstr ""

msgid "???"
msgstr ""

msgid "I'm using \"quotes\" because I'm mixing up different meanings of \"rollout\""
msgstr ""

msgid "CI"
msgstr ""

msgid "continuous integration"
msgstr ""

msgid "CD"
msgstr ""

msgid "continuous delivery"
msgstr ""

msgid "**continuous deployment**"
msgstr ""

msgid "Background: build vocabulary, why are feature flags related to CD"
msgstr ""

msgid "CI solves: manual integration of long-lived branches"
msgstr ""

msgid "CD solves: automation of deployment process"
msgstr ""

msgid "CD solves: releases as frequent as possible"
msgstr ""

msgid "That's where the \"GoCD\" name comes from"
msgstr ""

msgid "Types:"
msgstr ""

msgid "rollout"
msgstr ""

msgid "feature flag"
msgstr ""

msgid "experiment"
msgstr ""

msgid "operational toggle"
msgstr ""

msgid "For *rolling out* a new version of software"
msgstr ""

msgid "**Short-lived** using **percentages**"
msgstr ""

msgid ""
"a [new deployment of "
"k8s](https://kubernetes.io/docs/concepts/workloads/controllers/deployment/#creating-"
"a-deployment)"
msgstr ""

msgid ""
"new [APK released to the Play "
"Store](https://support.google.com/googleplay/android-"
"developer/answer/6346149?hl=en)"
msgstr ""

msgid "Relevant as long as the new code is deployed"
msgstr ""

msgid "For turning a feature *on* or *off*"
msgstr ""

msgid ""
"**Medium-lived** using **allow list**, **A/B test**, **percentage**, **app "
"version**, *etc*."
msgstr ""

msgid "`:new-chargeback-flow`"
msgstr ""

msgid "`:new-debit-card-activation-screen`"
msgstr ""

msgid "Relevant as long as the new code is being developed"
msgstr ""

msgid "For analyzing behaviour"
msgstr ""

msgid "**Medium-lived** using **allow list** and **A/B test**"
msgstr ""

msgid "`:debit-withdrawal-test`"
msgstr ""

msgid "For disabling features in `#crash`-like situations"
msgstr ""

msgid "**Long-lived** using **percentage**"
msgstr ""

msgid "`:bank-barcode-payment`"
msgstr ""

msgid "`:savings-bank-barcode-query-provider`"
msgstr ""

msgid "Lives for as long as the code is in production."
msgstr ""

msgid "It feels like a system-level circuit breaker."
msgstr ""

msgid "We now know about the types"
msgstr ""

msgid ""
"But they have different relevance for **backend**, **frontend** and "
"**mobile**"
msgstr ""

msgid "backend"
msgstr ""

msgid "**rollout**: k8s blue/green, canary and `common-rollout`"
msgstr ""

msgid "**feature flag**: `common-rollout` and datasets"
msgstr ""

msgid "**experiment**: `common-xp`"
msgstr ""

msgid "**operational toggle**: `common-rollout`"
msgstr ""

msgid ""
"This is a bit why common-rollout isn't called *common-feature-flag*: it was "
"initially designed with backend usage of mostly *rollouts* in mind, and just"
" a bit *feature flags*."
msgstr ""

msgid ""
"Avoid using configuration for doing operational toggles: it is less dynamic,"
" so it defeats the purpose."
msgstr ""

msgid "frontend"
msgstr ""

msgid "**rollout**: CDN and page refreshes"
msgstr ""

msgid ""
"**feature flag**: percentages and maybe IPs (no `:customer/id` on the "
"website)"
msgstr ""

msgid "**experiment**: via dynamic backend control"
msgstr ""

msgid "**operational toggle**: via dynamic backend control"
msgstr ""

msgid "mobile"
msgstr ""

msgid "**rollout**: app stores"
msgstr ""

msgid "**feature flag**: via dynamic backend control"
msgstr ""

msgid "Key differentiator is"
msgstr ""

msgid "How much **control** we have over the **environment**"
msgstr ""

msgid "**backend**"
msgstr ""

msgid "Full control"
msgstr ""

msgid "🎉"
msgstr ""

msgid "Can edit, update and even delete rollouts as desired."
msgstr ""

msgid "Mix and match at will!"
msgstr ""

msgid "**frontend**"
msgstr ""

msgid "Partial control"
msgstr ""

msgid "When choose when to make a new version available"
msgstr ""

msgid ""
"We can control when a new version is available, partially when someone will "
"upgrade it."
msgstr ""

msgid "But it is easy to fallback to \"reload the page and try again\"."
msgstr ""

msgid "**mobile**"
msgstr ""

msgid "Very limited control"
msgstr ""

msgid "app stores can restrict updates (worse for iOS)"
msgstr ""

msgid "customers still have to download new versions"
msgstr ""

msgid "Costs"
msgstr ""

msgid "more complex code"
msgstr ""

msgid "compatibility with old app versions"
msgstr ""

msgid "nesting is exponential"
msgstr ""

msgid "Benefits"
msgstr ""

msgid "dynamicity"
msgstr ""

msgid "Best practices"
msgstr ""

msgid "Dynamic content > feature flag"
msgstr ""

msgid "Always true for **mobile**, almost always for **frontend**"
msgstr ""

msgid "Use `:include-list` for named groups"
msgstr ""

msgid "Always true for **backend**, **frontend** and **mobile**"
msgstr ""

msgid "{% raw %}"
msgstr ""

msgid ""
"{:rules\n"
" #{{:type    :include-list\n"
"    :content {:filename \"debit-team-members.txt\"}}}}\n"
msgstr ""

msgid "{% endraw %}"
msgstr ""

msgid "Always use `:app-version`"
msgstr ""

msgid "only for **mobile**"
msgstr ""

msgid ""
"{:rules\n"
" #{{:type    :app-version\n"
"    :content {:min-version #{{:platform :android\n"
"                              :code     1000000}\n"
"                             {:platform :ios\n"
"                              :code     2000000}}}}}}\n"
msgstr ""

msgid "Extend `common-rollout` if required"
msgstr ""

msgid "That's how `:include-list`, `:app-version`, *etc.* were born"
msgstr ""

msgid "Beware of many nested feature flags"
msgstr ""

msgid "True for **backend**, **frontend** and **mobile**"
msgstr ""

msgid "Exponential growth of combinations"
msgstr ""

msgid "Don't delete app-facing feature flags"
msgstr ""

msgid "True for **mobile**"
msgstr ""

msgid "This could break old app versions, only do this intentionally"
msgstr ""

msgid ""
"We don't have (yet) a strategy for dealing with LTS of the app, and we just "
"say: \"we'll support every app version out there\"."
msgstr ""

msgid "Include a feature flag on the whiteboarding phase"
msgstr ""

msgid "Include deleting/retiring the feature flag at the end"
msgstr ""

msgid "Avoid renaming a feature flag"
msgstr ""

msgid "Use `:app-version` with `:min-version` instead"
msgstr ""

msgid "And most importantly..."
msgstr ""

msgid "***Always*** rely on a feature flag on the app"
msgstr ""

msgid "Never do a hot fix, avoid expedited releases at all costs"
msgstr ""

msgid ""
"The app is where we have less control, so the feature flag is how we get "
"some of that control back."
msgstr ""

msgid "This doesn't mean you'll need 1 feature flag per PR"
msgstr ""

msgid ""
"There's not such thing as: \"This is such a small thing, it doesn't need a "
"feature flag\""
msgstr ""

msgid ""
"You should ask yourself: \"It this crashes the app, am I OK with waiting for"
" the next release train?\""
msgstr ""

msgid "Thank you!"
msgstr ""

msgid "References:"
msgstr ""

msgid "these slides: [{{ site.tld }}/slides.html]({% link slides.md %})"
msgstr ""

msgid ""
"[prose version of this presentation]({% link _articles/2020-10-19-feature-"
"flags-differences-between-backend-frontend-and-mobile.md %})"
msgstr ""

msgid ""
"\"[Feature Toggles (aka Feature "
"Flags)](https://martinfowler.com/articles/feature-toggles.html)\", by Pete "
"Hodgson"
msgstr ""

msgid ""
"\"[Continuous integration vs. continuous delivery vs. continuous "
"deployment](https://www.atlassian.com/continuous-"
"delivery/principles/continuous-integration-vs-delivery-vs-deployment)\", by "
"Sten Pittet"
msgstr ""

msgid ""
"[Accelerate](https://itrevolution.com/book/accelerate/), by N. Forsgren, J. "
"Humble and G. Kim"
msgstr ""