SlideShare une entreprise Scribd logo
1  sur  66
Télécharger pour lire hors ligne
João Cunha
@joaocunha
Feature Flags: sexta-feira
também é dia de
lançamento
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
twitter: @joaocunha
#tdc#featureFlags
linkedin: joaocunha86
Feature Flags separam deploys de
código do release de features.
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Em outras palavras, as
Feature Flags nos dão o
poder de lançar:
O que quisermos
Quando quisermos
Para quem quisermos
Nas condições que quisermos
…sem depender de deploys para isso.
Já tá pronto,
só falta subir pra
produção!
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Já ta pronto,
só falta subir pra produção.
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Quando sobe pra
produção…
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Pronto Produção
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
“Pronto” e “Em Produção”
são diferentes por questões
técnicas e de negócio.
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Questões técnicas
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Caching
Load balancers
CDNs
Firewalls
Questões técnicas
Tráfego
Browsers
Conexões de internet
Dispositivos diversos
Questões técnicas
Staging
Produção
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Produção
É impossível replicar a internet.
RESUMINDO…
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Questões de negócio
Lançar de uma vez raramente
é a melhor opção.
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Feature Flags são
como condições “if”…
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
…só que a condição
vive fora do código.
Menu Inferior Grupo A
Grupo B
Grupo C
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Exemplo de dashboard
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Isso é extremamente poderoso.
Targeting / allowlist e denylist
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Teste de hipótese
Lançamento incremental
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Kill Switch
Testes A/B
Planos de Assinatura
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Lançamento em datas e horas específicas
Opt-in
Power Users
Manutenção (programada ou não)
Sunset
Lançamento da página
de produtos Foregon
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
99% 1%
Lançamento incremental (1%)
Grupos de usuários (alpha)
Targeting (região, copy)
Teste de hipótese (performance)
Hero
Hero
Opinião do especialista
Opinião do
especialista
Simulador de milhas
Simulador
de milhas
Comparador
Mais infos (SEO)
Mais info
(SEO)
Cada seção é uma
feature.
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Bônus: meta features!Bônus: Meta features!
Feature Flags não são
bala de prata
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Aumento de dívida
técnica
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Exige mudança de
mentalidade
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Às vezes é difícil saber em
que nível a flag deve residir
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Mais condições possíveis
para debuggar
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Cenários complexos
(cache, versão logada, etc.)
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Boas práticasBoas práticas
Flags devem existir
por pouco tempo
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Nunca reutilize flags
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Nomeie as flags
adequadamente
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Grave logs de
alteração
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Libere acesso a
membros não técnicos
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Bônus: meta features!Ferramentas existentes
Launch Darkly
rollout.io
Optimizely
Featureflow
ConfigCat
Unleash
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
Para se aprofundar
Martin Fowler
https://martinfowler.com/
Feature Flags IO
http://featureflags.io
Blog do LaunchDarkly
https://launchdarkly.com/blog/
Meu Twitter :D
@joaocunha
Feature Flags: sexta-feira também é dia de lançamento @joaocunha #produtos #featureFlags #tdc
joao@joaocunha.net
@joaocunha

Contenu connexe

En vedette

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at WorkGetSmarter
 

En vedette (20)

How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 

Feature Flags: sexta-feira também é dia de lançamento