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 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
 
Chaos Engineering
Chaos EngineeringChaos Engineering
Chaos EngineeringYury Roa
 
Chaos Engineering, When should you release the monkeys?
Chaos Engineering, When should you release the monkeys?Chaos Engineering, When should you release the monkeys?
Chaos Engineering, When should you release the monkeys?Thoughtworks
 
Introduction To Microservices
Introduction To MicroservicesIntroduction To Microservices
Introduction To MicroservicesLalit Kale
 
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...NETWAYS
 
Understanding MicroSERVICE Architecture with Java & Spring Boot
Understanding MicroSERVICE Architecture with Java & Spring BootUnderstanding MicroSERVICE Architecture with Java & Spring Boot
Understanding MicroSERVICE Architecture with Java & Spring BootKashif Ali Siddiqui
 
The Future of Service Mesh
The Future of Service MeshThe Future of Service Mesh
The Future of Service MeshAll Things Open
 
Microservices Architecture & Testing Strategies
Microservices Architecture & Testing StrategiesMicroservices Architecture & Testing Strategies
Microservices Architecture & Testing StrategiesAraf Karsh Hamid
 
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...Janusz Nowak
 
Microservices architecture overview v3
Microservices architecture overview v3Microservices architecture overview v3
Microservices architecture overview v3Dmitry Skaredov
 
Platform engineering 101
Platform engineering 101Platform engineering 101
Platform engineering 101Sander Knape
 
Performance testing with 100,000 concurrent users in AWS
Performance testing with 100,000 concurrent users in AWSPerformance testing with 100,000 concurrent users in AWS
Performance testing with 100,000 concurrent users in AWSMatthias Matook
 
Are You Being Agile or Doing Agile?
Are You Being Agile or Doing Agile?Are You Being Agile or Doing Agile?
Are You Being Agile or Doing Agile?Brad Appleton
 
How to test infrastructure code: automated testing for Terraform, Kubernetes,...
How to test infrastructure code: automated testing for Terraform, Kubernetes,...How to test infrastructure code: automated testing for Terraform, Kubernetes,...
How to test infrastructure code: automated testing for Terraform, Kubernetes,...Yevgeniy Brikman
 
CQRS + Event Sourcing
CQRS + Event SourcingCQRS + Event Sourcing
CQRS + Event SourcingMike Bild
 
Learn from the Experts: Using DORA Metrics to Accelerate Value Stream Flow
Learn from the Experts: Using DORA Metrics to Accelerate Value Stream FlowLearn from the Experts: Using DORA Metrics to Accelerate Value Stream Flow
Learn from the Experts: Using DORA Metrics to Accelerate Value Stream FlowDevOps.com
 

What's hot (20)

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...
 
Chaos Engineering
Chaos EngineeringChaos Engineering
Chaos Engineering
 
Introduction to Chaos Engineering
Introduction to Chaos EngineeringIntroduction to Chaos Engineering
Introduction to Chaos Engineering
 
Chaos Engineering, When should you release the monkeys?
Chaos Engineering, When should you release the monkeys?Chaos Engineering, When should you release the monkeys?
Chaos Engineering, When should you release the monkeys?
 
Api observability
Api observability Api observability
Api observability
 
Introduction To Microservices
Introduction To MicroservicesIntroduction To Microservices
Introduction To Microservices
 
Introduction to Microservices
Introduction to MicroservicesIntroduction to Microservices
Introduction to Microservices
 
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
OSMC 2023 | What’s new with Grafana Labs’s Open Source Observability stack by...
 
Understanding MicroSERVICE Architecture with Java & Spring Boot
Understanding MicroSERVICE Architecture with Java & Spring BootUnderstanding MicroSERVICE Architecture with Java & Spring Boot
Understanding MicroSERVICE Architecture with Java & Spring Boot
 
The Future of Service Mesh
The Future of Service MeshThe Future of Service Mesh
The Future of Service Mesh
 
Microservices Architecture & Testing Strategies
Microservices Architecture & Testing StrategiesMicroservices Architecture & Testing Strategies
Microservices Architecture & Testing Strategies
 
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
Continues Integration and Continuous Delivery with Azure DevOps - Deploy Anyt...
 
Microservices architecture overview v3
Microservices architecture overview v3Microservices architecture overview v3
Microservices architecture overview v3
 
Platform engineering 101
Platform engineering 101Platform engineering 101
Platform engineering 101
 
Performance testing with 100,000 concurrent users in AWS
Performance testing with 100,000 concurrent users in AWSPerformance testing with 100,000 concurrent users in AWS
Performance testing with 100,000 concurrent users in AWS
 
Are You Being Agile or Doing Agile?
Are You Being Agile or Doing Agile?Are You Being Agile or Doing Agile?
Are You Being Agile or Doing Agile?
 
How to test infrastructure code: automated testing for Terraform, Kubernetes,...
How to test infrastructure code: automated testing for Terraform, Kubernetes,...How to test infrastructure code: automated testing for Terraform, Kubernetes,...
How to test infrastructure code: automated testing for Terraform, Kubernetes,...
 
Demystifying Service Mesh
Demystifying Service MeshDemystifying Service Mesh
Demystifying Service Mesh
 
CQRS + Event Sourcing
CQRS + Event SourcingCQRS + Event Sourcing
CQRS + Event Sourcing
 
Learn from the Experts: Using DORA Metrics to Accelerate Value Stream Flow
Learn from the Experts: Using DORA Metrics to Accelerate Value Stream FlowLearn from the Experts: Using DORA Metrics to Accelerate Value Stream Flow
Learn from the Experts: Using DORA Metrics to Accelerate Value Stream Flow
 

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

How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsAndolasoft Inc
 
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
 
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
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnAmarnathKambale
 
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
 
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
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...software pro Development
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionOnePlan Solutions
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerThousandEyes
 
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
 
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
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesVictorSzoltysek
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionSolGuruz
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
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
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...kalichargn70th171
 

Recently uploaded (20)

How To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.jsHow To Use Server-Side Rendering with Nuxt.js
How To Use Server-Side Rendering with Nuxt.js
 
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
 
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
 
VTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learnVTU technical seminar 8Th Sem on Scikit-learn
VTU technical seminar 8Th Sem on Scikit-learn
 
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
 
Microsoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.pdfMicrosoft AI Transformation Partner Playbook.pdf
Microsoft AI Transformation Partner Playbook.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
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...How to Choose the Right Laravel Development Partner in New York City_compress...
How to Choose the Right Laravel Development Partner in New York City_compress...
 
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) SolutionIntroducing Microsoft’s new Enterprise Work Management (EWM) Solution
Introducing Microsoft’s new Enterprise Work Management (EWM) Solution
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected WorkerHow To Troubleshoot Collaboration Apps for the Modern Connected Worker
How To Troubleshoot Collaboration Apps for the Modern Connected Worker
 
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
 
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
 
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM TechniquesAI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
AI Mastery 201: Elevating Your Workflow with Advanced LLM Techniques
 
Diamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with PrecisionDiamond Application Development Crafting Solutions with Precision
Diamond Application Development Crafting Solutions with Precision
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
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
 
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
 
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
The Guide to Integrating Generative AI into Unified Continuous Testing Platfo...
 

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/