Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two...

15
© 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

Transcript of Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two...

Page 1: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© 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

Page 2: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© 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

Page 3: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© 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#

Page 4: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© 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

Page 5: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© 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

Page 6: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© 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

Page 7: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© 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

Page 8: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© 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

Page 9: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© 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)

Page 10: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp

Monolith best practice #2 - automated release notes

10

Page 11: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© Equal Experts UK Ltd and lyndsayp ltd 2016 @EqualExperts @EqualExperts @lyndsp @EqualExperts @lyndsp

Monolith best practice #2 - automated release notes

11

Page 12: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© 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

Page 13: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© 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

Page 14: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© 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

Page 15: Smoothing the Continuous Delivery path · Smoothing the Continuous Delivery path A tale of two teams @EqualExperts ... Microservice best practice #1 - teams own their own microservices

© 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