SlideShare uma empresa Scribd logo
1 de 14
Baixar para ler offline
Evolving
Load and
Performance
testing
AGENDA
● QE Studio
● Load & Performance Practice
● Some history
● The big changes and How
was performance testing
affected?
● Early testing & CI-CD
● User experience
● Jmeter
● Frontend
○ Webpage test
○ Speed page oi
○ Yslow
○ Google tools
● APMs
Globant Proprietary | Confidential Information
QUALITY
ENGINEERING
STUDIO
We provide comprehensive testing
services with proven experience on
distributed teams. Our flexible
working model easily adapts to the
different customer’s methodologies
and engagements. We offer the most
effective and diversified testing
strategies.
1200+
ENGINEERS
35+
DEVELOPMENT
CENTERS
400+
ACTIVE
PROJECTS
FACTS RELEVANT CLIENTS
Load &
Performance
Testing
Functional
Testing
Mobile
Testing
Game
Testing
Accessibility
Testing
Test
Automation
PRACTICES
Argentina
Colombia
Uruguay
Mexico
India
Perú
We have the ability and
experience to test, validate,
suggest and help development
teams to evolve applications
into better performing
solutions, looking to reduce
costs and increase reliability
during operation
We are an small team, 25 PTEs
(Performance Test Engineers)
located in 7 offices in 6
countries.
Strong team
with great talent to
improve software
performance.
LOAD & PERFORMANCE PRACTICE
SOME HISTORY
2003 2005 2006 2007 2008 2009 2011 2012 2013 2014 2015 2017
SPA
New web
architectures
Node JS
New HTTP
servers
Less
CSS framework
Moviles
Slower networks
Limited resources
Web 2.0
User as a content
creator
HTML5
Nuevo estandar
HTML
ANGULAR js
Frontend framework
REACT
Frontend
framework
VUE js
Frontend
framework
APMs
Deep monitoring
Cloud
AWS new
infrastructure
REST API
New architectures
Sky rocket social
networks
AJAX
Asynchronous
Web applications
Sass
CSS
framework
SCRUM
Methodologies with
small increments.
Deeper monitoring and new
infrastructures (Cloud)
Big frontend
frameworks
BIG CHANGES
Agile
Methodologies
(Scrum)
Users with limited
connection and
resourcers
More
interactive
pages
Here is the current
challenge
What will come next?
• Methodologies: Agile (Scrum/Kanban/Scrumban)
• Architectures:
• Microservices
• REST APIs
• Lambdas
EARLY TESTING
• Risk Mitigation
• Increase Coverage
• Automated Reports
• Automated results comparison
• Reduced Overhead
• Consistency of Build Process
CI-CD (JENKINS/BAMBOO/PIPELINE)
CI servers
CONCURRENCY TESTING
Types
- Load
- Stress
- Soak
- Spike
Concurrency
- Response times
- Throughput
- Workload model (usage
patterns)
ToolsServer Metrics
- Memory
- CPU
- Hard drives
- Network
- Connection pool
- Threads
Example with beerbook (Jmeter)
LOAD RUNNER
DEMO
TIME
USER EXPERIENCE
Before
- Response time
- Concurrent users
- Throughput
- Server resources
Now
- Response time
- Concurrent users
- Throughput
- Server resources
+ User experience
+ Usable (interact)
+ Render time
+ Auto-scalable
“1 second of load lag time
would cost Amazon $1.6
billion in sales per year”
- Amazon
“A broker could lose $4 million in
revenues per millisecond if their
electronic trading platform is 5
milliseconds behind the competition.”
“When load times jump from 1 seconds
to 4 seconds, conversions decline
sharply. For every 1 second of
improvement, we experience a 2%
conversion increase”
- Walmart
“In 2000, research by Microsoft placed
the average human attention span at 12
seconds. By 2015, the same study found
that number had fallen to just 8 seconds”
- Microsoft
“Google found an extra 0.5 secs
in search page generation time
dropped traffic by 20%.”
- Google
In 1993 Nielsen define 3 limits
• 0.1 sec: reacting instantaneously
• 1.0 sec: the limit for the user's flow of thought
• 10 secs: the limit for keeping the user's attention
- Nielsen Norman Group
JavaScript Processing time for cnn.com
• Desktop 2.061 sec
• Laptop 2.891 sec
• High-end Phone 3.967 sec
• AVG Phone 13.355 sec
• Cheap phones 36.284 sec
- Addy Osmani (Google Engineer)
IMPACT
WHY?
MOBILE
• First Byte: First server response
• Start Render: First visual
• Load Time: beginning of the
window load event (onload).
• Fully Loaded: no network activity
after Document Complete
LOAD PHASES
- Web page test: http://www.webpagetest.org/
- Sitespeed.io: https://www.sitespeed.io/
- GT Metrix: http://gtmetrix.com
- Yslow: http://yslow.org/
- Google insights:
https://developers.google.com/speed/pagespeed/insights/
- Google lighthouse:
https://developers.google.com/web/tools/lighthouse/
Tools
FRONTEND PERFORMANCE
FRONTEND PERFORMANCE
SITESPEED.IO
docker run --shm-size=1g --rm -v <dest_folder>:/sitespeed.io
sitespeedio/sitespeed.io:7.4.0 https://www.globant.com/
Some configurations
- Browsers: firefox, chrome
- Network: 3g, 3gfast, 3gslow, 3gem,
2g, cable, native, custom
- Number of runs
- Latency
- Authentication
- Proxy
DEMO
TIME
MONITORING WITH APMs
Servers
resources
usage
Application
errors and
logs
Internal
application
response
time
APM
https://newrelic.com/products/application-monitoring
APMs
Thank you!
Nov, 2018

Mais conteúdo relacionado

Mais procurados

Four best practices for performance testing mobile apps soasta and utopia
Four best practices for performance testing mobile apps   soasta and utopiaFour best practices for performance testing mobile apps   soasta and utopia
Four best practices for performance testing mobile apps soasta and utopia
SOASTA
 
The TalentBox
The TalentBoxThe TalentBox
The TalentBox
Nebucom
 

Mais procurados (20)

Using dynaTrace to optimise application performance
Using dynaTrace to optimise application performanceUsing dynaTrace to optimise application performance
Using dynaTrace to optimise application performance
 
The Era of Intelligent Testing
The Era of Intelligent TestingThe Era of Intelligent Testing
The Era of Intelligent Testing
 
Four best practices for performance testing mobile apps soasta and utopia
Four best practices for performance testing mobile apps   soasta and utopiaFour best practices for performance testing mobile apps   soasta and utopia
Four best practices for performance testing mobile apps soasta and utopia
 
Enterprise DevOps journey Agile Israel 2017
Enterprise DevOps journey Agile Israel 2017Enterprise DevOps journey Agile Israel 2017
Enterprise DevOps journey Agile Israel 2017
 
TUI Nordic: Ensuring great user experience for 80 million site visitors
TUI Nordic: Ensuring great user experience for 80 million site visitorsTUI Nordic: Ensuring great user experience for 80 million site visitors
TUI Nordic: Ensuring great user experience for 80 million site visitors
 
My Dad Won't Buy Me DevOps
My Dad Won't Buy Me DevOpsMy Dad Won't Buy Me DevOps
My Dad Won't Buy Me DevOps
 
Awards
AwardsAwards
Awards
 
Agile is not working in big project?
Agile is not working in big project?Agile is not working in big project?
Agile is not working in big project?
 
The Business Case for DevOps - Justifying the Journey
The Business Case for DevOps - Justifying the JourneyThe Business Case for DevOps - Justifying the Journey
The Business Case for DevOps - Justifying the Journey
 
Teaching Machines to Fish -- How eBay Improves Itself
Teaching Machines to Fish -- How eBay Improves ItselfTeaching Machines to Fish -- How eBay Improves Itself
Teaching Machines to Fish -- How eBay Improves Itself
 
What the smartest brands know about CX ... and what they still aren't doing a...
What the smartest brands know about CX ... and what they still aren't doing a...What the smartest brands know about CX ... and what they still aren't doing a...
What the smartest brands know about CX ... and what they still aren't doing a...
 
The TalentBox
The TalentBoxThe TalentBox
The TalentBox
 
CrocoTime
CrocoTimeCrocoTime
CrocoTime
 
Consuming DevOps: How Upstream DevOps Initiatives Disrupted our Downstream Co...
Consuming DevOps: How Upstream DevOps Initiatives Disrupted our Downstream Co...Consuming DevOps: How Upstream DevOps Initiatives Disrupted our Downstream Co...
Consuming DevOps: How Upstream DevOps Initiatives Disrupted our Downstream Co...
 
How to create awesome customer experiences
How to create awesome customer experiencesHow to create awesome customer experiences
How to create awesome customer experiences
 
Scaling Your Architecture for the Long Term
Scaling Your Architecture for the Long TermScaling Your Architecture for the Long Term
Scaling Your Architecture for the Long Term
 
Denver Atlassian User Group 081617
Denver Atlassian User Group 081617Denver Atlassian User Group 081617
Denver Atlassian User Group 081617
 
Denver Atlassian User Group 062117
Denver Atlassian User Group 062117Denver Atlassian User Group 062117
Denver Atlassian User Group 062117
 
10 Deploys a Day - A Case Study of Continuous Delivery at Envato
10 Deploys a Day - A Case Study of Continuous Delivery at Envato10 Deploys a Day - A Case Study of Continuous Delivery at Envato
10 Deploys a Day - A Case Study of Continuous Delivery at Envato
 
Minimal Viable Architecture - Silicon Slopes 2020
Minimal Viable Architecture - Silicon Slopes 2020Minimal Viable Architecture - Silicon Slopes 2020
Minimal Viable Architecture - Silicon Slopes 2020
 

Semelhante a Performance Testing: Evolving The Performance

Can you process 10 trillion logs per day software architecture conference 2015
Can you process 10 trillion logs per day software architecture conference 2015Can you process 10 trillion logs per day software architecture conference 2015
Can you process 10 trillion logs per day software architecture conference 2015
Sumo Logic
 
Continous Integration Webinar
Continous Integration WebinarContinous Integration Webinar
Continous Integration Webinar
Paul Senatillaka
 
How to stop fingerpointing when your application is down
How to stop fingerpointing when your application is downHow to stop fingerpointing when your application is down
How to stop fingerpointing when your application is down
Compuware ASEAN
 

Semelhante a Performance Testing: Evolving The Performance (20)

Failure is an Option: Scaling Resilient Feature Delivery
Failure is an Option: Scaling Resilient Feature DeliveryFailure is an Option: Scaling Resilient Feature Delivery
Failure is an Option: Scaling Resilient Feature Delivery
 
I nearshore
I nearshore I nearshore
I nearshore
 
The Business Justification for APM
The Business Justification for APMThe Business Justification for APM
The Business Justification for APM
 
How to Manage Digital User Experience for Web Applications
How to Manage Digital User Experience for Web ApplicationsHow to Manage Digital User Experience for Web Applications
How to Manage Digital User Experience for Web Applications
 
Rundeck Overview
Rundeck OverviewRundeck Overview
Rundeck Overview
 
Packaged vs. Custom Application Testing
Packaged vs. Custom Application TestingPackaged vs. Custom Application Testing
Packaged vs. Custom Application Testing
 
Can you process 10 trillion logs per day software architecture conference 2015
Can you process 10 trillion logs per day software architecture conference 2015Can you process 10 trillion logs per day software architecture conference 2015
Can you process 10 trillion logs per day software architecture conference 2015
 
Continous Integration Webinar
Continous Integration WebinarContinous Integration Webinar
Continous Integration Webinar
 
Accelerate User Driven Innovation [Webinar]
Accelerate User Driven Innovation [Webinar]Accelerate User Driven Innovation [Webinar]
Accelerate User Driven Innovation [Webinar]
 
Stress Test as a Culture
Stress Test as a CultureStress Test as a Culture
Stress Test as a Culture
 
Data Analytics in Digital Transformation
Data Analytics in Digital TransformationData Analytics in Digital Transformation
Data Analytics in Digital Transformation
 
How to stop fingerpointing when your application is down
How to stop fingerpointing when your application is downHow to stop fingerpointing when your application is down
How to stop fingerpointing when your application is down
 
Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)
Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)
Entrepreneurship Tips With HTML5 & App Engine Startup Weekend (June 2012)
 
Lights-Out Testing for Lights-On Business
Lights-Out Testing for Lights-On BusinessLights-Out Testing for Lights-On Business
Lights-Out Testing for Lights-On Business
 
Universal test solutions customer testimonial 10192013-v2.2
Universal test solutions customer testimonial 10192013-v2.2Universal test solutions customer testimonial 10192013-v2.2
Universal test solutions customer testimonial 10192013-v2.2
 
GNS: Your IT outsourcing provider
GNS: Your IT outsourcing providerGNS: Your IT outsourcing provider
GNS: Your IT outsourcing provider
 
Presentation
PresentationPresentation
Presentation
 
Cloud Service Management: Why Machine Learning is Now Essential
Cloud Service Management: Why Machine Learning is Now EssentialCloud Service Management: Why Machine Learning is Now Essential
Cloud Service Management: Why Machine Learning is Now Essential
 
Make A Stress Free Move To The Cloud: Application Modernization and Managemen...
Make A Stress Free Move To The Cloud: Application Modernization and Managemen...Make A Stress Free Move To The Cloud: Application Modernization and Managemen...
Make A Stress Free Move To The Cloud: Application Modernization and Managemen...
 
ITMAGINATION - competences, facts, technologies, clients
ITMAGINATION - competences, facts, technologies, clientsITMAGINATION - competences, facts, technologies, clients
ITMAGINATION - competences, facts, technologies, clients
 

Mais de Globant

Navegando el desafío de transformación digital de los servicios financieros
Navegando el desafío de transformación digital de los servicios financierosNavegando el desafío de transformación digital de los servicios financieros
Navegando el desafío de transformación digital de los servicios financieros
Globant
 

Mais de Globant (20)

Webinar MLOps: When AA gets serious.
Webinar MLOps: When AA gets serious.Webinar MLOps: When AA gets serious.
Webinar MLOps: When AA gets serious.
 
Google Cloud Spanner y NewSQL
Google Cloud Spanner y NewSQLGoogle Cloud Spanner y NewSQL
Google Cloud Spanner y NewSQL
 
Eventos Asíncronos como estrategia virtual
Eventos Asíncronos como estrategia virtualEventos Asíncronos como estrategia virtual
Eventos Asíncronos como estrategia virtual
 
Cultura y valores 4.0 para líderes 4.0
Cultura y valores 4.0 para líderes 4.0Cultura y valores 4.0 para líderes 4.0
Cultura y valores 4.0 para líderes 4.0
 
Tech Insiders Salesforce: SFDX e Integración Continua
Tech Insiders Salesforce: SFDX e Integración ContinuaTech Insiders Salesforce: SFDX e Integración Continua
Tech Insiders Salesforce: SFDX e Integración Continua
 
Como impulsar tu carrera Salesforce
Como impulsar tu carrera SalesforceComo impulsar tu carrera Salesforce
Como impulsar tu carrera Salesforce
 
3D Programming Basics: WebGL
3D Programming Basics: WebGL3D Programming Basics: WebGL
3D Programming Basics: WebGL
 
Converge augmented report
Converge augmented reportConverge augmented report
Converge augmented report
 
Sistema de recomendación entiempo real usando Delta Lake
Sistema de recomendación entiempo real usando Delta LakeSistema de recomendación entiempo real usando Delta Lake
Sistema de recomendación entiempo real usando Delta Lake
 
Kubeflow: Machine Learning en Cloud para todos
Kubeflow: Machine Learning en Cloud para todosKubeflow: Machine Learning en Cloud para todos
Kubeflow: Machine Learning en Cloud para todos
 
Orquestando Pipelines de Datosen AWS con Step Function y AWS Glue
Orquestando Pipelines de Datosen AWS con Step Function y AWS GlueOrquestando Pipelines de Datosen AWS con Step Function y AWS Glue
Orquestando Pipelines de Datosen AWS con Step Function y AWS Glue
 
Apache Beam: Lote portátil y procesamiento de transmisión
Apache Beam: Lote portátil y procesamiento de transmisiónApache Beam: Lote portátil y procesamiento de transmisión
Apache Beam: Lote portátil y procesamiento de transmisión
 
Navegando el desafío de transformación digital de los servicios financieros
Navegando el desafío de transformación digital de los servicios financierosNavegando el desafío de transformación digital de los servicios financieros
Navegando el desafío de transformación digital de los servicios financieros
 
Converge 2020
Converge 2020 Converge 2020
Converge 2020
 
Converge 2020
Converge 2020Converge 2020
Converge 2020
 
Tendencias de tecnología para el recién egresado
Tendencias de tecnología para el recién egresadoTendencias de tecnología para el recién egresado
Tendencias de tecnología para el recién egresado
 
SRE: ¿Qué es y cómo gestionar el Toil?
SRE: ¿Qué es y cómo gestionar el Toil?SRE: ¿Qué es y cómo gestionar el Toil?
SRE: ¿Qué es y cómo gestionar el Toil?
 
Monitoreo en tiempo real para la mejora continua de una aplicación
Monitoreo en tiempo real para la mejora continua de una aplicaciónMonitoreo en tiempo real para la mejora continua de una aplicación
Monitoreo en tiempo real para la mejora continua de una aplicación
 
¿Cómo automatizar pruebas de infraestructura y no morir en el intento?
¿Cómo automatizar pruebas de infraestructura y no morir en el intento?¿Cómo automatizar pruebas de infraestructura y no morir en el intento?
¿Cómo automatizar pruebas de infraestructura y no morir en el intento?
 
Automatización en AWS con Chatbot Serverless (Amazon Lex)
Automatización en AWS con Chatbot Serverless (Amazon Lex)Automatización en AWS con Chatbot Serverless (Amazon Lex)
Automatización en AWS con Chatbot Serverless (Amazon Lex)
 

Último

Último (20)

Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024Manulife - Insurer Innovation Award 2024
Manulife - Insurer Innovation Award 2024
 
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...Workshop - Best of Both Worlds_ Combine  KG and Vector search for  enhanced R...
Workshop - Best of Both Worlds_ Combine KG and Vector search for enhanced R...
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024Tata AIG General Insurance Company - Insurer Innovation Award 2024
Tata AIG General Insurance Company - Insurer Innovation Award 2024
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law DevelopmentsTrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
TrustArc Webinar - Stay Ahead of US State Data Privacy Law Developments
 
GenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdfGenAI Risks & Security Meetup 01052024.pdf
GenAI Risks & Security Meetup 01052024.pdf
 
Strategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a FresherStrategies for Landing an Oracle DBA Job as a Fresher
Strategies for Landing an Oracle DBA Job as a Fresher
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
Bajaj Allianz Life Insurance Company - Insurer Innovation Award 2024
 

Performance Testing: Evolving The Performance

  • 2. AGENDA ● QE Studio ● Load & Performance Practice ● Some history ● The big changes and How was performance testing affected? ● Early testing & CI-CD ● User experience ● Jmeter ● Frontend ○ Webpage test ○ Speed page oi ○ Yslow ○ Google tools ● APMs
  • 3. Globant Proprietary | Confidential Information QUALITY ENGINEERING STUDIO We provide comprehensive testing services with proven experience on distributed teams. Our flexible working model easily adapts to the different customer’s methodologies and engagements. We offer the most effective and diversified testing strategies. 1200+ ENGINEERS 35+ DEVELOPMENT CENTERS 400+ ACTIVE PROJECTS FACTS RELEVANT CLIENTS Load & Performance Testing Functional Testing Mobile Testing Game Testing Accessibility Testing Test Automation PRACTICES
  • 4. Argentina Colombia Uruguay Mexico India Perú We have the ability and experience to test, validate, suggest and help development teams to evolve applications into better performing solutions, looking to reduce costs and increase reliability during operation We are an small team, 25 PTEs (Performance Test Engineers) located in 7 offices in 6 countries. Strong team with great talent to improve software performance. LOAD & PERFORMANCE PRACTICE
  • 5. SOME HISTORY 2003 2005 2006 2007 2008 2009 2011 2012 2013 2014 2015 2017 SPA New web architectures Node JS New HTTP servers Less CSS framework Moviles Slower networks Limited resources Web 2.0 User as a content creator HTML5 Nuevo estandar HTML ANGULAR js Frontend framework REACT Frontend framework VUE js Frontend framework APMs Deep monitoring Cloud AWS new infrastructure REST API New architectures Sky rocket social networks AJAX Asynchronous Web applications Sass CSS framework SCRUM Methodologies with small increments.
  • 6. Deeper monitoring and new infrastructures (Cloud) Big frontend frameworks BIG CHANGES Agile Methodologies (Scrum) Users with limited connection and resourcers More interactive pages Here is the current challenge What will come next?
  • 7. • Methodologies: Agile (Scrum/Kanban/Scrumban) • Architectures: • Microservices • REST APIs • Lambdas EARLY TESTING
  • 8. • Risk Mitigation • Increase Coverage • Automated Reports • Automated results comparison • Reduced Overhead • Consistency of Build Process CI-CD (JENKINS/BAMBOO/PIPELINE) CI servers
  • 9. CONCURRENCY TESTING Types - Load - Stress - Soak - Spike Concurrency - Response times - Throughput - Workload model (usage patterns) ToolsServer Metrics - Memory - CPU - Hard drives - Network - Connection pool - Threads Example with beerbook (Jmeter) LOAD RUNNER DEMO TIME
  • 10. USER EXPERIENCE Before - Response time - Concurrent users - Throughput - Server resources Now - Response time - Concurrent users - Throughput - Server resources + User experience + Usable (interact) + Render time + Auto-scalable “1 second of load lag time would cost Amazon $1.6 billion in sales per year” - Amazon “A broker could lose $4 million in revenues per millisecond if their electronic trading platform is 5 milliseconds behind the competition.” “When load times jump from 1 seconds to 4 seconds, conversions decline sharply. For every 1 second of improvement, we experience a 2% conversion increase” - Walmart “In 2000, research by Microsoft placed the average human attention span at 12 seconds. By 2015, the same study found that number had fallen to just 8 seconds” - Microsoft “Google found an extra 0.5 secs in search page generation time dropped traffic by 20%.” - Google In 1993 Nielsen define 3 limits • 0.1 sec: reacting instantaneously • 1.0 sec: the limit for the user's flow of thought • 10 secs: the limit for keeping the user's attention - Nielsen Norman Group JavaScript Processing time for cnn.com • Desktop 2.061 sec • Laptop 2.891 sec • High-end Phone 3.967 sec • AVG Phone 13.355 sec • Cheap phones 36.284 sec - Addy Osmani (Google Engineer) IMPACT WHY? MOBILE • First Byte: First server response • Start Render: First visual • Load Time: beginning of the window load event (onload). • Fully Loaded: no network activity after Document Complete LOAD PHASES
  • 11. - Web page test: http://www.webpagetest.org/ - Sitespeed.io: https://www.sitespeed.io/ - GT Metrix: http://gtmetrix.com - Yslow: http://yslow.org/ - Google insights: https://developers.google.com/speed/pagespeed/insights/ - Google lighthouse: https://developers.google.com/web/tools/lighthouse/ Tools FRONTEND PERFORMANCE
  • 12. FRONTEND PERFORMANCE SITESPEED.IO docker run --shm-size=1g --rm -v <dest_folder>:/sitespeed.io sitespeedio/sitespeed.io:7.4.0 https://www.globant.com/ Some configurations - Browsers: firefox, chrome - Network: 3g, 3gfast, 3gslow, 3gem, 2g, cable, native, custom - Number of runs - Latency - Authentication - Proxy DEMO TIME
  • 13. MONITORING WITH APMs Servers resources usage Application errors and logs Internal application response time APM https://newrelic.com/products/application-monitoring APMs