The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928,...
Transcript of The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928,...
![Page 1: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/1.jpg)
![Page 2: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/2.jpg)
![Page 3: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/3.jpg)
The Discovery of Penicillin
Alexander Fleming discovered it in 1928, by accident
First shown to be effective on bacterial infection in mice in 1940
First human treatment in 1941
United States produced 2.3 million doses in time for the WWII Normandy invasion
@kmugrage
![Page 4: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/4.jpg)
Other Great Accidents
Microwave Oven
Quinine
X-rays
Velcro
Insulin
Continuous Delivery
@kmugrage
![Page 5: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/5.jpg)
15 years ago we knew everything
Defined Continuous Integration
Created the first (or second) CI server
Created Selenium
@kmugrage
![Page 6: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/6.jpg)
Java – Write once, run anywhere
Developed a system on Windows laptops to be deployed to a Solaris cluster
Did all of the right Continuous Integration things
One small issue…
@kmugrage
![Page 7: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/7.jpg)
It didn’t work in production
@kmugrage
![Page 8: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/8.jpg)
Conan The Deployer
Massive shell script
Automated deployment to a cluster after every successful CI run
Deployment became a non-issue
@kmugrage
![Page 9: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/9.jpg)
Results of the Accident
The Deployment Production Line
The Continuous Delivery Book
GoCD
@kmugrage
![Page 10: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/10.jpg)
@kmugrage
![Page 11: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/11.jpg)
@kmugrage
![Page 12: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/12.jpg)
Edge Load Balancer
Web
Application
Web
Application
Customer Service
Application
Web
Application
Customer Service
Application
Frontend Application Servers
Web
Application
Web
Application
Web
Application
Business
Servers
Business
Servers
Business
Servers
MSMQ
Biztalk
Distributed
Cache
Session DB Transactional DB Biztalk DB
![Page 13: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/13.jpg)
git pull
Version
Build
Unit Test
Package
ArtifactRepository
Build Test
ArtifactRepository
Get Package
Deploy Test Environment
Component
Service
UI
Deploy
ArtifactRepository
Get Package
Deploy Environment
Smoke Tests
![Page 14: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/14.jpg)
It was automated now
It worked in production (yay!)
It was hard to scale the applications
It was hard to work on complicated applications
@kmugrage
![Page 15: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/15.jpg)
https://nodesource.com/blog/microservices-in-nodejs
Image by @lizparody23
![Page 16: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/16.jpg)
Edge Load Balancer
Service
Repository
Apply Domain
Event Store
Command Handlers
Event Handlers
Service
Repository
Account Domain
Event Store
Command Handlers
Event Handlers
Service
Repository
Product Domain
Event Store
Command Handlers
Event Handlers
Service
Repository
Customer Domain
Event Store
Command Handlers
Event Handlers
E
V
E
N
T
B
U
S
![Page 17: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/17.jpg)
Build
Functional
Tests
Regression
Tests
Deploy to
StageDeploy to
Production
Service A
Service B
Build
Functional
Tests
Regression
Tests
Deploy to
StageDeploy to
Production
![Page 18: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/18.jpg)
Build
Functional
Tests
Regression
Tests
Deploy to Stage Deploy to Production
Service A
Build
Functional
Tests
Regression
Tests
Service B
![Page 19: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/19.jpg)
@kmugrage
![Page 20: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/20.jpg)
@kmugrage
![Page 21: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/21.jpg)
@kmugrage
Write the code
Run the build
Show the feature
Merge the code
Done
![Page 22: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/22.jpg)
Create feature flag
Write unit test
Write the code
Merge to master
CI server builds
@kmugrage
Write the functional
test
Show the feature
DeployRelease (flip the
flag)
Customer uses
featureThis includes any infrastructure,
pipeline, data model or other changes
required to support the feature!
![Page 23: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/23.jpg)
@kmugrage
Write the code
Run the build
Show the feature
Merge the code
Done
![Page 24: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/24.jpg)
@kmugrage
Write the code
Run the build
Show the feature
Merge the code
Done
Write Tests
Run TestsSend back
to devWait… Repeat
“Dev” Team
“QA”, Security, Compliance
![Page 25: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/25.jpg)
@kmugrage
Write the code
Run the build
Show the feature
Merge the code
Done
Write Tests
Run TestsSend back
to devWait… Repeat
“Dev” Team
“QA”, Security, Compliance
Provision Machines
Automate Deployment
Send back to dev
Wait… Repeat“DevOps” Team
![Page 26: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/26.jpg)
@kmugrage
![Page 27: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/27.jpg)
“
”
@kmugrage
![Page 28: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/28.jpg)
“
”
@kmugrage
![Page 29: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/29.jpg)
@kmugrage
Create feature flag
Write unit test
Write the code
Merge to master
CI server builds
Write the functional
test
Show the feature
DeployRelease (flip the
flag)
Customer uses feature
Write the code
Run the build
Show the feature
Merge the code
Done
Write Tests
Run TestsSend back
to devWait… Repeat
Provision Machines
Automate Deployment
Send back to dev
Wait… Repeat
![Page 30: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/30.jpg)
@kmugrage
Create feature flag
Write unit test
Write the code
Merge to master
CI server builds
Write the functional
test
Show the feature
DeployRelease (flip the
flag)
Customer uses feature
Write the code
Run the build
Show the feature
Merge the code
Done
Write Tests
Run TestsSend back
to devWait… Repeat
Provision Machines
Automate Deployment
Send back to dev
Wait… Repeat
![Page 31: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/31.jpg)
@kmugrage
![Page 32: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/32.jpg)
“
”
@kmugrage
![Page 33: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/33.jpg)
@kmugrage
![Page 34: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/34.jpg)
“
”
@kmugrage
![Page 35: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/35.jpg)
@kmugrage
![Page 36: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/36.jpg)
@kmugrage
I
deploy
am
deploy
working
deploy
on
deploy
this
deploy
You will now be measured on deploys per day
YAY!!!
![Page 37: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/37.jpg)
Our Pipeline
@kmugrage
![Page 38: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/38.jpg)
Our Pipeline
@kmugrage
![Page 39: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/39.jpg)
Accelerate State of DevOps
@kmugrage
![Page 40: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/40.jpg)
Elite Performers
@kmugrage
Aspect of Software Delivery Performance
Deployment frequency On-demand (multiple deploys per day)
Lead time for changes Less than one day
Time to restore services Less than one hour
Change failure rate 0-15%
![Page 41: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/41.jpg)
Summary
CD isn’t about faster.
CD in a DevOps culture is!
Deployment goals should be business driven.
Metrics drive behaviors.
@kmugrage
![Page 42: The Discovery of Penicillin · The Discovery of Penicillin Alexander Fleming discovered it in 1928, by accident First shown to be effective on bacterial infection in mice in 1940](https://reader034.fdocuments.net/reader034/viewer/2022050419/5f8eebd23bd13204c069bdd0/html5/thumbnails/42.jpg)
@kmugrage