2020-10-03 modernweb-testing in production, deploy on fridays
TRANSCRIPT
2020-10-03_ModernWeb-Testing in Production, Deploy on Fridays (Ant)
[email protected]
(aka Ant)
Modern Web 2015/2016/2017/2018/2019
3/112
I am not to blame, it is about (team) culture
24/7
DevOps
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
Continuous Deployment
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
Image Credit : https://software.af.mil/training/devops/
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
36/112
Small Commits Release
Big Commits Release
Staging Production
Trying to mirror your staging environment to production is a fool’s errand. Just give up. Staging Production
Partial Credit : https://thenewstack.io/honeycombs-charity-majors-go-ahead-test-in-production/
Microsoft/Azure
Microservices FaaS Testing in production
50/112
Production Netflix
Testing Production Testing DNS
Credit : Chaos Engineering IEEE Software (2016-05-05).pdf
Testing in Production
”
”
Your aim won’t be perfect, control over the blast radius.
Progressive deployment is continuous deploy with fine-grained control over the blast radius.
https://thenewstack.io/the-rise-of-progressive-delivery-for-systems-resilience/
https://www.trisignup.com/Race/24568/Sponsor/94608
55/112Credit : https://thenewstack.io/the-rise-of-progressive-delivery-for-systems-resilience/ Image Credit : https://support.google.com/optimize/answer/7012154?hl=en
Deploying a service is not that same as activating it for all users.
Progressive Deployment
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
All code is deployed, but control exposure, reduces integration issue.
02
03
04
05 Service Mesh
64/112
05 Service Mesh
65/112
#19 Fix Login Bug
#20 Fix Email Bug
#19 Fix Login Bug
#20 Fix Email Bug
#19 Fix Login Bug
#20 Fix Email Bug
#19 Fix Login Bug
#20 Fix Email Bug
#19 Fix Login Bug
#20 Fix Email Bug
#19 Fix Login Bug
#20 Fix Email Bug
02
Unfinished features may be deployed, and turned on if the configuration is incorrect.
Image Credit : https://opensource.com/article/18/2/feature-flags-ring-deployment-model
Feature Flag
#19 Fix Login Bug
#20 Fix Email Bug
#19 Fix Login Bug
#20 Fix Email Bug
05 Service Mesh
79/112
Facebook
05 Service Mesh
82/112
05 Service Mesh
91/112
05 Service Mesh
99/112
05 Service Mesh
101/112
[email protected]
(aka Ant)
Modern Web 2015/2016/2017/2018/2019
3/112
I am not to blame, it is about (team) culture
24/7
DevOps
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
Continuous Deployment
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
Image Credit : https://software.af.mil/training/devops/
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
36/112
Small Commits Release
Big Commits Release
Staging Production
Trying to mirror your staging environment to production is a fool’s errand. Just give up. Staging Production
Partial Credit : https://thenewstack.io/honeycombs-charity-majors-go-ahead-test-in-production/
Microsoft/Azure
Microservices FaaS Testing in production
50/112
Production Netflix
Testing Production Testing DNS
Credit : Chaos Engineering IEEE Software (2016-05-05).pdf
Testing in Production
”
”
Your aim won’t be perfect, control over the blast radius.
Progressive deployment is continuous deploy with fine-grained control over the blast radius.
https://thenewstack.io/the-rise-of-progressive-delivery-for-systems-resilience/
https://www.trisignup.com/Race/24568/Sponsor/94608
55/112Credit : https://thenewstack.io/the-rise-of-progressive-delivery-for-systems-resilience/ Image Credit : https://support.google.com/optimize/answer/7012154?hl=en
Deploying a service is not that same as activating it for all users.
Progressive Deployment
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
Continuous Integration /
Continuous Delivery /
Continuous Deployment /
All code is deployed, but control exposure, reduces integration issue.
02
03
04
05 Service Mesh
64/112
05 Service Mesh
65/112
#19 Fix Login Bug
#20 Fix Email Bug
#19 Fix Login Bug
#20 Fix Email Bug
#19 Fix Login Bug
#20 Fix Email Bug
#19 Fix Login Bug
#20 Fix Email Bug
#19 Fix Login Bug
#20 Fix Email Bug
#19 Fix Login Bug
#20 Fix Email Bug
02
Unfinished features may be deployed, and turned on if the configuration is incorrect.
Image Credit : https://opensource.com/article/18/2/feature-flags-ring-deployment-model
Feature Flag
#19 Fix Login Bug
#20 Fix Email Bug
#19 Fix Login Bug
#20 Fix Email Bug
05 Service Mesh
79/112
05 Service Mesh
82/112
05 Service Mesh
91/112
05 Service Mesh
99/112
05 Service Mesh
101/112
[email protected]