Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two...
Transcript of Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two...
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp
simple so<ware solu>ons to big business problems.
Making Software. Better.
Smoothing the Continuous Delivery path A tale of two teams
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp
There’s no (CD) silver bullet
2
● 1 (php) monolith ● 50 deploys / day ● 1.5 billion page views /
month http://goo.gl/NZfr8a
● >600 java microservices ● >100 deploys / day ● ~2 billion requests per day
https://goo.gl/qZXKWK
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp
There’s no (CD) silver bullet
3
● 2 monoliths (C#, C++)
● Weekly deployments
● ~100M visits / day
● >300 microservices (Scala)
● Mul>ple deploys / day
● ~11.5M page views / peak day
C++ C#
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp 4
Best practice #0 - Start with the best people you can hire
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp 5
Produc'on focused Standups
▪ Work board right to le<
▪ What was deployed
yesterday?
▪ What will be deployed today?
Best practice #1 - Think about Production, all the time
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp
● What’s the smallest thing we can release to Produc'on?
● How do we evolve Produc'on behaviour
● Is this code change safe to go to Produc'on today?
6
Best practice #1 - Think about Production, all the time
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp
Best practice #2 - Testing is an activity, not a phase
7
Product Owner
Define
Dev
Build
QA
Test
Web Ops
Deploy
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp
Best practice #2 - Testing is an activity, not a phase
8
Product Owner
Define
Dev
Build
QA
Explore
Web Ops
Deploy
Test
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp
Monolith best practice #1 - 5 why’s
9
● Create a >meline.
● Gather those involved.
● Walk through the >meline.
● Choose an entry point event:
○ Event
○ Why?
○ Process improvement
● Repeat x5 (ish)
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp
Monolith best practice #2 - automated release notes
10
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp
Monolith best practice #2 - automated release notes
11
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp
Monolith best practice #2 - automated release notes
12
Source control system
Login Reporting
Payments API’s
Agile Project Management Tool
Features Stories
Tasks Defects
Story 123 Areas, authors, why ... Defect 789 Areas, authors, why ... Untracked work Areas, authors ...
Release note generator
Production Version
Candidate Version
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp
Microservice best practice #1 - teams own their own microservices
13
“You build it, you run it”
- Werner Vogels
Amazon CTO hdps://goo.gl/DyfeOf
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp
Microservice best practice #2 - backward compatible API’s
14
Produc>on
Staging
QA
Dev
Sharing through caring
© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp
simple so<ware solu>ons to big business problems.
Making Software. Better.
Smoothing the Continuous Delivery path A tale of two teams