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.

DevCommerce Conference 2016: Desafios do auto scale de verdade na Wine.com.br – O caminho até a remoção do sticky session

424 views

Published on

Maxwell Leonardo, Líder Devop da Wine.com.br, palestrou sobre "Desafios do auto scale de verdade na Wine.com.br – O caminho até a remoção do sticky session", no DevCommerce Conference 2016.

O DevCommerce Conference 2016 aconteceu nos dias 06 e 07 de junho de 2016, no Hotel Tivoli em São Paulo-SP http://devcommerce2016.imasters.com.br/

Published in: Education
  • DOWNLOAD THIS BOOKS INTO AVAILABLE FORMAT (2019 Update) ......................................................................................................................... ......................................................................................................................... Download Full PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download Full EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download Full doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download PDF EBOOK here { https://soo.gd/irt2 } ......................................................................................................................... Download EPUB Ebook here { https://soo.gd/irt2 } ......................................................................................................................... Download doc Ebook here { https://soo.gd/irt2 } ......................................................................................................................... ......................................................................................................................... ................................................................................................................................... eBook is an electronic version of a traditional print book THIS 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 THIS 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 THIS 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 THIS 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 THIS Will Help You Succeed, ......................................................................................................................... .........................................................................................................................
       Reply 
    Are you sure you want to  Yes  No
    Your message goes here
  • Be the first to like this

DevCommerce Conference 2016: Desafios do auto scale de verdade na Wine.com.br – O caminho até a remoção do sticky session

  1. 1. Desafios do auto scale de verdade na Wine.com.br O caminho até a remoção do sticky session
  2. 2. @maxwellleonardo Maxwell Leonardo da Silva Max Desenvolvedor desde 1997 :O Curte automatização de coisas. Pai em tempo integral. Se descobrindo como Devop na Wine :) Horrível com slides
  3. 3. A maior loja de vinhos da América Latina e a 3ª maior do mundo
  4. 4. Sofware stack • Java • Spring • Solr • Maven • OpenJPA • DWR • EHCache • Drools • Velocity • Eclipse RCP
  5. 5. Ok, assim funciona. ● E só. ● Não escala. ● Todo deploy tem downtime. ● Tomcat + Assets = :( ● Sticky session++
  6. 6. Melhora nos assets.
  7. 7. ● Deploys de assets sem downtime. ● Apache > Tomcat pra servir assets. ● Ainda não escala. ● Todo deploy de app tem downtime. ● Continua super Sticky session++
  8. 8. Melhora nos assets.
  9. 9. ● Deploys de assets sem downtime. ● Nginx > Apache pra servir assets. ● Non Blocking IO no NGINX. ● Ainda não escala. :( ● Todo deploy de app tem downtime. ● Continua super Sticky session++
  10. 10. Melhorando o deploy
  11. 11. Marketing… Ahhhh o marketing
  12. 12. Fato: O site iria cair. ● Pouco tempo ● Atacar os gargalos ● Diminuir o impacto na aplicação
  13. 13. Balanceamento de carga.
  14. 14. ● Deploys de assets sem downtime. ● Nginx > Apache pra servir assets. ● Non Blocking IO no NGINX. ● Nem todo deploy precisa de downtime. ● Melhoria significativa na disponibilidade. ● "Escala". ● Continua super Sticky session++. :( ● Quando um nó cai, clientes logados precisam relogar.
  15. 15. Cache.
  16. 16. ● Diminui requests na aplicação. ● Melhora significativa na performance dos hotsites. ● Continua super Sticky session++. :( ● Quando um nó cai, clientes logados precisam relogar. ● Precisa fazer flush do cache a cada novo deploy de DWR.
  17. 17. Internet Database Database Shared Sessions RenderImage Cache
  18. 18. ● Sem Sticky Sessions. ● Blue/Green Deploy. ● Quase 100% de uptime. ● Limite de hardware. ● Custo. ● O Deploy de Assests ainda não é Green/Blue.
  19. 19. ● Sem Sticky Sessions. ● 100% Blue/Green Deploy. ● Virtualmente 100% de uptime. ● Custo pelo menos 50% menor ● :/
  20. 20. Perguntas e possivelmente, respostas.
  21. 21. So Long, and Thanks for All the Fish.

×