Testing in Production (TiP)
~ Gir
There are tons of testing methodologies are available to qualify production grade build.
Still, Why do we need another testing method that too in Production?
● contains impact to smaller deployment or users group
● confirms the quality of build with production data
● addresses environment specific issues, if any
● make sure monitoring, DR planning and coverage
● method to reduce, control and contain Business impact...
Why?
Blue/Green
How?,
At any time, only one of the environments is
live, with the live environment serving all
production traffic. For this example, Blue is
currently live and Green is idle or vice versa
Covers,
Blue-green deployment is a technique that
reduces downtime and risk by running two
identical production environments called Blue
and Green.
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Router
Users
v1v2
Canary (Controlled Exposure)
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Router
Users
10%
Users
90%
Users
...
v1v2
How?,
Roll-in new deployment in controlled manner,
starting with exposing smaller percentage of
user and increase exposure, if successful else
rollback. For example route 10% of users to
V2 and 90% of users to V1.
Covers,
Controlled Exposure will contain the impact
with in small percentage of user group.
Canary (Traffic Shaping / Shifting)
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Router
Users
10%
Traffic
90%
Traffic
...
v1v2
How?,
Roll-in new deployment in controlled manner,
starting with exposing smaller percentage of
traffic and increase exposure, if successful
else rollback. For example route 10% of traffic
to V2 and 90% of traffic to V1.
Covers,
Controlled Exposure will contain the impact
with in small percentage of traffic (requests).
Canary (Gradual Release)
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Router
Users
10%
Components
...
90%
Components
v1v2
How?,
Roll-in new deployment in controlled manner,
starting with exposing smaller percentage of
capacity and increase exposure, if successful
else rollback. For example deploy 10% of
server capacity with V2 while 90% with V1.
Covers,
Controlled Exposure will contain the impact
with in small percentage of deployment and
traffic that it intakes.
A/B Testing
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Router
Users
50%
Users
50%
Users
...
1b1a
Conversion
Rate 20%
Conversion
Rate 65%
How?,
Deploy 2 versions of UI services, side by side
on infrastructure at equal capacity and direct
50% of users traffic to Version 1a while
remaining to 1b and measure the acceptance
rate to choose the best. Its implementation of
statistics “two-sample hypothesis testing”.
Covers,
Helps to identify one of 2 UI or Applications
with higher user conversion rate.
Chaos Testing
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Router
Users
...
v2v2
Web Server
Application
Server
Database
UI Service
Application
Service
Database
...
v2
How?,
Failure is unavoidable, why not deliberately
introduce it to ensure your systems and
processes can deal with the failure? Can be
done by breaking components, services, data
or communication channel randomly.
Covers,
Helps to identify failure impacts at services
and components level and plan for DR policy
Shadowing Pre-Production
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Web Server
Application
Server
Database
UI Service
Application
Service
Database
Router
Users
v1v2
Quality
Check
shadow
traffic
How?,
Deploy production parallel application or
services on shadow environment with new
build (v2) and wiretap production data traffic,
copy into shadow service to simulate and
qualify.
Covers,
Qualify a build with production parallel data.
AnswersQuestions

More Related Content

PDF
New Ways To Production - Stress-Free Evolution Of Your Cloud Applications
PDF
SUMMARY OF DEVOPS IT DEPLOYMENT STRATEGIES
PDF
Deployment Strategies
PDF
"Production Driven Development", Serhii Kalinets
PDF
SaaS Testing on an Agile World
PDF
Ensuring Performance in a Fast-Paced Environment (CMG 2014)
PPTX
issues with the use of canaries in upgrade
PDF
Testing IoT Apps with the Cloud
New Ways To Production - Stress-Free Evolution Of Your Cloud Applications
SUMMARY OF DEVOPS IT DEPLOYMENT STRATEGIES
Deployment Strategies
"Production Driven Development", Serhii Kalinets
SaaS Testing on an Agile World
Ensuring Performance in a Fast-Paced Environment (CMG 2014)
issues with the use of canaries in upgrade
Testing IoT Apps with the Cloud

Similar to Testing in Production (TiP) (20)

PDF
Ways to minimise performance risks in continuous delivery
PDF
Advanced Deployment Strategies with Kubernetes and Istio
PDF
Testing a SaaS Platform
PDF
Testing the Migration of Monolithic Applications to Microservices on the Cloud
PDF
OSCON: Canary In a Pipeline
PPTX
Deployment model Rolling upgrade deployment
PDF
Cloud testing: challenges and opportunities, TaaS, Integration Testing
PPTX
Strategies in continuous delivery
PDF
The Evolution from Agile to DevOps
PDF
Application Deployement Strategies
PDF
Cocktail of Environments. How to Mix Test and Development Environments and St...
PPTX
Road to Continuous Delivery - Wix.com
PDF
Continuous delivery while minimizing performance risks (dutch web ops meetup)
PPTX
Service engineering
PPTX
Wix Dev-Centric Culture And Continuous Delivery
PDF
Designing Scalable Applications
PPTX
Trunk based development and Canary deployment
PDF
TestIstanbul 2015
PDF
A DevOps State of Mind with Microservices, Containers and Kubernetes
PDF
Microservices Architecture
Ways to minimise performance risks in continuous delivery
Advanced Deployment Strategies with Kubernetes and Istio
Testing a SaaS Platform
Testing the Migration of Monolithic Applications to Microservices on the Cloud
OSCON: Canary In a Pipeline
Deployment model Rolling upgrade deployment
Cloud testing: challenges and opportunities, TaaS, Integration Testing
Strategies in continuous delivery
The Evolution from Agile to DevOps
Application Deployement Strategies
Cocktail of Environments. How to Mix Test and Development Environments and St...
Road to Continuous Delivery - Wix.com
Continuous delivery while minimizing performance risks (dutch web ops meetup)
Service engineering
Wix Dev-Centric Culture And Continuous Delivery
Designing Scalable Applications
Trunk based development and Canary deployment
TestIstanbul 2015
A DevOps State of Mind with Microservices, Containers and Kubernetes
Microservices Architecture
Ad

More from Giragadurai Vallirajan (6)

PDF
PDF
DevOps Toolchain v1.0
PDF
New Features of Kubernetes v1.2.0 beta
PDF
DevOps Best Practices
PDF
Modern Software Architecture - Cloud Scale Computing
PDF
Kubernetes Networking
DevOps Toolchain v1.0
New Features of Kubernetes v1.2.0 beta
DevOps Best Practices
Modern Software Architecture - Cloud Scale Computing
Kubernetes Networking
Ad

Recently uploaded (20)

PDF
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
PDF
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
PDF
MCP Security Tutorial - Beginner to Advanced
PPTX
GSA Content Generator Crack (2025 Latest)
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PDF
Visual explanation of Dijkstra's Algorithm using Python
PPTX
Why Generative AI is the Future of Content, Code & Creativity?
PPTX
Advanced SystemCare Ultimate Crack + Portable (2025)
PPTX
Oracle Fusion HCM Cloud Demo for Beginners
PDF
Types of Token_ From Utility to Security.pdf
PPTX
Computer Software - Technology and Livelihood Education
PPTX
Introduction to Windows Operating System
PDF
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
PDF
AI Guide for Business Growth - Arna Softech
PPTX
Tech Workshop Escape Room Tech Workshop
PDF
How Tridens DevSecOps Ensures Compliance, Security, and Agility
PDF
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
PDF
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
PDF
Cost to Outsource Software Development in 2025
How to Make Money in the Metaverse_ Top Strategies for Beginners.pdf
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
MCP Security Tutorial - Beginner to Advanced
GSA Content Generator Crack (2025 Latest)
CCleaner 6.39.11548 Crack 2025 License Key
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
Visual explanation of Dijkstra's Algorithm using Python
Why Generative AI is the Future of Content, Code & Creativity?
Advanced SystemCare Ultimate Crack + Portable (2025)
Oracle Fusion HCM Cloud Demo for Beginners
Types of Token_ From Utility to Security.pdf
Computer Software - Technology and Livelihood Education
Introduction to Windows Operating System
DuckDuckGo Private Browser Premium APK for Android Crack Latest 2025
AI Guide for Business Growth - Arna Softech
Tech Workshop Escape Room Tech Workshop
How Tridens DevSecOps Ensures Compliance, Security, and Agility
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
AI-Powered Threat Modeling: The Future of Cybersecurity by Arun Kumar Elengov...
Cost to Outsource Software Development in 2025

Testing in Production (TiP)

  • 1. Testing in Production (TiP) ~ Gir
  • 2. There are tons of testing methodologies are available to qualify production grade build. Still, Why do we need another testing method that too in Production? ● contains impact to smaller deployment or users group ● confirms the quality of build with production data ● addresses environment specific issues, if any ● make sure monitoring, DR planning and coverage ● method to reduce, control and contain Business impact... Why?
  • 3. Blue/Green How?, At any time, only one of the environments is live, with the live environment serving all production traffic. For this example, Blue is currently live and Green is idle or vice versa Covers, Blue-green deployment is a technique that reduces downtime and risk by running two identical production environments called Blue and Green. Web Server Application Server Database UI Service Application Service Database Web Server Application Server Database UI Service Application Service Database Router Users v1v2
  • 4. Canary (Controlled Exposure) Web Server Application Server Database UI Service Application Service Database Web Server Application Server Database UI Service Application Service Database Router Users 10% Users 90% Users ... v1v2 How?, Roll-in new deployment in controlled manner, starting with exposing smaller percentage of user and increase exposure, if successful else rollback. For example route 10% of users to V2 and 90% of users to V1. Covers, Controlled Exposure will contain the impact with in small percentage of user group.
  • 5. Canary (Traffic Shaping / Shifting) Web Server Application Server Database UI Service Application Service Database Web Server Application Server Database UI Service Application Service Database Router Users 10% Traffic 90% Traffic ... v1v2 How?, Roll-in new deployment in controlled manner, starting with exposing smaller percentage of traffic and increase exposure, if successful else rollback. For example route 10% of traffic to V2 and 90% of traffic to V1. Covers, Controlled Exposure will contain the impact with in small percentage of traffic (requests).
  • 6. Canary (Gradual Release) Web Server Application Server Database UI Service Application Service Database Web Server Application Server Database UI Service Application Service Database Router Users 10% Components ... 90% Components v1v2 How?, Roll-in new deployment in controlled manner, starting with exposing smaller percentage of capacity and increase exposure, if successful else rollback. For example deploy 10% of server capacity with V2 while 90% with V1. Covers, Controlled Exposure will contain the impact with in small percentage of deployment and traffic that it intakes.
  • 7. A/B Testing Web Server Application Server Database UI Service Application Service Database Web Server Application Server Database UI Service Application Service Database Router Users 50% Users 50% Users ... 1b1a Conversion Rate 20% Conversion Rate 65% How?, Deploy 2 versions of UI services, side by side on infrastructure at equal capacity and direct 50% of users traffic to Version 1a while remaining to 1b and measure the acceptance rate to choose the best. Its implementation of statistics “two-sample hypothesis testing”. Covers, Helps to identify one of 2 UI or Applications with higher user conversion rate.
  • 8. Chaos Testing Web Server Application Server Database UI Service Application Service Database Web Server Application Server Database UI Service Application Service Database Router Users ... v2v2 Web Server Application Server Database UI Service Application Service Database ... v2 How?, Failure is unavoidable, why not deliberately introduce it to ensure your systems and processes can deal with the failure? Can be done by breaking components, services, data or communication channel randomly. Covers, Helps to identify failure impacts at services and components level and plan for DR policy
  • 9. Shadowing Pre-Production Web Server Application Server Database UI Service Application Service Database Web Server Application Server Database UI Service Application Service Database Router Users v1v2 Quality Check shadow traffic How?, Deploy production parallel application or services on shadow environment with new build (v2) and wiretap production data traffic, copy into shadow service to simulate and qualify. Covers, Qualify a build with production parallel data.