Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Levando seu SCM à outro nível com Feature Flags

227 views

Published on

Você já passou horas realizando merges de branchs logo antes de ter que ativar algo novo em produção? Já sentiu receio de fazer uma ativação em produção e queria ter uma maneira simples de ter um "fall back" em caso de identificar um problema? Acredite, já existem maneiras mais modernas de controlar seu SCM (Source Control Management). Com uma estratégia de Trunk Based aliada à ferramentas de Feature Flags, também chamados de toggles, você pode manter uma integração contínua de verdade e ainda ganhar a possibilidade de testes A/B, soft-launchs e muito mais.

Albert Tanure - Projeto Exemplo
https://github.com/codefc/vssummit-sp-2019

Published in: Technology
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • DOWNLOAD THAT BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download Full doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download PDF EBOOK here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download EPUB Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... Download doc Ebook here { http://bit.ly/2m6jJ5M } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book that can be read by using a personal computer or by using an eBook reader. (An eBook reader can be a software application for use on a computer such as Microsoft's free Reader application, or a book-sized computer that is used solely as a reading device such as Nuvomedia's Rocket eBook.) Users can purchase an eBook on diskette or CD, but the most popular method of getting an eBook is to purchase a downloadable file of the eBook (or other reading material) from a Web site (such as Barnes and Noble) to be read from the user's computer or reading device. Generally, an eBook can be downloaded in five minutes or less ......................................................................................................................... .............. Browse by Genre Available eBooks .............................................................................................................................. Art, Biography, Business, Chick Lit, Children's, Christian, Classics, Comics, Contemporary, Cookbooks, Manga, Memoir, Music, Mystery, Non Fiction, Paranormal, Philosophy, Poetry, Psychology, Religion, Romance, Science, Science Fiction, Self Help, Suspense, Spirituality, Sports, Thriller, Travel, Young Adult, Crime, Ebooks, Fantasy, Fiction, Graphic Novels, Historical Fiction, History, Horror, Humor And Comedy, ......................................................................................................................... ......................................................................................................................... .....BEST SELLER FOR EBOOK RECOMMEND............................................................. ......................................................................................................................... Blowout: Corrupted Democracy, Rogue State Russia, and the Richest, Most Destructive Industry on Earth,-- The Ride of a Lifetime: Lessons Learned from 15 Years as CEO of the Walt Disney Company,-- Call Sign Chaos: Learning to Lead,-- StrengthsFinder 2.0,-- Stillness Is the Key,-- She Said: Breaking the Sexual Harassment Story That Helped Ignite a Movement,-- Atomic Habits: An Easy & Proven Way to Build Good Habits & Break Bad Ones,-- Everything Is Figureoutable,-- What It Takes: Lessons in the Pursuit of Excellence,-- Rich Dad Poor Dad: What the Rich Teach Their Kids About Money That the Poor and Middle Class Do Not!,-- The Total Money Makeover: Classic Edition: A Proven Plan for Financial Fitness,-- Shut Up and Listen!: Hard Business Truths that Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

Levando seu SCM à outro nível com Feature Flags

  1. 1. Leve o seu SCM à outro nível com FeatureToggle (aka FeatureFlag)
  2. 2. andrepg@ciandt.com . me add aí MCP | MCTS | MCT | MCAD | MCSD.Net | MVP Asp.Net 2011 à 2014 André Paulovich . Systems Architect & Community Manager - CI&T . @andrepaulovich.
  3. 3. bit.ly/slide-paulovich
  4. 4. Usem a hashtag#TDC #dotnet #toggle Tirem muitas fotos!
  5. 5. Qual é o problema que estamos tentando resolver?
  6. 6. CI CD
  7. 7. CI CD
  8. 8. https://vidadeprogramador.com.br/2015/07/28/definicao-de-pronto/
  9. 9. https://vidadeprogramador.com.br/2015/07/28/definicao-de-pronto/
  10. 10. https://vidadeprogramador.com.br/2015/07/28/definicao-de-pronto/
  11. 11. https://vidadeprogramador.com.br/2015/07/28/definicao-de-pronto/
  12. 12. São tantos possíveis problemas envolvidos na “implantação” de uma aplicação...
  13. 13. “ponto de falha”?
  14. 14. Isso acontece porque o nosso SCM é físico
  15. 15. Normalmente estes problemas são ainda piores em cenários em que a implantação é um “big bang”
  16. 16. Nova Feature
  17. 17. Nova Feature BUUMMM!
  18. 18. Existe “vida” além do GitFlow… a alternativa são os toggles!
  19. 19. O que são FeatureToggles? FeatureFlags? Que negócio é esse que todos andam falando?
  20. 20. Feature Flags separam deploys de código do lançamento de features.
  21. 21. Como funciona? Explica mais aí...
  22. 22. if ( Flag.AlgumMecanismo.ativo ) { return funcionamentoNovo(); } else { return funcionamentoAntigo(); }
  23. 23. Código Existente Fachada Ativo? Código Novo Código Existente Código Atual Toggle Repository Toggle Router Essa abordagem torna lógico o nosso SCM
  24. 24. Aumenta a velocidade de entrega de valor. Maior complexidade de código, porém com menores riscos na gestão de produtos. Quebra de paradigma convencional de construção de aplicações.
  25. 25. Pré-requisitos para adotar esta estratégia
  26. 26. Gestão de toggles Precisa ser algo simples e intuitivo, pois vamos compartilhar esta gestão com os PO´s
  27. 27. “Cultura” Todo mundo precisa aprender a pensar diferente
  28. 28. Entender que tudo está interligado... Amadurecer todo ciclo de vida de gestão de produto
  29. 29. Testes são código de “produção” Todo mundo precisa aprender a pensar diferente
  30. 30. Assim impedimos que versões “perigosas” evoluam no pipeline
  31. 31. Vantagens de utilizar esta abordagem
  32. 32. Em caso de problema, clique aqui!
  33. 33. Lançamento incremental (aka softlaunch)
  34. 34. Testes A/B
  35. 35. Publicação em horários específicos
  36. 36. Quem utiliza?
  37. 37. Como começar?
  38. 38. Começe com “release toggles”
  39. 39. Ferramentas
  40. 40. Launch Darkly rollout.io Optimizely Featureflow ConfigCat Unleash FF4J Escolha uma ferramenta adequada ao seu contexto
  41. 41. Erre cedo...
  42. 42. Fácil demais
  43. 43. Use toggles em todos os ambientes! Não caia na armadilha de usar “git flow” nos ambientes de desenvolvimento e testes e “feature toggles” apenas como estratégia de ativação para produção.
  44. 44. Existem problemas, mas vale a pena! A subida é difícil, . mas a vista lá de cima . vale a pena! .
  45. 45. https://pt.slideshare.net/geekle/devops-5348895 (Apresentação - Matthew Jones) http://bit.ly/2nJyYTC (Apresentação - João Cunha) https://www.toptal.com/software/trunk-based-development-git-flow (Artigo - Konrad Gadzinowski https://hackernoon.com/feature-flag-driven-releases-7a7a5fee6ba7 (Artigo - Justin Baker) https://www.hipsthetic.com/emoji-icon-sets/ (Iconset - Emojis) O Potencial de Feature Toggles (Apresentação - Carlos Pisani - CI&T) https://martinfowler.com/bliki/TestPyramid.html (Artigo - Martin Fowler) https://www.azuredevopslabs.com/labs/vstsextend/launchdarkly/ (Tutorial - Azure Devops Labs) https://github.com/codefc/vssummit-sp-2019 (Github - projeto completo - Albert Tanure) Referências
  46. 46. andrepg@ciandt.com . Obrigado! MCP | MCTS | MCT | MCAD | MCSD.Net | MVP Asp.Net 2011 à 2014 André Paulovich . Systems Architect & Community Manager - CI&T . @andrepaulovich.

×