SlideShare a Scribd company logo
QA standup  - workload analysis
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Eloquentperformance testing.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Serghei Radov
Current position:
Principal Performance Engineer
Contacts :
sergey.radov@gmail.com
Github: github.com/sergeyradov
Skype : serghei.radov
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
1. Amazon: 100-millisecond increase in page speed translated to a 1% increase in its
revenue.
1. Shopzilla improved their revenues by 5% to 12% after drop their page load times
from 6 to 9 seconds down to 1.2 seconds.
1. The Aberdeen Group in 2015 showing that performance issues impact revenues by
up to 9%. An average loss of $117 million per year.
1. Strangeloop (bought by Radware in 2013) showed that a 2-second delay in load
time during checkout could result in abandonment rates reaching up to 87%.
Why it matters?
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Why it matters?
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
➢ Define acceptance criteria
➢ Select tools for monitoring and testing
➢ Workload Characterization
➢ Test tools for testing
➢ Run tests, analyze, scale, re-run <- cycle
➢ Report to stakeholders
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Define performance tests SLA
● Throughput
● Expected Response times
● User count
● Thread limitation
● Resource Usage
● Time-out and e.t.c
Exceptions that can be included in the SLA:
● Failure
● Network issues
● Denial of service
● Scheduled maintenance
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
NRQL - NewRelic query language
SELECT uniqueCount(session) FROM PageView SINCE 1 week ago
SELECT uniqueCount(session) FROM PageView SINCE 1 week ago
COMPARE WITH 1 week ago
SELECT count(*) FROM PageView SINCE 1 day ago COMPARE
WITH 1 day ago TIMESERIES AUTO
SELECT uniqueCount(uuid) FROM MobileSession FACET osVersion
SINCE 7 days ago
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Gathering response times
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Transactions throughput
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Finding peaks
● Target PEAK load will be 1.14K RPM
● Lowest point will be 430 RPM
(extracted from New relic for presentation only instead of DataDog)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
➢ Define acceptance criteria
➢ Select tools for monitoring and testing
➢ Workload Characterization
➢ Test tools for testing
➢ Run tests, analyze, scale, re-run <- cycle
➢ Report to stakeholders
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Monitoring targets
● Response times
● Resource utilisation at SUT
● Resource utilisation at Test Tool
● Exceptions
● Workload behaviour
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
CPU usage per 1 server (DataDog)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Grafana
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Resource usage
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
to catch exceptions
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Workload Characterization
- Catch traffic patterns
- Resource utilisation
- Distribution of response times
- Distribution of response sizes
- Characterizations of users
behaviour
- Analyse input data
- Use performance analysis toolkit
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Traffic patterns
“Keep workload as real as possible.”
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Transactions throughput
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
- Ramp up to 430
RPM slowly to 700
RPM in 4 hours
- Run test for 6 hours
- Ramp up to 1.14K
rpm
- Run test for 11
hours
- Ramp down slowly
Scenario per one server
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Characterize user behaviour
Investigate user actions by help of
- New Relic Browser (session+funnel functions)
- Universal Analytics with User behaviour path
- Mixpanel.com (needs code injection)
- Server’s logs at NGINX
- (http requests, REST calls)
- Sumo-logic (apache access logs)
- Server’s App logs (HP ALM has QC sense)
- DB activity logs (applied solution)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
➢ Define acceptance criteria
➢ Select tools for monitoring and testing
➢ Workload Characterization
➢ Test tools for testing
➢ Run tests, analyze, scale, re-run <- cycle
➢ Report to stakeholders
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
● Jmeter
● Gatling
● Locust
● Grinder
● Tsung
Open Source load tools - 54 found
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Distributed JMeter testing
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
● BlazeMeter - (JMeter)
● Visual Studio Team Services - (JMeter)
● Flood IO - (Jmeter , Gatling, Ruby DSL)
● Redline 13 - (Jmeter , Gatling, Ruby DSL)
● OctoPerf - (JMeter)
Load Tool as Service Providers
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Create a Grid ( Docker containers)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Create a Flood (upload jmx & data)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
➢ Define acceptance criteria
➢ Select tools for monitoring and testing
➢ Workload Characterization
➢ Test tools for testing
➢ Run tests, analyze, scale, re-run <- cycle
➢ Report to stakeholders
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Let’s wait till a test is completed.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
JMeter HTML Report
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
JMeter HTML Report
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
JMeter HTML Report
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Reports
● Goals & achievements (e.g 150% of Daily RPM is reached)
● Side effects are found (DB connections limit reached due to quick
ramp up)
● Exceptions caught during testing (e.g. ELB lost connections)
● Run-time notes and fixes made by DevOps (EC2 change during the
test iterations)
● Observations ( CPU usage was critical resource during RPM
increase)
● Recommendations ( EC2 - add more VM, add more Shards DB)
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Thank you!
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Questions and Answers
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Books
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. |
Books
QA standup  - workload analysis

More Related Content

PDF
AWR and ASH in an EM12c World
PPTX
Optimizing the Enterprise Manager 12c
PPTX
Oracle Open World Exadata Monitoring and Management with EM12c
PDF
Tweet4Beer (atualizada): Torneira de Chopp Controlada por Java, JavaFX, IoT ...
PDF
Visualizing and Analyzing GC Logs with R
PDF
Oracle cmg15
PPTX
IOUG at Coors Field ASH and AWR in EM12c!
AWR and ASH in an EM12c World
Optimizing the Enterprise Manager 12c
Oracle Open World Exadata Monitoring and Management with EM12c
Tweet4Beer (atualizada): Torneira de Chopp Controlada por Java, JavaFX, IoT ...
Visualizing and Analyzing GC Logs with R
Oracle cmg15
IOUG at Coors Field ASH and AWR in EM12c!

What's hot (20)

PPTX
Servlet 4.0 Adopt-a-JSR 10 Minute Infodeck
PPT
Apache Apex & Apace Geode In-Memory Computation, Storage & Analysis
PDF
Introdução ao Oracle NoSQL
PDF
Engineered Systems: Environment-as-a-Service Demonstration
PPTX
Oracle Cloud에서 애플리케이션을 개발하고 테스트하는 손쉬운 방법
PDF
Em13c features- HotSos 2016
PDF
New Not Your Father's Enterprise Manager
PDF
Leverage integration cloud_service_for_ebs_
PDF
JavaCro'15 - Java Certification – in theory and practice - Branko Mihaljević,...
PPTX
Pimping SQL Developer and Data Modeler
PPTX
Oracle Public Cloud : Provisioning with Chef
PDF
Enhancing Primavera with User Productivity Kit
PPTX
Oracle REST Data Services
PDF
Deep dive in p6 8.3 xml import export - Oracle Primavera P6 Collaborate 14
PDF
Continuous Testing of Cloud Applications
PPTX
Oracle REST Data Services: Options for your Web Services
PDF
Oracle Cloud: Anything as a Service
PDF
An Agile Testing Dashboard: Metrics that Matter
PDF
Using Angular JS in APEX
Servlet 4.0 Adopt-a-JSR 10 Minute Infodeck
Apache Apex & Apace Geode In-Memory Computation, Storage & Analysis
Introdução ao Oracle NoSQL
Engineered Systems: Environment-as-a-Service Demonstration
Oracle Cloud에서 애플리케이션을 개발하고 테스트하는 손쉬운 방법
Em13c features- HotSos 2016
New Not Your Father's Enterprise Manager
Leverage integration cloud_service_for_ebs_
JavaCro'15 - Java Certification – in theory and practice - Branko Mihaljević,...
Pimping SQL Developer and Data Modeler
Oracle Public Cloud : Provisioning with Chef
Enhancing Primavera with User Productivity Kit
Oracle REST Data Services
Deep dive in p6 8.3 xml import export - Oracle Primavera P6 Collaborate 14
Continuous Testing of Cloud Applications
Oracle REST Data Services: Options for your Web Services
Oracle Cloud: Anything as a Service
An Agile Testing Dashboard: Metrics that Matter
Using Angular JS in APEX
Ad

Similar to QA standup - workload analysis (20)

PDF
Workload Analysis
PDF
Using MySQL Enterprise Monitor for Continuous Performance Improvement
PPTX
Kellyn Pot'Vin-Gorman - Awr and Ash
PPTX
Oracle Database Lifecycle Management
PPTX
AWR and ASH Deep Dive
PPTX
Em13c New Features- Two of Two
PPTX
Database as a Service, Collaborate 2016
PDF
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
PPTX
Performance testing in scope of migration to cloud by Serghei Radov
PPTX
Coherence 12.1.3 hidden gems
PDF
HTTP/2 Comes to Java - What Servlet 4.0 Means to You
PDF
Primavera P6 Tips and Tricks
PDF
Oracle Cloud Platform - Migrer vers la Database 12c
PPTX
Updated Power of the AWR Warehouse, Dallas, HQ, etc.
PPTX
Oracle SQL Developer for the DBA
PDF
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
PDF
Surviving Life in the JavaScript Ecosystem
PPTX
Kellyn Pot'Vin-Gorman - Power awr warehouse2
PDF
Tweet for Beer - Beertap Powered by Java Goes IoT, Cloud, and JavaFX
ODP
Scalablity and benchmark in mysql performance
Workload Analysis
Using MySQL Enterprise Monitor for Continuous Performance Improvement
Kellyn Pot'Vin-Gorman - Awr and Ash
Oracle Database Lifecycle Management
AWR and ASH Deep Dive
Em13c New Features- Two of Two
Database as a Service, Collaborate 2016
Zero to Manageability in 60 Minutes: Building a Solid Foundation for Oracle E...
Performance testing in scope of migration to cloud by Serghei Radov
Coherence 12.1.3 hidden gems
HTTP/2 Comes to Java - What Servlet 4.0 Means to You
Primavera P6 Tips and Tricks
Oracle Cloud Platform - Migrer vers la Database 12c
Updated Power of the AWR Warehouse, Dallas, HQ, etc.
Oracle SQL Developer for the DBA
OOW16 - Testing Oracle E-Business Suite Best Practices [CON6713]
Surviving Life in the JavaScript Ecosystem
Kellyn Pot'Vin-Gorman - Power awr warehouse2
Tweet for Beer - Beertap Powered by Java Goes IoT, Cloud, and JavaFX
Scalablity and benchmark in mysql performance
Ad

Recently uploaded (20)

PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Encapsulation theory and applications.pdf
PPTX
sap open course for s4hana steps from ECC to s4
PDF
Approach and Philosophy of On baking technology
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PDF
gpt5_lecture_notes_comprehensive_20250812015547.pdf
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
Empathic Computing: Creating Shared Understanding
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
PDF
Spectral efficient network and resource selection model in 5G networks
PPTX
Machine Learning_overview_presentation.pptx
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
20250228 LYD VKU AI Blended-Learning.pptx
Encapsulation_ Review paper, used for researhc scholars
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
The AUB Centre for AI in Media Proposal.docx
Encapsulation theory and applications.pdf
sap open course for s4hana steps from ECC to s4
Approach and Philosophy of On baking technology
Digital-Transformation-Roadmap-for-Companies.pptx
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
gpt5_lecture_notes_comprehensive_20250812015547.pdf
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
Empathic Computing: Creating Shared Understanding
Building Integrated photovoltaic BIPV_UPV.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Architecting across the Boundaries of two Complex Domains - Healthcare & Tech...
Spectral efficient network and resource selection model in 5G networks
Machine Learning_overview_presentation.pptx
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf

QA standup - workload analysis

  • 2. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Eloquentperformance testing.
  • 3. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Serghei Radov Current position: Principal Performance Engineer Contacts : sergey.radov@gmail.com Github: github.com/sergeyradov Skype : serghei.radov
  • 4. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 1. Amazon: 100-millisecond increase in page speed translated to a 1% increase in its revenue. 1. Shopzilla improved their revenues by 5% to 12% after drop their page load times from 6 to 9 seconds down to 1.2 seconds. 1. The Aberdeen Group in 2015 showing that performance issues impact revenues by up to 9%. An average loss of $117 million per year. 1. Strangeloop (bought by Radware in 2013) showed that a 2-second delay in load time during checkout could result in abandonment rates reaching up to 87%. Why it matters?
  • 5. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Why it matters?
  • 6. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | ➢ Define acceptance criteria ➢ Select tools for monitoring and testing ➢ Workload Characterization ➢ Test tools for testing ➢ Run tests, analyze, scale, re-run <- cycle ➢ Report to stakeholders
  • 7. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Define performance tests SLA ● Throughput ● Expected Response times ● User count ● Thread limitation ● Resource Usage ● Time-out and e.t.c Exceptions that can be included in the SLA: ● Failure ● Network issues ● Denial of service ● Scheduled maintenance
  • 8. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | NRQL - NewRelic query language SELECT uniqueCount(session) FROM PageView SINCE 1 week ago SELECT uniqueCount(session) FROM PageView SINCE 1 week ago COMPARE WITH 1 week ago SELECT count(*) FROM PageView SINCE 1 day ago COMPARE WITH 1 day ago TIMESERIES AUTO SELECT uniqueCount(uuid) FROM MobileSession FACET osVersion SINCE 7 days ago
  • 9. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Gathering response times
  • 10. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Transactions throughput
  • 11. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Finding peaks ● Target PEAK load will be 1.14K RPM ● Lowest point will be 430 RPM (extracted from New relic for presentation only instead of DataDog)
  • 12. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | ➢ Define acceptance criteria ➢ Select tools for monitoring and testing ➢ Workload Characterization ➢ Test tools for testing ➢ Run tests, analyze, scale, re-run <- cycle ➢ Report to stakeholders
  • 13. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Monitoring targets ● Response times ● Resource utilisation at SUT ● Resource utilisation at Test Tool ● Exceptions ● Workload behaviour
  • 14. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | CPU usage per 1 server (DataDog)
  • 15. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Grafana
  • 16. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Resource usage
  • 17. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | to catch exceptions
  • 18. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Workload Characterization - Catch traffic patterns - Resource utilisation - Distribution of response times - Distribution of response sizes - Characterizations of users behaviour - Analyse input data - Use performance analysis toolkit
  • 19. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Traffic patterns “Keep workload as real as possible.”
  • 20. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Transactions throughput
  • 21. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | - Ramp up to 430 RPM slowly to 700 RPM in 4 hours - Run test for 6 hours - Ramp up to 1.14K rpm - Run test for 11 hours - Ramp down slowly Scenario per one server
  • 22. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Characterize user behaviour Investigate user actions by help of - New Relic Browser (session+funnel functions) - Universal Analytics with User behaviour path - Mixpanel.com (needs code injection) - Server’s logs at NGINX - (http requests, REST calls) - Sumo-logic (apache access logs) - Server’s App logs (HP ALM has QC sense) - DB activity logs (applied solution)
  • 23. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | ➢ Define acceptance criteria ➢ Select tools for monitoring and testing ➢ Workload Characterization ➢ Test tools for testing ➢ Run tests, analyze, scale, re-run <- cycle ➢ Report to stakeholders
  • 24. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | ● Jmeter ● Gatling ● Locust ● Grinder ● Tsung Open Source load tools - 54 found
  • 25. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Distributed JMeter testing
  • 26. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | ● BlazeMeter - (JMeter) ● Visual Studio Team Services - (JMeter) ● Flood IO - (Jmeter , Gatling, Ruby DSL) ● Redline 13 - (Jmeter , Gatling, Ruby DSL) ● OctoPerf - (JMeter) Load Tool as Service Providers
  • 27. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Create a Grid ( Docker containers)
  • 28. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Create a Flood (upload jmx & data)
  • 29. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | ➢ Define acceptance criteria ➢ Select tools for monitoring and testing ➢ Workload Characterization ➢ Test tools for testing ➢ Run tests, analyze, scale, re-run <- cycle ➢ Report to stakeholders
  • 30. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Let’s wait till a test is completed.
  • 31. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | JMeter HTML Report
  • 32. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | JMeter HTML Report
  • 33. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | JMeter HTML Report
  • 34. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Reports ● Goals & achievements (e.g 150% of Daily RPM is reached) ● Side effects are found (DB connections limit reached due to quick ramp up) ● Exceptions caught during testing (e.g. ELB lost connections) ● Run-time notes and fixes made by DevOps (EC2 change during the test iterations) ● Observations ( CPU usage was critical resource during RPM increase) ● Recommendations ( EC2 - add more VM, add more Shards DB)
  • 35. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Thank you!
  • 36. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Questions and Answers
  • 37. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Books
  • 38. Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | Books

Editor's Notes