SlideShare uma empresa Scribd logo
1 de 19
Baixar para ler offline
ANTES SVN, JRUBY E TOMCAT.
    AGORA GIT, RUBY E
        PASSENGER


                                  Pedro Brasileiro Cardoso Junior
                                    pedrobrasileiro@gmail.com
                                        @pedrobrasileiro


domingo, 12 de setembro de 2010                                     1
Apresentação:
             - Experiência com o SIGET
             (Sistema de Gestão de Transportes - DETRAN-CE)
             e os problemas e soluções aplicados para melhoria
             de performance.




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                                  2
Pontos a serem abordados:

             - Escolha inicial do SVN, JRuby e Tomcat

             - Problemas encontrados com SVN, JRuby e Tomcat

             - Soluções adotadas




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                                3
“Escolha” Inicial do SVN (http://subversion.tigris.org)

             - Era o que estava em uso.




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                                  4
Escolha Inicial do JRuby (http://jruby.org)

             - Possibilidade de sistemas legados em Java.

             - Relatórios em iReport (JasperReport)
                                              http://jasperforge.org/projects/ireport




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                                                         5
Escolha Inicial do Tomcat (http://tomcat.apache.org)

             - Facilidade de deploy da app JRuby com o Warbler
                                                          http://github.com/nicksieger/warbler




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                                                                  6
Considerações




                                                                   CORTEM A CABEÇA!!

 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                                                   7
Problemas encontrados com SVN

             - Merges (v1.4)

             - Modificações em branches errados (várias)




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                           8
Problemas encontrados com JRuby

             - Usava JRuby 1.1.5 com Rails 2.2.2 e;
             - Enfrentei problemas ao mudar JRuby 1.3.0 (na época) com
             Rails 2.3.2 por causa do warbler




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                                          9
Problemas encontrados com Tomcat

             - Lentidão generalizada (apps)

             - Alto consumo de memória

             - Aplicação GULOSA




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                           10
Perguntas?




                                                              SERÁ QUE EU SAIO VIVO??

 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                                                   11
Soluções adotadas:

             - GIT

             - Ruby (REE)

             - Passenger

             - Desenvolvimento (RVM, Capistrano)




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                           12
GIT (http://git-scm.com)

             - Facilidade nos merges.

             - git stash

             - git merge octopus




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                           13
Ruby (REE) (http://www.rubyenterpriseedition.com)

             - 33% menos consumo de memória com Passenger




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                             14
Passenger (mod_rails) (http://www.modrails.com)

             - Servidor mais usado pela comunidade

             - Melhor Gerenciamento de memória
                                  http://www.modrails.com/documentation/Users%20guide.html#_analysis_and_system_maintenance_tools
                                  http://www.modrails.com/documentation/Architectural%20overview.html




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                                                                                                     15
E os relatórios?




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                             16
OpenReport




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                           17
Perguntas?




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                               18
Demonstrações:

             - GIT (http://www.akitaonrails.com/2010/08/17/screencast-comecando-com-git)




 Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger
domingo, 12 de setembro de 2010                                                            19

Mais conteúdo relacionado

Destaque

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
ThinkNow
 
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
Kurio // The Social Media Age(ncy)
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
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...
 

XPCE 2010

  • 1. ANTES SVN, JRUBY E TOMCAT. AGORA GIT, RUBY E PASSENGER Pedro Brasileiro Cardoso Junior pedrobrasileiro@gmail.com @pedrobrasileiro domingo, 12 de setembro de 2010 1
  • 2. Apresentação: - Experiência com o SIGET (Sistema de Gestão de Transportes - DETRAN-CE) e os problemas e soluções aplicados para melhoria de performance. Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 2
  • 3. Pontos a serem abordados: - Escolha inicial do SVN, JRuby e Tomcat - Problemas encontrados com SVN, JRuby e Tomcat - Soluções adotadas Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 3
  • 4. “Escolha” Inicial do SVN (http://subversion.tigris.org) - Era o que estava em uso. Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 4
  • 5. Escolha Inicial do JRuby (http://jruby.org) - Possibilidade de sistemas legados em Java. - Relatórios em iReport (JasperReport) http://jasperforge.org/projects/ireport Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 5
  • 6. Escolha Inicial do Tomcat (http://tomcat.apache.org) - Facilidade de deploy da app JRuby com o Warbler http://github.com/nicksieger/warbler Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 6
  • 7. Considerações CORTEM A CABEÇA!! Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 7
  • 8. Problemas encontrados com SVN - Merges (v1.4) - Modificações em branches errados (várias) Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 8
  • 9. Problemas encontrados com JRuby - Usava JRuby 1.1.5 com Rails 2.2.2 e; - Enfrentei problemas ao mudar JRuby 1.3.0 (na época) com Rails 2.3.2 por causa do warbler Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 9
  • 10. Problemas encontrados com Tomcat - Lentidão generalizada (apps) - Alto consumo de memória - Aplicação GULOSA Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 10
  • 11. Perguntas? SERÁ QUE EU SAIO VIVO?? Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 11
  • 12. Soluções adotadas: - GIT - Ruby (REE) - Passenger - Desenvolvimento (RVM, Capistrano) Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 12
  • 13. GIT (http://git-scm.com) - Facilidade nos merges. - git stash - git merge octopus Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 13
  • 14. Ruby (REE) (http://www.rubyenterpriseedition.com) - 33% menos consumo de memória com Passenger Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 14
  • 15. Passenger (mod_rails) (http://www.modrails.com) - Servidor mais usado pela comunidade - Melhor Gerenciamento de memória http://www.modrails.com/documentation/Users%20guide.html#_analysis_and_system_maintenance_tools http://www.modrails.com/documentation/Architectural%20overview.html Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 15
  • 16. E os relatórios? Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 16
  • 17. OpenReport Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 17
  • 18. Perguntas? Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 18
  • 19. Demonstrações: - GIT (http://www.akitaonrails.com/2010/08/17/screencast-comecando-com-git) Antes SVN, JRuby e Tomcat. Agora GIT, Ruby e Passenger domingo, 12 de setembro de 2010 19