SlideShare a Scribd company logo
1 of 28
Download to read offline
RESILIENCE
TESTING!
Why should you?
Geoffrey Arij van der Tas
Quality & Team Performance Coach
3
4
Geoffrey van der Tas
TEAM & QUALITY COACH
2012 – Started in Testing
2015 – Training About
Resilience Testing @ING
2018 – Workshop about
Resilience Testing
5
Inspire
open your eyes for something new
• Why is it important?
• What is the impact of new technologies?
• What is Resilience testing exactly?
• How to start with it?
• Do it yourself tips for after the presentation!?
AGENDA
7
DEMANDS HAVE CHANGED
8
● Dutch Banks (source:DNB):
• 2016: 99,64% (30 hours downtime)
• 2017: 99,76% (20 hours downtime)
• 2018: 99,88% (10 hours downtime)
• 2020: 99,94 (5 hours downtime)
• Netflix: 99,98% (less 3 hours downtime)
• AWS: 99,7%
ABOUT THOSE DEMANDS
9
IT HAS CHANGED
RESILIENCE
“the ability of a substance or object to spring back
into shape; elasticity” – google dictionary
IT RESILIENCE?
“ Resilience is the ability of a system
to withstand a major disruption
within acceptable degradation
parameters and to recover within an
acceptable time and composite costs
and risks. ”
GOAL OF BEING RESILIENT IS:
● Availability
● Less downtime
● Quicker recovery
● More fault tollerant
● Performance
● Security
● Integrity
● Customer Feedback
12
RESILIENCE
Infra
People &
Processes
Software
Examples:
Load Balancing
Stand-by servers
Examples:
Stand-by shifts
Release protocols
Examples:
Re-try Pattern
Circuit Breaker Pattern
WHERE TO START?
14
BRAINSTORM ABOUT FAILURES
15
Business impact
Probability
Database Failure
Database Downtime
API Failure
Storage Full
Network Downtime
IP renewal
High Load
1 API Fails
RESILIENCE PATTERNS
16https://blog.codecentric.de/en/2019/06/resilience-design-patterns-
retry-fallback-timeout-circuit-breaker/
17
SEQUENCE DIAGRAMS
18
HOW TO TEST IT?
19
Load Generator Monitoring
PERFORMANCE TESTING TYPES
Load
Time
0 Long
High
Load
Stress
Endurance
12h
Spike
HOW TO TEST IT?
20
Load Generator Monitoring
INTRODUCING FAILURES
21
Load
Generator
Monitoring
INTRODUCING FAILURES
22
Load
Generator
Monitoring
/etc/init.d/networking restart
dd bs=2048 if=/dev/urandom of=/dev/null
stress –i 1 –t 60
https://github.com/Netflix/SimianArmy
https://github.com/Shopify/toxiproxy
HOW TO ANALYZE IT?
23
WANT TO TRY YOURSELF?
Website with Microservices architecture and communication between front-end, API and Database
● Platform: Docker or Kubernetes
● Monitoring: Prometheus & Grafana
Add a performance test:
● Gatling
● Jmeter
Add a Failure:
● Kill POD
● Stress a POD
● Chaos Monkey
Socks Shop: https://microservices-demo.github.io/
24
Read about it:
Resilience:
https://netflixtechblog.com/tagged/resilience
https://www.zerto.com/the-platform/what-is-it-resilience/
Resilience patterns:
https://www.jrebel.com/blog/microservices-resilience-
patterns
https://medium.com/@adhorn/patterns-for-resilient-
architecture-part-1-d3b60cd8d2b6
Resilience Testing:
https://usersnap.com/blog/resilience-testing/
https://thenewstack.io/the-importance-of-resilience-
testing-and-observability/
https://en.wikipedia.org/wiki/Chaos_engineering
Doing it:
● Performance testing:
● Gatling - https://gatling.io/
● Jmeter - https://jmeter.apache.org/
● Test target:
● Socks website - https://microservices-demo.github.io/
● Platform
● Docker - https://www.docker.com/
● Kubernetes - https://kubernetes.io/
● Tools for failures:
● Nstress - https://www.ibm.com/support/pages/stress-test-your-
aix-or-linux-server-nstress
● Simian Army - https://github.com/Netflix/SimianArmy
● ToxiProxy - https://github.com/Shopify/toxiproxy
● Stress Container - https://github.com/progrium/docker-stress
● Monitoring
● Prometheus - https://prometheus.io/
● Graphana - https://grafana.com/
● Dynatrace - https://www.dynatrace.com/
COMPLEX? TOO HARD?
● Not really.. Start small..
● Reboot a Server
● Delete a database
● Kill a service on your machine
● See what happens? Resilience is about:
26
“the ability of a substance or object to spring back
into shape; elasticity” – google dictionary
Platform & System
Load Generator
27
● Why Should you?
● Microservices, Cloud & Always online
● Decreasing fault margines
● Decreasing response times
● Where to start?
● Brainstorm
● Resiliency Patterns
● Communication (Sequence Diagrams)
● Resilience – Testing the elasticity of your IT services
● Performance testing;
● Introducing Failures;
● Monitoring/Alerting;
● Analyse it;
CONCLUSION RESILIENCE
Monitoring & Analyzing
Failures
<./Command>
Read about it:
Resilience:
https://netflixtechblog.com/tagged/resilience
https://www.zerto.com/the-platform/what-is-it-resilience/
Resilience patterns:
https://www.jrebel.com/blog/microservices-resilience-
patterns
https://medium.com/@adhorn/patterns-for-resilient-
architecture-part-1-d3b60cd8d2b6
https://blog.codecentric.de/en/2019/06/resilience-design-
patterns-retry-fallback-timeout-circuit-breaker/
Resilience Testing:
https://usersnap.com/blog/resilience-testing/
https://thenewstack.io/the-importance-of-resilience-
testing-and-observability/
https://en.wikipedia.org/wiki/Chaos_engineering
Doing it:
● Performance testing:
● Gatling - https://gatling.io/
● Jmeter - https://jmeter.apache.org/
● Test target:
● Socks website - https://microservices-demo.github.io/
● Platform
● Docker - https://www.docker.com/
● Kubernetes - https://kubernetes.io/
● Tools for failures:
● Nstress - https://www.ibm.com/support/pages/stress-test-your-
aix-or-linux-server-nstress
● Simian Army - https://github.com/Netflix/SimianArmy
● ToxiProxy - https://github.com/Shopify/toxiproxy
● Stress Container - https://github.com/progrium/docker-stress
● Monitoring
● Prometheus - https://prometheus.io/
● Graphana - https://grafana.com/
● Dynatrace - https://www.dynatrace.com/

More Related Content

What's hot

Chaos Engineering - The Art of Breaking Things in Production
Chaos Engineering - The Art of Breaking Things in ProductionChaos Engineering - The Art of Breaking Things in Production
Chaos Engineering - The Art of Breaking Things in ProductionKeet Sugathadasa
 
Elephant Carpaccio
Elephant CarpaccioElephant Carpaccio
Elephant CarpaccioLars Thorup
 
The Art of the Retrospective: How to run an awesome retrospective meeting
The Art of the Retrospective: How to run an awesome retrospective meetingThe Art of the Retrospective: How to run an awesome retrospective meeting
The Art of the Retrospective: How to run an awesome retrospective meetingChris Smith
 
Product Backlog Refinement
Product Backlog RefinementProduct Backlog Refinement
Product Backlog RefinementKatarzyna Kot
 
User Story Mapping, Discover the whole story
User Story Mapping, Discover the whole storyUser Story Mapping, Discover the whole story
User Story Mapping, Discover the whole storyJeff Patton
 
Chaos Engineering with Kubernetes - Berlin / Hamburg Chaos Engineering Meetup...
Chaos Engineering with Kubernetes - Berlin / Hamburg Chaos Engineering Meetup...Chaos Engineering with Kubernetes - Berlin / Hamburg Chaos Engineering Meetup...
Chaos Engineering with Kubernetes - Berlin / Hamburg Chaos Engineering Meetup...Ana Medina
 
Cloud-based Performance & Web Load Testing
Cloud-based Performance & Web Load TestingCloud-based Performance & Web Load Testing
Cloud-based Performance & Web Load TestingInCycleSoftware
 
Water-Scrum-Fall: The Good, the Bad, and the [Scrum]Butt-Ugly
Water-Scrum-Fall: The Good, the Bad, and the [Scrum]Butt-UglyWater-Scrum-Fall: The Good, the Bad, and the [Scrum]Butt-Ugly
Water-Scrum-Fall: The Good, the Bad, and the [Scrum]Butt-UglyBrad Appleton
 
Agile Scrum Training, Day 1 (1/2)
Agile Scrum Training, Day 1 (1/2)Agile Scrum Training, Day 1 (1/2)
Agile Scrum Training, Day 1 (1/2)Jens Wilke
 
The Four Keys - Measuring DevOps Success
The Four Keys - Measuring DevOps SuccessThe Four Keys - Measuring DevOps Success
The Four Keys - Measuring DevOps SuccessDina Graves Portman
 
Ship quality mobile apps with speed [Webinar]
Ship quality mobile apps with speed [Webinar]Ship quality mobile apps with speed [Webinar]
Ship quality mobile apps with speed [Webinar]BrowserStack
 
Slicing user stories
Slicing user storiesSlicing user stories
Slicing user storiesDavid Michel
 
JIRA Performance Testing in Pictures - Edward Bukoski Michael March
JIRA Performance Testing in Pictures - Edward Bukoski Michael MarchJIRA Performance Testing in Pictures - Edward Bukoski Michael March
JIRA Performance Testing in Pictures - Edward Bukoski Michael MarchAtlassian
 
Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)
Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)
Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)Matthew Philip
 
Certified Scrum Product Owner: class desk, posters and photos
Certified Scrum Product Owner: class desk, posters and photosCertified Scrum Product Owner: class desk, posters and photos
Certified Scrum Product Owner: class desk, posters and photosAlexey Krivitsky
 

What's hot (20)

Agile Scrum Estimation
Agile   Scrum EstimationAgile   Scrum Estimation
Agile Scrum Estimation
 
Chaos Engineering - The Art of Breaking Things in Production
Chaos Engineering - The Art of Breaking Things in ProductionChaos Engineering - The Art of Breaking Things in Production
Chaos Engineering - The Art of Breaking Things in Production
 
Elephant Carpaccio
Elephant CarpaccioElephant Carpaccio
Elephant Carpaccio
 
The Art of the Retrospective: How to run an awesome retrospective meeting
The Art of the Retrospective: How to run an awesome retrospective meetingThe Art of the Retrospective: How to run an awesome retrospective meeting
The Art of the Retrospective: How to run an awesome retrospective meeting
 
Product Backlog Refinement
Product Backlog RefinementProduct Backlog Refinement
Product Backlog Refinement
 
User Story Mapping, Discover the whole story
User Story Mapping, Discover the whole storyUser Story Mapping, Discover the whole story
User Story Mapping, Discover the whole story
 
Chaos Engineering with Kubernetes - Berlin / Hamburg Chaos Engineering Meetup...
Chaos Engineering with Kubernetes - Berlin / Hamburg Chaos Engineering Meetup...Chaos Engineering with Kubernetes - Berlin / Hamburg Chaos Engineering Meetup...
Chaos Engineering with Kubernetes - Berlin / Hamburg Chaos Engineering Meetup...
 
Cloud-based Performance & Web Load Testing
Cloud-based Performance & Web Load TestingCloud-based Performance & Web Load Testing
Cloud-based Performance & Web Load Testing
 
Water-Scrum-Fall: The Good, the Bad, and the [Scrum]Butt-Ugly
Water-Scrum-Fall: The Good, the Bad, and the [Scrum]Butt-UglyWater-Scrum-Fall: The Good, the Bad, and the [Scrum]Butt-Ugly
Water-Scrum-Fall: The Good, the Bad, and the [Scrum]Butt-Ugly
 
Agile estimation
Agile estimationAgile estimation
Agile estimation
 
Agile Scrum Training, Day 1 (1/2)
Agile Scrum Training, Day 1 (1/2)Agile Scrum Training, Day 1 (1/2)
Agile Scrum Training, Day 1 (1/2)
 
Kanban
KanbanKanban
Kanban
 
Observability
ObservabilityObservability
Observability
 
The Four Keys - Measuring DevOps Success
The Four Keys - Measuring DevOps SuccessThe Four Keys - Measuring DevOps Success
The Four Keys - Measuring DevOps Success
 
Ship quality mobile apps with speed [Webinar]
Ship quality mobile apps with speed [Webinar]Ship quality mobile apps with speed [Webinar]
Ship quality mobile apps with speed [Webinar]
 
Slicing user stories
Slicing user storiesSlicing user stories
Slicing user stories
 
JIRA Performance Testing in Pictures - Edward Bukoski Michael March
JIRA Performance Testing in Pictures - Edward Bukoski Michael MarchJIRA Performance Testing in Pictures - Edward Bukoski Michael March
JIRA Performance Testing in Pictures - Edward Bukoski Michael March
 
Kanban Workshop
Kanban WorkshopKanban Workshop
Kanban Workshop
 
Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)
Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)
Forecasting with Less Effort and More Accuracy (Agile Camp NY 2018)
 
Certified Scrum Product Owner: class desk, posters and photos
Certified Scrum Product Owner: class desk, posters and photosCertified Scrum Product Owner: class desk, posters and photos
Certified Scrum Product Owner: class desk, posters and photos
 

Similar to Resilience testing! Why should you

Droidcon Spain 2016 - The Pragmatic Android Programmer: from hype to reality
 Droidcon Spain 2016 - The Pragmatic Android Programmer: from hype to reality Droidcon Spain 2016 - The Pragmatic Android Programmer: from hype to reality
Droidcon Spain 2016 - The Pragmatic Android Programmer: from hype to realityDaniel Gallego Vico
 
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...Federico Toledo
 
A confused tester in agile world finalversion
A confused tester in agile world finalversionA confused tester in agile world finalversion
A confused tester in agile world finalversionAshish Kumar
 
Advanced A/B Testing at Wix - Aviran Mordo and Sagy Rozman, Wix.com
Advanced A/B Testing at Wix - Aviran Mordo and Sagy Rozman, Wix.comAdvanced A/B Testing at Wix - Aviran Mordo and Sagy Rozman, Wix.com
Advanced A/B Testing at Wix - Aviran Mordo and Sagy Rozman, Wix.comDevOpsDays Tel Aviv
 
Continuous delivery is more than dev ops
Continuous delivery is more than dev opsContinuous delivery is more than dev ops
Continuous delivery is more than dev opsAgile Montréal
 
Agile testing - Principles and best practices
Agile testing  - Principles and best practicesAgile testing  - Principles and best practices
Agile testing - Principles and best practicesDr Ganesh Iyer
 
Cynthia Wu: Satisfaction Not Guaranteed
Cynthia Wu: Satisfaction Not GuaranteedCynthia Wu: Satisfaction Not Guaranteed
Cynthia Wu: Satisfaction Not GuaranteedAnna Royzman
 
The Holy Trinity of UI Testing by Diego Molina
The Holy Trinity of UI Testing by Diego MolinaThe Holy Trinity of UI Testing by Diego Molina
The Holy Trinity of UI Testing by Diego MolinaSauce Labs
 
Agile2018 Top 10 Takeaways - Synerzip
Agile2018 Top 10 Takeaways - SynerzipAgile2018 Top 10 Takeaways - Synerzip
Agile2018 Top 10 Takeaways - SynerzipSynerzip
 
From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]Dynatrace
 
Ensuring Performance in a Fast-Paced Environment (CMG 2014)
Ensuring Performance in a Fast-Paced Environment (CMG 2014)Ensuring Performance in a Fast-Paced Environment (CMG 2014)
Ensuring Performance in a Fast-Paced Environment (CMG 2014)Martin Spier
 
Agile Testing 2020
Agile Testing 2020Agile Testing 2020
Agile Testing 2020arzu TR
 
Ff for product success
Ff for product successFf for product success
Ff for product successVWO
 
10 Emerging Test Frameworks for Cross Browser Testing
10 Emerging Test Frameworks for Cross Browser Testing10 Emerging Test Frameworks for Cross Browser Testing
10 Emerging Test Frameworks for Cross Browser TestingPerfecto by Perforce
 
Continuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile DevelopmentContinuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile DevelopmentDynatrace
 
Why Should I Trust on FIWARE?
Why Should I Trust on FIWARE?Why Should I Trust on FIWARE?
Why Should I Trust on FIWARE?FIWARE
 
Advanced automated visual testing at DrupalCon Europe 2020
Advanced automated visual testing at DrupalCon Europe 2020Advanced automated visual testing at DrupalCon Europe 2020
Advanced automated visual testing at DrupalCon Europe 2020Shweta Sharma
 
Continuous testing in agile projects 2015
Continuous testing in agile projects 2015Continuous testing in agile projects 2015
Continuous testing in agile projects 2015Fabricio Epaminondas
 

Similar to Resilience testing! Why should you (20)

Droidcon Spain 2016 - The Pragmatic Android Programmer: from hype to reality
 Droidcon Spain 2016 - The Pragmatic Android Programmer: from hype to reality Droidcon Spain 2016 - The Pragmatic Android Programmer: from hype to reality
Droidcon Spain 2016 - The Pragmatic Android Programmer: from hype to reality
 
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...
QA&test 2016 (Bilbao) Pros and Cons of Doing Performance Testing Along with D...
 
A confused tester in agile world finalversion
A confused tester in agile world finalversionA confused tester in agile world finalversion
A confused tester in agile world finalversion
 
Advanced A/B Testing at Wix - Aviran Mordo and Sagy Rozman, Wix.com
Advanced A/B Testing at Wix - Aviran Mordo and Sagy Rozman, Wix.comAdvanced A/B Testing at Wix - Aviran Mordo and Sagy Rozman, Wix.com
Advanced A/B Testing at Wix - Aviran Mordo and Sagy Rozman, Wix.com
 
Hardening
HardeningHardening
Hardening
 
Continuous delivery is more than dev ops
Continuous delivery is more than dev opsContinuous delivery is more than dev ops
Continuous delivery is more than dev ops
 
Agile testing - Principles and best practices
Agile testing  - Principles and best practicesAgile testing  - Principles and best practices
Agile testing - Principles and best practices
 
Cynthia Wu: Satisfaction Not Guaranteed
Cynthia Wu: Satisfaction Not GuaranteedCynthia Wu: Satisfaction Not Guaranteed
Cynthia Wu: Satisfaction Not Guaranteed
 
The Holy Trinity of UI Testing by Diego Molina
The Holy Trinity of UI Testing by Diego MolinaThe Holy Trinity of UI Testing by Diego Molina
The Holy Trinity of UI Testing by Diego Molina
 
Agile2018 Top 10 Takeaways - Synerzip
Agile2018 Top 10 Takeaways - SynerzipAgile2018 Top 10 Takeaways - Synerzip
Agile2018 Top 10 Takeaways - Synerzip
 
From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]From 0 to DevOps in 80 Days [Webinar Replay]
From 0 to DevOps in 80 Days [Webinar Replay]
 
Ensuring Performance in a Fast-Paced Environment (CMG 2014)
Ensuring Performance in a Fast-Paced Environment (CMG 2014)Ensuring Performance in a Fast-Paced Environment (CMG 2014)
Ensuring Performance in a Fast-Paced Environment (CMG 2014)
 
Agile Testing 2020
Agile Testing 2020Agile Testing 2020
Agile Testing 2020
 
Ff for product success
Ff for product successFf for product success
Ff for product success
 
10 Emerging Test Frameworks for Cross Browser Testing
10 Emerging Test Frameworks for Cross Browser Testing10 Emerging Test Frameworks for Cross Browser Testing
10 Emerging Test Frameworks for Cross Browser Testing
 
QA metrics in Agile (GUIDE)
QA metrics in Agile (GUIDE)QA metrics in Agile (GUIDE)
QA metrics in Agile (GUIDE)
 
Continuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile DevelopmentContinuous Performance Testing and Monitoring in Agile Development
Continuous Performance Testing and Monitoring in Agile Development
 
Why Should I Trust on FIWARE?
Why Should I Trust on FIWARE?Why Should I Trust on FIWARE?
Why Should I Trust on FIWARE?
 
Advanced automated visual testing at DrupalCon Europe 2020
Advanced automated visual testing at DrupalCon Europe 2020Advanced automated visual testing at DrupalCon Europe 2020
Advanced automated visual testing at DrupalCon Europe 2020
 
Continuous testing in agile projects 2015
Continuous testing in agile projects 2015Continuous testing in agile projects 2015
Continuous testing in agile projects 2015
 

Recently uploaded

Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsAlberto González Trastoy
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfkalichargn70th171
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdfWave PLM
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfryanfarris8
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension AidPhilip Schwarz
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfkalichargn70th171
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfVishalKumarJha10
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comFatema Valibhai
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxComplianceQuest1
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsArshad QA
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 

Recently uploaded (20)

Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time ApplicationsUnveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
Unveiling the Tech Salsa of LAMs with Janus in Real-Time Applications
 
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdfThe Ultimate Test Automation Guide_ Best Practices and Tips.pdf
The Ultimate Test Automation Guide_ Best Practices and Tips.pdf
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICECHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
CHEAP Call Girls in Pushp Vihar (-DELHI )🔝 9953056974🔝(=)/CALL GIRLS SERVICE
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS LiveVip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
Vip Call Girls Noida ➡️ Delhi ➡️ 9999965857 No Advance 24HRS Live
 
5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf5 Signs You Need a Fashion PLM Software.pdf
5 Signs You Need a Fashion PLM Software.pdf
 
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdfAzure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
Azure_Native_Qumulo_High_Performance_Compute_Benchmarks.pdf
 
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
Direct Style Effect Systems -The Print[A] Example- A Comprehension AidDirect Style Effect Systems -The Print[A] Example- A Comprehension Aid
Direct Style Effect Systems - The Print[A] Example - A Comprehension Aid
 
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdfLearn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
Learn the Fundamentals of XCUITest Framework_ A Beginner's Guide.pdf
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
HR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.comHR Software Buyers Guide in 2024 - HRSoftware.com
HR Software Buyers Guide in 2024 - HRSoftware.com
 
A Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docxA Secure and Reliable Document Management System is Essential.docx
A Secure and Reliable Document Management System is Essential.docx
 
Software Quality Assurance Interview Questions
Software Quality Assurance Interview QuestionsSoftware Quality Assurance Interview Questions
Software Quality Assurance Interview Questions
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdf
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 

Resilience testing! Why should you

  • 1. RESILIENCE TESTING! Why should you? Geoffrey Arij van der Tas Quality & Team Performance Coach
  • 2.
  • 3. 3
  • 4. 4 Geoffrey van der Tas TEAM & QUALITY COACH 2012 – Started in Testing 2015 – Training About Resilience Testing @ING 2018 – Workshop about Resilience Testing
  • 5. 5 Inspire open your eyes for something new
  • 6. • Why is it important? • What is the impact of new technologies? • What is Resilience testing exactly? • How to start with it? • Do it yourself tips for after the presentation!? AGENDA
  • 8. 8 ● Dutch Banks (source:DNB): • 2016: 99,64% (30 hours downtime) • 2017: 99,76% (20 hours downtime) • 2018: 99,88% (10 hours downtime) • 2020: 99,94 (5 hours downtime) • Netflix: 99,98% (less 3 hours downtime) • AWS: 99,7% ABOUT THOSE DEMANDS
  • 10. RESILIENCE “the ability of a substance or object to spring back into shape; elasticity” – google dictionary
  • 11. IT RESILIENCE? “ Resilience is the ability of a system to withstand a major disruption within acceptable degradation parameters and to recover within an acceptable time and composite costs and risks. ”
  • 12. GOAL OF BEING RESILIENT IS: ● Availability ● Less downtime ● Quicker recovery ● More fault tollerant ● Performance ● Security ● Integrity ● Customer Feedback 12
  • 13. RESILIENCE Infra People & Processes Software Examples: Load Balancing Stand-by servers Examples: Stand-by shifts Release protocols Examples: Re-try Pattern Circuit Breaker Pattern
  • 15. BRAINSTORM ABOUT FAILURES 15 Business impact Probability Database Failure Database Downtime API Failure Storage Full Network Downtime IP renewal High Load 1 API Fails
  • 17. 17
  • 19. HOW TO TEST IT? 19 Load Generator Monitoring PERFORMANCE TESTING TYPES Load Time 0 Long High Load Stress Endurance 12h Spike
  • 20. HOW TO TEST IT? 20 Load Generator Monitoring
  • 22. INTRODUCING FAILURES 22 Load Generator Monitoring /etc/init.d/networking restart dd bs=2048 if=/dev/urandom of=/dev/null stress –i 1 –t 60 https://github.com/Netflix/SimianArmy https://github.com/Shopify/toxiproxy
  • 23. HOW TO ANALYZE IT? 23
  • 24. WANT TO TRY YOURSELF? Website with Microservices architecture and communication between front-end, API and Database ● Platform: Docker or Kubernetes ● Monitoring: Prometheus & Grafana Add a performance test: ● Gatling ● Jmeter Add a Failure: ● Kill POD ● Stress a POD ● Chaos Monkey Socks Shop: https://microservices-demo.github.io/ 24
  • 25. Read about it: Resilience: https://netflixtechblog.com/tagged/resilience https://www.zerto.com/the-platform/what-is-it-resilience/ Resilience patterns: https://www.jrebel.com/blog/microservices-resilience- patterns https://medium.com/@adhorn/patterns-for-resilient- architecture-part-1-d3b60cd8d2b6 Resilience Testing: https://usersnap.com/blog/resilience-testing/ https://thenewstack.io/the-importance-of-resilience- testing-and-observability/ https://en.wikipedia.org/wiki/Chaos_engineering Doing it: ● Performance testing: ● Gatling - https://gatling.io/ ● Jmeter - https://jmeter.apache.org/ ● Test target: ● Socks website - https://microservices-demo.github.io/ ● Platform ● Docker - https://www.docker.com/ ● Kubernetes - https://kubernetes.io/ ● Tools for failures: ● Nstress - https://www.ibm.com/support/pages/stress-test-your- aix-or-linux-server-nstress ● Simian Army - https://github.com/Netflix/SimianArmy ● ToxiProxy - https://github.com/Shopify/toxiproxy ● Stress Container - https://github.com/progrium/docker-stress ● Monitoring ● Prometheus - https://prometheus.io/ ● Graphana - https://grafana.com/ ● Dynatrace - https://www.dynatrace.com/
  • 26. COMPLEX? TOO HARD? ● Not really.. Start small.. ● Reboot a Server ● Delete a database ● Kill a service on your machine ● See what happens? Resilience is about: 26 “the ability of a substance or object to spring back into shape; elasticity” – google dictionary
  • 27. Platform & System Load Generator 27 ● Why Should you? ● Microservices, Cloud & Always online ● Decreasing fault margines ● Decreasing response times ● Where to start? ● Brainstorm ● Resiliency Patterns ● Communication (Sequence Diagrams) ● Resilience – Testing the elasticity of your IT services ● Performance testing; ● Introducing Failures; ● Monitoring/Alerting; ● Analyse it; CONCLUSION RESILIENCE Monitoring & Analyzing Failures <./Command>
  • 28. Read about it: Resilience: https://netflixtechblog.com/tagged/resilience https://www.zerto.com/the-platform/what-is-it-resilience/ Resilience patterns: https://www.jrebel.com/blog/microservices-resilience- patterns https://medium.com/@adhorn/patterns-for-resilient- architecture-part-1-d3b60cd8d2b6 https://blog.codecentric.de/en/2019/06/resilience-design- patterns-retry-fallback-timeout-circuit-breaker/ Resilience Testing: https://usersnap.com/blog/resilience-testing/ https://thenewstack.io/the-importance-of-resilience- testing-and-observability/ https://en.wikipedia.org/wiki/Chaos_engineering Doing it: ● Performance testing: ● Gatling - https://gatling.io/ ● Jmeter - https://jmeter.apache.org/ ● Test target: ● Socks website - https://microservices-demo.github.io/ ● Platform ● Docker - https://www.docker.com/ ● Kubernetes - https://kubernetes.io/ ● Tools for failures: ● Nstress - https://www.ibm.com/support/pages/stress-test-your- aix-or-linux-server-nstress ● Simian Army - https://github.com/Netflix/SimianArmy ● ToxiProxy - https://github.com/Shopify/toxiproxy ● Stress Container - https://github.com/progrium/docker-stress ● Monitoring ● Prometheus - https://prometheus.io/ ● Graphana - https://grafana.com/ ● Dynatrace - https://www.dynatrace.com/