SlideShare uma empresa Scribd logo
1 de 57
Top ten secret weapons for performance testing in an agile environment patrick.kua@thoughtworks.com (and alistair.jones@thoughtworks.com) © ThoughtWorks 2011
Make Performance Explicit © ThoughtWorks 2011   1
So that I can make better investment decisions As an investor I want to see the value of my portfolio presented on a single web page must have “good” performance, less than 0.2s page load for about 10,000 concurrent users © ThoughtWorks 2011
© ThoughtWorks 2011 So that investors have a high-quality experience as the business grows As the Operations Manager I want the portfolio value page to render within 0.2s when 10,000 users are logged in
One Team © ThoughtWorks 2011    2
Team Dynamics © ThoughtWorks 2011
Performance Testers Part of Team © ThoughtWorks 2011
© ThoughtWorks 2011
Performance Testers Part of Team © ThoughtWorks 2011
Pair on Performance Test Stories © ThoughtWorks 2011
Rotate Pairs © ThoughtWorks 2011
Customer Driven © ThoughtWorks 2011       3
What was a good source of requirements? © ThoughtWorks 2011
© ThoughtWorks 2011 Existing Pain Points
An example... © ThoughtWorks 2011
So that we can budget for future hardware needs as we grow As the data centre manager I want to know how much traffic we can handle now © ThoughtWorks 2011
Another example © ThoughtWorks 2011
© ThoughtWorks 2011 So that we have confidence in meeting our SLA As the Operations Manager I want to ensure that a sustained peak load does not take out our service
Personas © ThoughtWorks 2011
Who is the customer? © ThoughtWorks 2011 Investors Marketing End Users Power  Users Operations
Discipline © ThoughtWorks 2011   4
© ThoughtWorks 2011 Observe test results What do you see? Formulate an hypothesis Why is it doing that? Design an experiment How can I prove that’s what’s happening? Run the experiment Take the time to gather the evidence. Is the hypothesis valid? Change the application code Safe in the knowledge that I’m making it faster
?????????? © ThoughtWorks 2011
© ThoughtWorks 2011 Observe test results Saw tooth pattern  (1 minute intervals) Formulate an hypothesis Directory structure of (yyyy/mm/minuteofday)?.  Slow down due to # of files in directory? Design an experiment  1 directory should result in even worse performance... Run the experiment We ran the test… Is the hypothesis valid? Change the application code
One Directory © ThoughtWorks 2011
Play Performance Early © ThoughtWorks 2011    5
© ThoughtWorks 2011 End Start Other projects start performance testing here End Start Agile projects start performance testing as early as possible
Iterate Don’t (Just) Increment © ThoughtWorks 2011        6
© ThoughtWorks 2011
We               Sashimi © ThoughtWorks 2011
Sashimi Slice By... Presentation © ThoughtWorks 2011
© ThoughtWorks 2011 So that I can better see trends in performance As the Operations Manager I want a graph of requests per second
© ThoughtWorks 2011 So that I can better see trends in performance As the Operations Manager I want a graph of average latency per second
© ThoughtWorks 2011 So that I can easily scan results at a single glance As the Operations Manager I want a one page showing all results
Sashimi Slice By...  Scenario © ThoughtWorks 2011
© ThoughtWorks 2011 So that we never have a day like “October 10” As the Operations Manager I want to ensure that a sustained peak load does not take out our service
© ThoughtWorks 2011 So that we never have a day like “November 12” As the Operations Manager I want to ensure that an escalating load up to xxx requests/second does not take out our service
Automate, Automate, Automate © ThoughtWorks 2011    7
© ThoughtWorks 2011 Automated Compilation Automated Tests Automated Packaging Automated Deployment
Automation => Reproducible and Consistent Automation => Faster Feedback Automation => Higher Productivity Why Automation? © ThoughtWorks 2011
© ThoughtWorks 2011 Automated Test Orchestration Automated Analysis Automated Scheduling Automated Load Generation Automated Application Deployment Automated Result Archiving
Continuous Performance Testing © ThoughtWorks 2011    8
© ThoughtWorks 2011
Application Build Pipelines © ThoughtWorks 2011 Performance
© ThoughtWorks 2011
Test Drive Your Performance Test Code © ThoughtWorks 2011    9
V Model Testing © ThoughtWorks 2011 Slower + Longer Performance Testing Speed Fast http://en.wikipedia.org/wiki/V-Model_(software_development)
We make mistakes © ThoughtWorks 2011
V Model Testing © ThoughtWorks 2011 Slower + Longer Performance Testing Speed Unit test performance code to fail faster Fast http://en.wikipedia.org/wiki/V-Model_(software_development)
Fail Fast! © ThoughtWorks 2011 Fast feedback! Faster learning Faster results
Classic Performance Areas to Test © ThoughtWorks 2011 Analysis Information Collection Presentation Publishing Visualisation
Get Feedback © ThoughtWorks 2011 10
Frequently (Weekly) Showcase © ThoughtWorks 2011 Here is what we learned this week....
Frequently (Weekly) Showcase © ThoughtWorks 2011 And based on this... We changed our directory structure.
Frequently (Weekly) Showcase © ThoughtWorks 2011 Should we do something different knowing this new information?
List of All Secret Weapons Make Performance Explicit One Team Customer Driven Discipline Play Performance Early Iterate Don't (Just) Increment Automate, Automate, Automate  Test Drive Your Performance Code Continuous Performance Testing Get Feedback © ThoughtWorks 2011
Photo Credits (Creative Commons licence) Barbed wire picture: http://www.flickr.com/photos/lapideo/446201948/ Eternal clock: http://www.flickr.com/photos/robbie73/3387189144/ Sashimi from http://www.flickr.com/photos/mac-ash/3719114621/ Questions © ThoughtWorks 2011

Mais conteúdo relacionado

Mais procurados

System Availability Talk
System Availability TalkSystem Availability Talk
System Availability Talkm_richardson
 
IoT to Cloud the DevOps Way
IoT to Cloud the DevOps WayIoT to Cloud the DevOps Way
IoT to Cloud the DevOps WayMark Heckler
 
Agile Testing
Agile Testing Agile Testing
Agile Testing VersionOne
 
Agile Project Management: "How I Learned to Stop Worrying and Love Agile”
Agile Project Management: "How I Learned to Stop Worrying and Love Agile”Agile Project Management: "How I Learned to Stop Worrying and Love Agile”
Agile Project Management: "How I Learned to Stop Worrying and Love Agile”VersionOne
 
The 7 Habits of Effective Data Driven Companies
The 7 Habits of Effective Data Driven CompaniesThe 7 Habits of Effective Data Driven Companies
The 7 Habits of Effective Data Driven CompaniesGoDataDriven
 
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal ReadinessTis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal ReadinessSOASTA
 
#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...
#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...
#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...Vincent Biret
 
Continuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOpsContinuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOpsSTePINForum
 
Geek Sync I Surviving the Holidays with SQL Server
Geek Sync I Surviving the Holidays with SQL ServerGeek Sync I Surviving the Holidays with SQL Server
Geek Sync I Surviving the Holidays with SQL ServerIDERA Software
 
Jeffrey Snover - Empowering DevOps with Azure Stack
Jeffrey Snover - Empowering DevOps with Azure StackJeffrey Snover - Empowering DevOps with Azure Stack
Jeffrey Snover - Empowering DevOps with Azure StackWinOps Conf
 
Atlassian's Mystique CLI, Minimizing the Experiment Development Cycle
Atlassian's Mystique CLI, Minimizing the Experiment Development CycleAtlassian's Mystique CLI, Minimizing the Experiment Development Cycle
Atlassian's Mystique CLI, Minimizing the Experiment Development CycleOptimizely
 
AB Testing at Expedia
AB Testing at ExpediaAB Testing at Expedia
AB Testing at ExpediaPaul Lucas
 
Geek Sync | Kick Start SQL Server 2016 Performance Tips and Tricks
Geek Sync | Kick Start SQL Server 2016 Performance Tips and TricksGeek Sync | Kick Start SQL Server 2016 Performance Tips and Tricks
Geek Sync | Kick Start SQL Server 2016 Performance Tips and TricksIDERA Software
 
Object-oriented design for infrastructure-as-a-code - Anna Bankirer
Object-oriented design for infrastructure-as-a-code - Anna BankirerObject-oriented design for infrastructure-as-a-code - Anna Bankirer
Object-oriented design for infrastructure-as-a-code - Anna BankirerDevOpsDays Tel Aviv
 
Agile performance testing
Agile performance testingAgile performance testing
Agile performance testingCesario Ramos
 
State of continuous delivery in 2015 - Minsk 15-5-2015
State of continuous delivery in 2015 - Minsk 15-5-2015State of continuous delivery in 2015 - Minsk 15-5-2015
State of continuous delivery in 2015 - Minsk 15-5-2015Pavel Chunyayev
 
THE PLEASURES OF ON-PREM, TOMER GABEL
THE PLEASURES OF ON-PREM, TOMER GABELTHE PLEASURES OF ON-PREM, TOMER GABEL
THE PLEASURES OF ON-PREM, TOMER GABELDevOpsDays Tel Aviv
 

Mais procurados (19)

System Availability Talk
System Availability TalkSystem Availability Talk
System Availability Talk
 
IoT to Cloud the DevOps Way
IoT to Cloud the DevOps WayIoT to Cloud the DevOps Way
IoT to Cloud the DevOps Way
 
Agile Testing
Agile Testing Agile Testing
Agile Testing
 
Agile Project Management: "How I Learned to Stop Worrying and Love Agile”
Agile Project Management: "How I Learned to Stop Worrying and Love Agile”Agile Project Management: "How I Learned to Stop Worrying and Love Agile”
Agile Project Management: "How I Learned to Stop Worrying and Love Agile”
 
The 7 Habits of Effective Data Driven Companies
The 7 Habits of Effective Data Driven CompaniesThe 7 Habits of Effective Data Driven Companies
The 7 Habits of Effective Data Driven Companies
 
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal ReadinessTis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
 
#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...
#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...
#SPSNewEngland Improving #DevOps using #Microsoft business productivity tools...
 
Continuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOpsContinuous Testing: Preparing for DevOps
Continuous Testing: Preparing for DevOps
 
Geek Sync I Surviving the Holidays with SQL Server
Geek Sync I Surviving the Holidays with SQL ServerGeek Sync I Surviving the Holidays with SQL Server
Geek Sync I Surviving the Holidays with SQL Server
 
Jeffrey Snover - Empowering DevOps with Azure Stack
Jeffrey Snover - Empowering DevOps with Azure StackJeffrey Snover - Empowering DevOps with Azure Stack
Jeffrey Snover - Empowering DevOps with Azure Stack
 
Atlassian's Mystique CLI, Minimizing the Experiment Development Cycle
Atlassian's Mystique CLI, Minimizing the Experiment Development CycleAtlassian's Mystique CLI, Minimizing the Experiment Development Cycle
Atlassian's Mystique CLI, Minimizing the Experiment Development Cycle
 
AB Testing at Expedia
AB Testing at ExpediaAB Testing at Expedia
AB Testing at Expedia
 
Geek Sync | Kick Start SQL Server 2016 Performance Tips and Tricks
Geek Sync | Kick Start SQL Server 2016 Performance Tips and TricksGeek Sync | Kick Start SQL Server 2016 Performance Tips and Tricks
Geek Sync | Kick Start SQL Server 2016 Performance Tips and Tricks
 
Object-oriented design for infrastructure-as-a-code - Anna Bankirer
Object-oriented design for infrastructure-as-a-code - Anna BankirerObject-oriented design for infrastructure-as-a-code - Anna Bankirer
Object-oriented design for infrastructure-as-a-code - Anna Bankirer
 
Dev ops
Dev opsDev ops
Dev ops
 
Open Source SLAs
Open Source SLAsOpen Source SLAs
Open Source SLAs
 
Agile performance testing
Agile performance testingAgile performance testing
Agile performance testing
 
State of continuous delivery in 2015 - Minsk 15-5-2015
State of continuous delivery in 2015 - Minsk 15-5-2015State of continuous delivery in 2015 - Minsk 15-5-2015
State of continuous delivery in 2015 - Minsk 15-5-2015
 
THE PLEASURES OF ON-PREM, TOMER GABEL
THE PLEASURES OF ON-PREM, TOMER GABELTHE PLEASURES OF ON-PREM, TOMER GABEL
THE PLEASURES OF ON-PREM, TOMER GABEL
 

Destaque

Character name ideas
Character name ideasCharacter name ideas
Character name ideassimsimma
 
Swiss Hockey League
Swiss Hockey LeagueSwiss Hockey League
Swiss Hockey Leaguedewinterm
 
Вода. Маслякова Таня 9 б
Вода. Маслякова Таня 9 бВода. Маслякова Таня 9 б
Вода. Маслякова Таня 9 бmariageograf
 
Penguin readers -_how_to_be_an_alien_-_level_3
Penguin readers -_how_to_be_an_alien_-_level_3Penguin readers -_how_to_be_an_alien_-_level_3
Penguin readers -_how_to_be_an_alien_-_level_3Pedro Jose Cutillas Perez
 
Imaging Presentation_V2
Imaging Presentation_V2 Imaging Presentation_V2
Imaging Presentation_V2 Dan Ptak
 
Arcanum (online round)
Arcanum (online round)Arcanum (online round)
Arcanum (online round)Case Champ
 

Destaque (7)

Character name ideas
Character name ideasCharacter name ideas
Character name ideas
 
B. Morlion - Introduction
B. Morlion - IntroductionB. Morlion - Introduction
B. Morlion - Introduction
 
Swiss Hockey League
Swiss Hockey LeagueSwiss Hockey League
Swiss Hockey League
 
Вода. Маслякова Таня 9 б
Вода. Маслякова Таня 9 бВода. Маслякова Таня 9 б
Вода. Маслякова Таня 9 б
 
Penguin readers -_how_to_be_an_alien_-_level_3
Penguin readers -_how_to_be_an_alien_-_level_3Penguin readers -_how_to_be_an_alien_-_level_3
Penguin readers -_how_to_be_an_alien_-_level_3
 
Imaging Presentation_V2
Imaging Presentation_V2 Imaging Presentation_V2
Imaging Presentation_V2
 
Arcanum (online round)
Arcanum (online round)Arcanum (online round)
Arcanum (online round)
 

Semelhante a Top ten secret weapons for performance testing in an agile environment

Top Ten Secret Weapons For Agile Performance Testing
Top Ten Secret Weapons For Agile Performance TestingTop Ten Secret Weapons For Agile Performance Testing
Top Ten Secret Weapons For Agile Performance TestingAndriy Melnyk
 
Axpert™ from Agile Labs, Bangalore, India
Axpert™  from Agile Labs, Bangalore, IndiaAxpert™  from Agile Labs, Bangalore, India
Axpert™ from Agile Labs, Bangalore, IndiaAGILE LABS,INDIA
 
Agile Talk at CSI Chapter, Mumbai
Agile Talk at CSI Chapter, MumbaiAgile Talk at CSI Chapter, Mumbai
Agile Talk at CSI Chapter, MumbaiHiren Doshi
 
How Salesforce built a Scalable, World-Class, Performance Engineering Team
How Salesforce built a Scalable, World-Class, Performance Engineering TeamHow Salesforce built a Scalable, World-Class, Performance Engineering Team
How Salesforce built a Scalable, World-Class, Performance Engineering TeamSalesforce Developers
 
Auto Deploy Product Guide
Auto Deploy Product GuideAuto Deploy Product Guide
Auto Deploy Product GuideMark Dalton
 
Delivering A Great End User Experience
Delivering A Great End User ExperienceDelivering A Great End User Experience
Delivering A Great End User ExperienceTrevor Warren
 
The Three Stages of Cloud Adoption - RightScale Compute 2013
The Three Stages of Cloud Adoption - RightScale Compute 2013The Three Stages of Cloud Adoption - RightScale Compute 2013
The Three Stages of Cloud Adoption - RightScale Compute 2013RightScale
 
Universal test solutions customer testimonial 10192013-v2.3
Universal test solutions customer testimonial 10192013-v2.3Universal test solutions customer testimonial 10192013-v2.3
Universal test solutions customer testimonial 10192013-v2.3Universal Technology Solutions
 
Value Driven Development by Dave Thomas
Value Driven Development by Dave Thomas Value Driven Development by Dave Thomas
Value Driven Development by Dave Thomas Naresh Jain
 
DevOps in Practice: When does "Practice" Become "Doing"?
DevOps in Practice: When does "Practice" Become "Doing"?DevOps in Practice: When does "Practice" Become "Doing"?
DevOps in Practice: When does "Practice" Become "Doing"?Michael Elder
 
How to Deliver your Oracle EBS R12 Upgrade
How to Deliver your Oracle EBS R12 UpgradeHow to Deliver your Oracle EBS R12 Upgrade
How to Deliver your Oracle EBS R12 UpgradeOriginal Software
 
Practical web performance - Site Confidence Web Performance Seminar
Practical web performance - Site Confidence Web Performance SeminarPractical web performance - Site Confidence Web Performance Seminar
Practical web performance - Site Confidence Web Performance SeminarStephen Thair
 
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.2Universal Technology Solutions
 
MuleSoft_NZ_Meetup_8
MuleSoft_NZ_Meetup_8MuleSoft_NZ_Meetup_8
MuleSoft_NZ_Meetup_8MizuhoHoshino
 
The Complete User Experience Monitoring Solution - eG Enterprise v7
The Complete User Experience Monitoring Solution - eG Enterprise v7The Complete User Experience Monitoring Solution - eG Enterprise v7
The Complete User Experience Monitoring Solution - eG Enterprise v7eG Innovations
 
Become Customer Centric with EngageOne
Become Customer Centric with EngageOneBecome Customer Centric with EngageOne
Become Customer Centric with EngageOnePrecisely
 
Mobile and agile the floating writer's survival kit
Mobile and agile   the floating writer's survival kitMobile and agile   the floating writer's survival kit
Mobile and agile the floating writer's survival kitAlyssa Fox
 
Enate Pilot
Enate PilotEnate Pilot
Enate PilotJen Shaw
 

Semelhante a Top ten secret weapons for performance testing in an agile environment (20)

Top Ten Secret Weapons For Agile Performance Testing
Top Ten Secret Weapons For Agile Performance TestingTop Ten Secret Weapons For Agile Performance Testing
Top Ten Secret Weapons For Agile Performance Testing
 
Axpert™ from Agile Labs, Bangalore, India
Axpert™  from Agile Labs, Bangalore, IndiaAxpert™  from Agile Labs, Bangalore, India
Axpert™ from Agile Labs, Bangalore, India
 
Agile Talk at CSI Chapter, Mumbai
Agile Talk at CSI Chapter, MumbaiAgile Talk at CSI Chapter, Mumbai
Agile Talk at CSI Chapter, Mumbai
 
How Salesforce built a Scalable, World-Class, Performance Engineering Team
How Salesforce built a Scalable, World-Class, Performance Engineering TeamHow Salesforce built a Scalable, World-Class, Performance Engineering Team
How Salesforce built a Scalable, World-Class, Performance Engineering Team
 
Auto Deploy Product Guide
Auto Deploy Product GuideAuto Deploy Product Guide
Auto Deploy Product Guide
 
Delivering A Great End User Experience
Delivering A Great End User ExperienceDelivering A Great End User Experience
Delivering A Great End User Experience
 
The Three Stages of Cloud Adoption - RightScale Compute 2013
The Three Stages of Cloud Adoption - RightScale Compute 2013The Three Stages of Cloud Adoption - RightScale Compute 2013
The Three Stages of Cloud Adoption - RightScale Compute 2013
 
Universal test solutions customer testimonial 10192013-v2.3
Universal test solutions customer testimonial 10192013-v2.3Universal test solutions customer testimonial 10192013-v2.3
Universal test solutions customer testimonial 10192013-v2.3
 
Value Driven Development by Dave Thomas
Value Driven Development by Dave Thomas Value Driven Development by Dave Thomas
Value Driven Development by Dave Thomas
 
DevOps in Practice: When does "Practice" Become "Doing"?
DevOps in Practice: When does "Practice" Become "Doing"?DevOps in Practice: When does "Practice" Become "Doing"?
DevOps in Practice: When does "Practice" Become "Doing"?
 
How to Deliver your Oracle EBS R12 Upgrade
How to Deliver your Oracle EBS R12 UpgradeHow to Deliver your Oracle EBS R12 Upgrade
How to Deliver your Oracle EBS R12 Upgrade
 
Practical web performance - Site Confidence Web Performance Seminar
Practical web performance - Site Confidence Web Performance SeminarPractical web performance - Site Confidence Web Performance Seminar
Practical web performance - Site Confidence Web Performance Seminar
 
Tw specifications for-testing1
Tw specifications for-testing1Tw specifications for-testing1
Tw specifications for-testing1
 
Fundamentals Performance Testing
Fundamentals Performance TestingFundamentals Performance Testing
Fundamentals Performance Testing
 
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
 
MuleSoft_NZ_Meetup_8
MuleSoft_NZ_Meetup_8MuleSoft_NZ_Meetup_8
MuleSoft_NZ_Meetup_8
 
The Complete User Experience Monitoring Solution - eG Enterprise v7
The Complete User Experience Monitoring Solution - eG Enterprise v7The Complete User Experience Monitoring Solution - eG Enterprise v7
The Complete User Experience Monitoring Solution - eG Enterprise v7
 
Become Customer Centric with EngageOne
Become Customer Centric with EngageOneBecome Customer Centric with EngageOne
Become Customer Centric with EngageOne
 
Mobile and agile the floating writer's survival kit
Mobile and agile   the floating writer's survival kitMobile and agile   the floating writer's survival kit
Mobile and agile the floating writer's survival kit
 
Enate Pilot
Enate PilotEnate Pilot
Enate Pilot
 

Último

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...apidays
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
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 2024The Digital Insurer
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxMalak Abu Hammad
 
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...Miguel Araújo
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
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 AutomationSafe Software
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Servicegiselly40
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slidevu2urc
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerThousandEyes
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityPrincipled Technologies
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEarley Information Science
 

Último (20)

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...
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
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
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
The Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptxThe Codex of Business Writing Software for Real-World Solutions 2.pptx
The Codex of Business Writing Software for Real-World Solutions 2.pptx
 
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...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
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
 
CNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of ServiceCNv6 Instructor Chapter 6 Quality of Service
CNv6 Instructor Chapter 6 Quality of Service
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Boost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivityBoost PC performance: How more available memory can improve productivity
Boost PC performance: How more available memory can improve productivity
 
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptxEIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
EIS-Webinar-Prompt-Knowledge-Eng-2024-04-08.pptx
 

Top ten secret weapons for performance testing in an agile environment

  • 1. Top ten secret weapons for performance testing in an agile environment patrick.kua@thoughtworks.com (and alistair.jones@thoughtworks.com) © ThoughtWorks 2011
  • 2. Make Performance Explicit © ThoughtWorks 2011 1
  • 3. So that I can make better investment decisions As an investor I want to see the value of my portfolio presented on a single web page must have “good” performance, less than 0.2s page load for about 10,000 concurrent users © ThoughtWorks 2011
  • 4. © ThoughtWorks 2011 So that investors have a high-quality experience as the business grows As the Operations Manager I want the portfolio value page to render within 0.2s when 10,000 users are logged in
  • 5. One Team © ThoughtWorks 2011 2
  • 6. Team Dynamics © ThoughtWorks 2011
  • 7. Performance Testers Part of Team © ThoughtWorks 2011
  • 9. Performance Testers Part of Team © ThoughtWorks 2011
  • 10. Pair on Performance Test Stories © ThoughtWorks 2011
  • 11. Rotate Pairs © ThoughtWorks 2011
  • 12. Customer Driven © ThoughtWorks 2011 3
  • 13. What was a good source of requirements? © ThoughtWorks 2011
  • 14. © ThoughtWorks 2011 Existing Pain Points
  • 15. An example... © ThoughtWorks 2011
  • 16. So that we can budget for future hardware needs as we grow As the data centre manager I want to know how much traffic we can handle now © ThoughtWorks 2011
  • 17. Another example © ThoughtWorks 2011
  • 18. © ThoughtWorks 2011 So that we have confidence in meeting our SLA As the Operations Manager I want to ensure that a sustained peak load does not take out our service
  • 20. Who is the customer? © ThoughtWorks 2011 Investors Marketing End Users Power Users Operations
  • 22. © ThoughtWorks 2011 Observe test results What do you see? Formulate an hypothesis Why is it doing that? Design an experiment How can I prove that’s what’s happening? Run the experiment Take the time to gather the evidence. Is the hypothesis valid? Change the application code Safe in the knowledge that I’m making it faster
  • 24. © ThoughtWorks 2011 Observe test results Saw tooth pattern (1 minute intervals) Formulate an hypothesis Directory structure of (yyyy/mm/minuteofday)?. Slow down due to # of files in directory? Design an experiment 1 directory should result in even worse performance... Run the experiment We ran the test… Is the hypothesis valid? Change the application code
  • 25. One Directory © ThoughtWorks 2011
  • 26. Play Performance Early © ThoughtWorks 2011 5
  • 27. © ThoughtWorks 2011 End Start Other projects start performance testing here End Start Agile projects start performance testing as early as possible
  • 28. Iterate Don’t (Just) Increment © ThoughtWorks 2011 6
  • 30. We Sashimi © ThoughtWorks 2011
  • 31. Sashimi Slice By... Presentation © ThoughtWorks 2011
  • 32. © ThoughtWorks 2011 So that I can better see trends in performance As the Operations Manager I want a graph of requests per second
  • 33. © ThoughtWorks 2011 So that I can better see trends in performance As the Operations Manager I want a graph of average latency per second
  • 34. © ThoughtWorks 2011 So that I can easily scan results at a single glance As the Operations Manager I want a one page showing all results
  • 35. Sashimi Slice By... Scenario © ThoughtWorks 2011
  • 36. © ThoughtWorks 2011 So that we never have a day like “October 10” As the Operations Manager I want to ensure that a sustained peak load does not take out our service
  • 37. © ThoughtWorks 2011 So that we never have a day like “November 12” As the Operations Manager I want to ensure that an escalating load up to xxx requests/second does not take out our service
  • 38. Automate, Automate, Automate © ThoughtWorks 2011 7
  • 39. © ThoughtWorks 2011 Automated Compilation Automated Tests Automated Packaging Automated Deployment
  • 40. Automation => Reproducible and Consistent Automation => Faster Feedback Automation => Higher Productivity Why Automation? © ThoughtWorks 2011
  • 41. © ThoughtWorks 2011 Automated Test Orchestration Automated Analysis Automated Scheduling Automated Load Generation Automated Application Deployment Automated Result Archiving
  • 42. Continuous Performance Testing © ThoughtWorks 2011 8
  • 44. Application Build Pipelines © ThoughtWorks 2011 Performance
  • 46. Test Drive Your Performance Test Code © ThoughtWorks 2011 9
  • 47. V Model Testing © ThoughtWorks 2011 Slower + Longer Performance Testing Speed Fast http://en.wikipedia.org/wiki/V-Model_(software_development)
  • 48. We make mistakes © ThoughtWorks 2011
  • 49. V Model Testing © ThoughtWorks 2011 Slower + Longer Performance Testing Speed Unit test performance code to fail faster Fast http://en.wikipedia.org/wiki/V-Model_(software_development)
  • 50. Fail Fast! © ThoughtWorks 2011 Fast feedback! Faster learning Faster results
  • 51. Classic Performance Areas to Test © ThoughtWorks 2011 Analysis Information Collection Presentation Publishing Visualisation
  • 52. Get Feedback © ThoughtWorks 2011 10
  • 53. Frequently (Weekly) Showcase © ThoughtWorks 2011 Here is what we learned this week....
  • 54. Frequently (Weekly) Showcase © ThoughtWorks 2011 And based on this... We changed our directory structure.
  • 55. Frequently (Weekly) Showcase © ThoughtWorks 2011 Should we do something different knowing this new information?
  • 56. List of All Secret Weapons Make Performance Explicit One Team Customer Driven Discipline Play Performance Early Iterate Don't (Just) Increment Automate, Automate, Automate Test Drive Your Performance Code Continuous Performance Testing Get Feedback © ThoughtWorks 2011
  • 57. Photo Credits (Creative Commons licence) Barbed wire picture: http://www.flickr.com/photos/lapideo/446201948/ Eternal clock: http://www.flickr.com/photos/robbie73/3387189144/ Sashimi from http://www.flickr.com/photos/mac-ash/3719114621/ Questions © ThoughtWorks 2011