© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
simple software solutions to big business problems.
Making Software. Better.
Smoothing the continuous delivery path
A tale of two teams
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
What’s this all about?
2
Continuous
Delivery
Done Well
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
What’s this (Continuous Delivery) all about?
3
“... producing valuable software
in short cycles and ensure that the
software can be reliably released
at any time”-
https://en.wikipedia.org/wiki/Continuous_delivery
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Continuous doughnuts
4
Fast feedback
Risk Reduction
T: 0:00:000 T: 2:00:000
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
There’s no (CD) silver bullet
5
1 (php) monolith
50 deploys / day
1.5 billion page views / month
http://goo.gl/XIB29i
>600 java microservices
>100 deploys / day
~2 billion requests per day
http://goo.gl/ZJBiK6
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Prefer Continuous Improvement over Continuous Delivery
▪ .Net monolith
▪ 26 -> 24 -> 34 releases per year
▪ https://goo.gl/KF9xXw
6
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp 7
People first, practices/process second, products last
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
.Net monolith team - how they roll
8
▪ Private sector
▪ Significant legacy code
▪ High daily traffic (~100 million visits)
▪ ~8 product teams
▪ Weekly deployments:
– Pick release candidate
– Regression test
– Dog food
– Deploy
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Scala microservices team - how they roll
9
▪ .Gov - HMRC Digital
▪ 2 years old (greenfield)
▪ Calendar spikes (Visits peak is ~4 million)
▪ >30 product teams
▪ Multiple deployments per day
– Teams “own” their own services
– “You build it, you run it” -
https://goo.gl/DyfeOf
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Continuous
Delivery
Done Well
Patterns for successful practice
10
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Best practice #1 - Healthy CI - mind & body
11
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Best practice #1 - Healthy CI - mind & body
12
Almost
green!
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Best practice #2 - Testing as an activity, not a phase
13
Product
Owner
Define
Dev
Build
QA
Test
Web Ops
Deploy
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Best practice #2 - Testing as an activity, not a phase
14
Product
Owner
Define
Dev
Build
QA
Test
Web Ops
Deploy
Test
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Best practice #3 - Healthy automated tests
15
Unit Tests
API
UI
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Best practice #3 - (Un)healthy automated tests
16
API
UI
Unit Tests
The “Hour Glass”
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
UI
Best practice #3 - (Un)healthy automated tests
17
API
The “Ice Cream Cone”
Unit
Test
s
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Best practice #3 - Healthy automated tests
18
Unit Tests
API
UI
The “Tear Drop”
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Best practice #4 - Low (manual) cost
deployment (and rollback)
19
VS.
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Best practice #5 - Metrics, monitoring and alerting
20
http://seluxkanaur.deviantart.com/art/Sauron-s-Eye-6-420535318
“Big data”
Social media
User behaviour
Business metrics
Service performance
Service errors
Disk and Network
Monitor
all things!
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Metrics, monitoring and alerting - getting it right
21
Detect
Alert
Respond
Display
Analyse
Time & Pain increasing!
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Metrics, monitoring and alerting - getting it wrong
22
Detect
Respond
Display
Analyse
Time & Pain increasing!
Alert
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Metrics, monitoring and alerting - where and how?
23
Detect
Alert
Respond
Display
Analyse
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Metrics, monitoring and alerting - stories from the trenches
24
Detect
Alert
Respond
Display
Analyse
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Best practice summary
1. Healthy CI (mind and body)
2. Testing as an activty, not a phase
3. Tear drop shape automated tests (focus on behaviour, with loose coupling)
4. Low (manual) cost deployment and rollback
5. Metrics, monitoring and reporting
25
Product
Owner
Define
Dev
Build
QA
Test
Web Ops
Deplo
y
Test
Unit
Tests
API
U
I
Detect
Alert
Respond
Display
Analyse
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Shared Pain
26
Continuous
Delivery
Done Well
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Shared pain #1 - Zero down-time releases
27
https://en.wikipedia.org/wiki/VO2_max
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Shared pain #2 - Manual deployment steps
28
https://en.wikipedia.org/wiki/Tailor https://en.wikipedia.org/wiki/Zara_(retailer)
VS.
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Shared pain summary
1. Zero down time releases
2. Manual deployment steps
29
VS.
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Team specific accelerators
30
Continuous
Delivery
Done Well
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Accelerators - 5 why’s
31
● Create a timeline.
● Gather those involved.
● Walk through the timeline.
● Choose an entry point event:
○ Event
○ Why?
○ Process improvement
● Repeat x5 (ish)
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Accelerators - 5 why’s - example
32
Event Why? Improvement
Error threshold alert
triggered.
Calls to service X were
timing out.
Implement failover / circuit
breaker.
Calls to service X were
timing out.
Queries run by Service X
were taking too long.
Alert on long running
queries.
Queries run by Service X
were taking too long.
Index was missing for a
new field.
...
... ... ...
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Accelerators - automated release notes - the problem #1
33
Much confusion
and pain
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Accelerators - automated release notes - the problem #2
34
Agile Project
Management
Tool
Source control
system
Features
Stories
Defects
Login
Reporting
Payments
API’s
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Accelerators - automated release notes - the solution
35
Agile Project
Management
Tool
Source control
system
Features
Stories
Defects
Login
1. Identify source changes
2. Identify stories/defects
3. Identify areas
4. Group by story/defect
5. For each, summarise areas
and authors
6. Group by:
a. What’s done
b. What’s in progress
Reporting
Payments
API’s
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Team specific accelerators
36
Continuous
Delivery
Done Well
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Accelerators - teams “own” their own microservices
37
▪ “You build it, you run it” - https://goo.gl/DyfeOf
▪ Prefer service over library dependencies
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Accelerators - backward compatible API’s
(principle of least surprise)
38
https://en.wikipedia.org/wiki/VO2_max
Production
Staging
QA
Dev
Everyone
shares
(and cares)
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
Team specific accelerators summary
Monolith:
1. 5 -why’s
2. Automated release note
Microservices:
1. Microservice dependencies, not library dependencies
2. Backward compatible API’s
39
Agile Project
Management
Tool
Source
control
system
Features
Stories
Defects
Login
Reporting
Payments
API’s
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
References and resources
40
▪ Build Quality In (promo code - LP2015 - https://goo.gl/ZRuQKw)
Continuous Delivery
Implementing Lean Software Development
Release It
© Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp
simple software solutions to big business problems.
Making Software. Better.
Thank You
Twitter
@EqualExperts
@lyndsp
LinkedIn
linkedin.com/company/equal-experts
uk.linkedin.com/in/lyndsp
UNITED KINGDOM
+44 203 603 7830
helloUK@equalexperts.com
Equal Experts UK Ltd
30 Brock Street
London NW1 3FG
INDIA
+91 20 6607 7763
helloIndia@equalexperts.com
Equal Experts India Private Ltd
Office No. 4-C
Cerebrum IT Park No. B3
Kumar City, Kalyani Nagar
Pune, 411006
Web
www.equalexperts.com
www.lyndsayp.com
CANADA
+1 403 775 4861
helloCanada@equalexperts.com
Equal Experts Devices Inc
205 - 279 Midpark way S.E.
T2X 1M2
Calgary, Alberta
PORTUGAL
+
helloPortugal@equalexperts.com
Equal Experts Portugal
Rua Tomás da Fonseca
- Torres de Lisboa
Torre G, 5º Andar
1600-209 Lisboa
Thank You

More Related Content

ODP
Lyndsay Prewer - Smoothing the continuous delivery path - a tale of two teams
PDF
Leading the Transformation: Stories from the Trenches
PPTX
Get Ready for Changes To Load Testing
PDF
7 steps to pragmatic mobile testing
PPTX
Building a Performance A-Team
PPTX
5 Keys to Your Best Automated Testing Strategy
PPTX
The Four Hats of Load and Performance Testing with special guest Mentora
PPTX
Velocity 2015 building self healing systems (slide share version)
Lyndsay Prewer - Smoothing the continuous delivery path - a tale of two teams
Leading the Transformation: Stories from the Trenches
Get Ready for Changes To Load Testing
7 steps to pragmatic mobile testing
Building a Performance A-Team
5 Keys to Your Best Automated Testing Strategy
The Four Hats of Load and Performance Testing with special guest Mentora
Velocity 2015 building self healing systems (slide share version)

What's hot (20)

PPTX
O'Reilly Webcast: How Nordstrom Prepares Its Site for Holidays and Major Events
PPTX
Knowing Where to Tap
PPTX
Secrets to Realistic Load Testing
PPTX
Testing In Production (TiP) Advances with Big Data & the Cloud
PPTX
Diving into the World of Test Automation The Approach and the Technologies
PDF
Soasta New Features in CloudTest & TouchTest Webinar
PDF
Gartner starting and scaling dev ops
PDF
Metrics-driven Continuous Delivery
PPTX
Webinar: Load Testing for Your Peak Season
PPT
Test Automation In The Hands of "The Business"
PPTX
Moving QA from Reactive to Proactive with qTest
PPT
Thriving in the Shark Tank: How Vebalizeit Load Tested with SOASTA
PPTX
Soasta | CloudBees webinar 11/12/2015
PDF
SOASTA mPulse update webinar
PPTX
Impact of agile quantified: 2014 edition - A de-mystery thriller
PPT
Agile Load Testing In The Real World
PDF
Shift left-devoxx-pl
PPTX
Modern Load Testing: Move Your Load Testing from the Past to the Present
PPTX
Final tips holiday readiness 2015 for slide share
PPTX
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
O'Reilly Webcast: How Nordstrom Prepares Its Site for Holidays and Major Events
Knowing Where to Tap
Secrets to Realistic Load Testing
Testing In Production (TiP) Advances with Big Data & the Cloud
Diving into the World of Test Automation The Approach and the Technologies
Soasta New Features in CloudTest & TouchTest Webinar
Gartner starting and scaling dev ops
Metrics-driven Continuous Delivery
Webinar: Load Testing for Your Peak Season
Test Automation In The Hands of "The Business"
Moving QA from Reactive to Proactive with qTest
Thriving in the Shark Tank: How Vebalizeit Load Tested with SOASTA
Soasta | CloudBees webinar 11/12/2015
SOASTA mPulse update webinar
Impact of agile quantified: 2014 edition - A de-mystery thriller
Agile Load Testing In The Real World
Shift left-devoxx-pl
Modern Load Testing: Move Your Load Testing from the Past to the Present
Final tips holiday readiness 2015 for slide share
Tis The Season: Load Testing Tips and Checklist for Retail Seasonal Readiness
Ad

Viewers also liked (12)

DOC
Έξοδος ΗΒ από ΕΕ
PDF
So where are we now? The TDM landscape
DOC
Facebook_a privacy defender or a privacy traitor
PPTX
PPT
All change! How the new Economics of Cloud will make you think differently ab...
DOCX
CV_ S Arunkumar -Procurement And Sub Contract
DOCX
קורות חיים 2016
PDF
Abdullah almohaimeed cv2016
PPTX
ΣΗΜΑΣΙΑ ΤΗΣ ΣΤΟΜΑΤΙΚΗΣ ΥΓΕΙΑΣ
PDF
Sensation and perception
PPT
Operational definitions
PPTX
Price Discrimination
Έξοδος ΗΒ από ΕΕ
So where are we now? The TDM landscape
Facebook_a privacy defender or a privacy traitor
All change! How the new Economics of Cloud will make you think differently ab...
CV_ S Arunkumar -Procurement And Sub Contract
קורות חיים 2016
Abdullah almohaimeed cv2016
ΣΗΜΑΣΙΑ ΤΗΣ ΣΤΟΜΑΤΙΚΗΣ ΥΓΕΙΑΣ
Sensation and perception
Operational definitions
Price Discrimination
Ad

Similar to Smoothing the continuous delivery path – a tale of two teams - Lyndsay Prewer (20)

PDF
Smoothing the Continuous Delivery Path - A Tale of Two Teams
PPTX
Scaled agile meets the ground
PPTX
The APIs of Me - Virtualizing Channels and Devices
PDF
AppSphere 15 - Process, Culture and Tools: The Transformation of Gannett and ...
PDF
DevOps – Don’t Be Left Behind
PDF
Take Control of Application Performance
PDF
Continuous Delivery: the Strongest Link in Your Value Chain
PDF
Case Study: Oppenheimer Funds Brings IT to the People with ITSM Self-Service...
PDF
Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...
PDF
Session T6 - Artificial Intelligence Meets Project Controls
PDF
Requirements and Acceptance Tests: Yes, They Go Together
PDF
Is Being Agile a Good Thing?
PDF
Why is mobile testing important?
PPTX
Are Your Microservices Naked and Afraid?
PDF
Moving Towards Operability & Organising for Continuous Delivery
PDF
Building a DevOps Team that Isn't Evil
PDF
Smoothing the continuous delivery path a tale of two architectures - expert...
PDF
Case Study: ING Builds Highly Available Continuous Delivery Pipeline with Mic...
PDF
Leveraging Full Adoption for Demand Management and Capacity Planning
PDF
Continuous delivery is more than dev ops
Smoothing the Continuous Delivery Path - A Tale of Two Teams
Scaled agile meets the ground
The APIs of Me - Virtualizing Channels and Devices
AppSphere 15 - Process, Culture and Tools: The Transformation of Gannett and ...
DevOps – Don’t Be Left Behind
Take Control of Application Performance
Continuous Delivery: the Strongest Link in Your Value Chain
Case Study: Oppenheimer Funds Brings IT to the People with ITSM Self-Service...
Technology Primer: Monitor Microservices, Containers, Cloud Foundry and Node ...
Session T6 - Artificial Intelligence Meets Project Controls
Requirements and Acceptance Tests: Yes, They Go Together
Is Being Agile a Good Thing?
Why is mobile testing important?
Are Your Microservices Naked and Afraid?
Moving Towards Operability & Organising for Continuous Delivery
Building a DevOps Team that Isn't Evil
Smoothing the continuous delivery path a tale of two architectures - expert...
Case Study: ING Builds Highly Available Continuous Delivery Pipeline with Mic...
Leveraging Full Adoption for Demand Management and Capacity Planning
Continuous delivery is more than dev ops

More from JAXLondon_Conference (20)

PDF
Cassandra and Spark - Tim Berglund
PDF
The Unit Test is dead. Long live the Unit Test! - Colin Vipurs
PDF
Stop guessing, start testing – mobile testing done right - Timo Euteneuer
PDF
Java Generics Past, Present and Future - Richard Warburton, Raoul-Gabriel Urma
PDF
Java Generics Past, Present and Future - Richard Warburton, Raoul-Gabriel Urma
PDF
VC from the inside - a techie's perspective - Adrian Colyer
PDF
Use your type system; write less code - Samir Talwar
PPTX
Thinking fast and slow with software development - Daniel Bryant
PPTX
The java memory model and the mutability matrix of pain - Jamie Allen
PDF
The art of shifting perspectives - Rachel Davies
PDF
Spring Boot in the Web Tier - Dave Syer
PDF
Microservices from dream to reality in an hour - Dr. Holly Cummins
PPT
Love your architecture - Alexander von Zitzewitz
PPTX
Lambdas puzzler - Peter Lawrey
PDF
Java vs. Java Script for enterprise web applications - Chris Bailey
PDF
Java generics past, present and future - Raoul-Gabriel Urma, Richard Warburton
PDF
Java 8 best practices - Stephen Colebourne
PPTX
Intuitions for scaling data centric architectures - Benjamin Stopford
PDF
Hybrid solutions – combining in memory solutions with SSD - Christos Erotocritou
PPTX
How to defeat feature gluttony - Kasia Mrowca
Cassandra and Spark - Tim Berglund
The Unit Test is dead. Long live the Unit Test! - Colin Vipurs
Stop guessing, start testing – mobile testing done right - Timo Euteneuer
Java Generics Past, Present and Future - Richard Warburton, Raoul-Gabriel Urma
Java Generics Past, Present and Future - Richard Warburton, Raoul-Gabriel Urma
VC from the inside - a techie's perspective - Adrian Colyer
Use your type system; write less code - Samir Talwar
Thinking fast and slow with software development - Daniel Bryant
The java memory model and the mutability matrix of pain - Jamie Allen
The art of shifting perspectives - Rachel Davies
Spring Boot in the Web Tier - Dave Syer
Microservices from dream to reality in an hour - Dr. Holly Cummins
Love your architecture - Alexander von Zitzewitz
Lambdas puzzler - Peter Lawrey
Java vs. Java Script for enterprise web applications - Chris Bailey
Java generics past, present and future - Raoul-Gabriel Urma, Richard Warburton
Java 8 best practices - Stephen Colebourne
Intuitions for scaling data centric architectures - Benjamin Stopford
Hybrid solutions – combining in memory solutions with SSD - Christos Erotocritou
How to defeat feature gluttony - Kasia Mrowca

Recently uploaded (20)

PDF
AI Guide for Business Growth - Arna Softech
PPTX
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
PDF
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
PDF
Time Tracking Features That Teams and Organizations Actually Need
PDF
CCleaner 6.39.11548 Crack 2025 License Key
PDF
Website Design Services for Small Businesses.pdf
PPTX
Cybersecurity: Protecting the Digital World
PDF
MCP Security Tutorial - Beginner to Advanced
PDF
Types of Token_ From Utility to Security.pdf
PDF
iTop VPN Crack Latest Version Full Key 2025
PDF
Cost to Outsource Software Development in 2025
PPTX
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
PDF
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
PDF
Designing Intelligence for the Shop Floor.pdf
PPTX
"Secure File Sharing Solutions on AWS".pptx
PDF
Topaz Photo AI Crack New Download (Latest 2025)
PDF
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
PDF
Autodesk AutoCAD Crack Free Download 2025
PDF
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
PPTX
Computer Software and OS of computer science of grade 11.pptx
AI Guide for Business Growth - Arna Softech
WiFi Honeypot Detecscfddssdffsedfseztor.pptx
Top 10 Software Development Trends to Watch in 2025 🚀.pdf
Time Tracking Features That Teams and Organizations Actually Need
CCleaner 6.39.11548 Crack 2025 License Key
Website Design Services for Small Businesses.pdf
Cybersecurity: Protecting the Digital World
MCP Security Tutorial - Beginner to Advanced
Types of Token_ From Utility to Security.pdf
iTop VPN Crack Latest Version Full Key 2025
Cost to Outsource Software Development in 2025
AMADEUS TRAVEL AGENT SOFTWARE | AMADEUS TICKETING SYSTEM
EaseUS PDF Editor Pro 6.2.0.2 Crack with License Key 2025
Designing Intelligence for the Shop Floor.pdf
"Secure File Sharing Solutions on AWS".pptx
Topaz Photo AI Crack New Download (Latest 2025)
AI/ML Infra Meetup | LLM Agents and Implementation Challenges
Autodesk AutoCAD Crack Free Download 2025
Multiverse AI Review 2025: Access All TOP AI Model-Versions!
Computer Software and OS of computer science of grade 11.pptx

Smoothing the continuous delivery path – a tale of two teams - Lyndsay Prewer

  • 1. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp simple software solutions to big business problems. Making Software. Better. Smoothing the continuous delivery path A tale of two teams
  • 2. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp What’s this all about? 2 Continuous Delivery Done Well
  • 3. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp What’s this (Continuous Delivery) all about? 3 “... producing valuable software in short cycles and ensure that the software can be reliably released at any time”- https://en.wikipedia.org/wiki/Continuous_delivery
  • 4. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Continuous doughnuts 4 Fast feedback Risk Reduction T: 0:00:000 T: 2:00:000
  • 5. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp There’s no (CD) silver bullet 5 1 (php) monolith 50 deploys / day 1.5 billion page views / month http://goo.gl/XIB29i >600 java microservices >100 deploys / day ~2 billion requests per day http://goo.gl/ZJBiK6
  • 6. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Prefer Continuous Improvement over Continuous Delivery ▪ .Net monolith ▪ 26 -> 24 -> 34 releases per year ▪ https://goo.gl/KF9xXw 6
  • 7. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp 7 People first, practices/process second, products last
  • 8. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp .Net monolith team - how they roll 8 ▪ Private sector ▪ Significant legacy code ▪ High daily traffic (~100 million visits) ▪ ~8 product teams ▪ Weekly deployments: – Pick release candidate – Regression test – Dog food – Deploy
  • 9. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Scala microservices team - how they roll 9 ▪ .Gov - HMRC Digital ▪ 2 years old (greenfield) ▪ Calendar spikes (Visits peak is ~4 million) ▪ >30 product teams ▪ Multiple deployments per day – Teams “own” their own services – “You build it, you run it” - https://goo.gl/DyfeOf
  • 10. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Continuous Delivery Done Well Patterns for successful practice 10
  • 11. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Best practice #1 - Healthy CI - mind & body 11
  • 12. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Best practice #1 - Healthy CI - mind & body 12 Almost green!
  • 13. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Best practice #2 - Testing as an activity, not a phase 13 Product Owner Define Dev Build QA Test Web Ops Deploy
  • 14. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Best practice #2 - Testing as an activity, not a phase 14 Product Owner Define Dev Build QA Test Web Ops Deploy Test
  • 15. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Best practice #3 - Healthy automated tests 15 Unit Tests API UI
  • 16. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Best practice #3 - (Un)healthy automated tests 16 API UI Unit Tests The “Hour Glass”
  • 17. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp UI Best practice #3 - (Un)healthy automated tests 17 API The “Ice Cream Cone” Unit Test s
  • 18. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Best practice #3 - Healthy automated tests 18 Unit Tests API UI The “Tear Drop”
  • 19. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Best practice #4 - Low (manual) cost deployment (and rollback) 19 VS.
  • 20. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Best practice #5 - Metrics, monitoring and alerting 20 http://seluxkanaur.deviantart.com/art/Sauron-s-Eye-6-420535318 “Big data” Social media User behaviour Business metrics Service performance Service errors Disk and Network Monitor all things!
  • 21. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Metrics, monitoring and alerting - getting it right 21 Detect Alert Respond Display Analyse Time & Pain increasing!
  • 22. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Metrics, monitoring and alerting - getting it wrong 22 Detect Respond Display Analyse Time & Pain increasing! Alert
  • 23. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Metrics, monitoring and alerting - where and how? 23 Detect Alert Respond Display Analyse
  • 24. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Metrics, monitoring and alerting - stories from the trenches 24 Detect Alert Respond Display Analyse
  • 25. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Best practice summary 1. Healthy CI (mind and body) 2. Testing as an activty, not a phase 3. Tear drop shape automated tests (focus on behaviour, with loose coupling) 4. Low (manual) cost deployment and rollback 5. Metrics, monitoring and reporting 25 Product Owner Define Dev Build QA Test Web Ops Deplo y Test Unit Tests API U I Detect Alert Respond Display Analyse
  • 26. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Shared Pain 26 Continuous Delivery Done Well
  • 27. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Shared pain #1 - Zero down-time releases 27 https://en.wikipedia.org/wiki/VO2_max
  • 28. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Shared pain #2 - Manual deployment steps 28 https://en.wikipedia.org/wiki/Tailor https://en.wikipedia.org/wiki/Zara_(retailer) VS.
  • 29. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Shared pain summary 1. Zero down time releases 2. Manual deployment steps 29 VS.
  • 30. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Team specific accelerators 30 Continuous Delivery Done Well
  • 31. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Accelerators - 5 why’s 31 ● Create a timeline. ● Gather those involved. ● Walk through the timeline. ● Choose an entry point event: ○ Event ○ Why? ○ Process improvement ● Repeat x5 (ish)
  • 32. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Accelerators - 5 why’s - example 32 Event Why? Improvement Error threshold alert triggered. Calls to service X were timing out. Implement failover / circuit breaker. Calls to service X were timing out. Queries run by Service X were taking too long. Alert on long running queries. Queries run by Service X were taking too long. Index was missing for a new field. ... ... ... ...
  • 33. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Accelerators - automated release notes - the problem #1 33 Much confusion and pain
  • 34. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Accelerators - automated release notes - the problem #2 34 Agile Project Management Tool Source control system Features Stories Defects Login Reporting Payments API’s
  • 35. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Accelerators - automated release notes - the solution 35 Agile Project Management Tool Source control system Features Stories Defects Login 1. Identify source changes 2. Identify stories/defects 3. Identify areas 4. Group by story/defect 5. For each, summarise areas and authors 6. Group by: a. What’s done b. What’s in progress Reporting Payments API’s
  • 36. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Team specific accelerators 36 Continuous Delivery Done Well
  • 37. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Accelerators - teams “own” their own microservices 37 ▪ “You build it, you run it” - https://goo.gl/DyfeOf ▪ Prefer service over library dependencies
  • 38. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Accelerators - backward compatible API’s (principle of least surprise) 38 https://en.wikipedia.org/wiki/VO2_max Production Staging QA Dev Everyone shares (and cares)
  • 39. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp Team specific accelerators summary Monolith: 1. 5 -why’s 2. Automated release note Microservices: 1. Microservice dependencies, not library dependencies 2. Backward compatible API’s 39 Agile Project Management Tool Source control system Features Stories Defects Login Reporting Payments API’s
  • 40. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp References and resources 40 ▪ Build Quality In (promo code - LP2015 - https://goo.gl/ZRuQKw) Continuous Delivery Implementing Lean Software Development Release It
  • 41. © Equal Experts UK Ltd and lyndsayp ltd 2015@EqualExperts @lyndsp simple software solutions to big business problems. Making Software. Better. Thank You Twitter @EqualExperts @lyndsp LinkedIn linkedin.com/company/equal-experts uk.linkedin.com/in/lyndsp UNITED KINGDOM +44 203 603 7830 helloUK@equalexperts.com Equal Experts UK Ltd 30 Brock Street London NW1 3FG INDIA +91 20 6607 7763 helloIndia@equalexperts.com Equal Experts India Private Ltd Office No. 4-C Cerebrum IT Park No. B3 Kumar City, Kalyani Nagar Pune, 411006 Web www.equalexperts.com www.lyndsayp.com CANADA +1 403 775 4861 helloCanada@equalexperts.com Equal Experts Devices Inc 205 - 279 Midpark way S.E. T2X 1M2 Calgary, Alberta PORTUGAL + helloPortugal@equalexperts.com Equal Experts Portugal Rua Tomás da Fonseca - Torres de Lisboa Torre G, 5º Andar 1600-209 Lisboa Thank You

Editor's Notes

  • #2: Introduce myself (lyndsayp Ltd and EE) Roles Over 30 teams working within a Scala microservices architecture, releasing into Production multiple times per day This session is an experience report of the best practices and pain points of two teams that both practice Continous Delivery. Establish: - what roles are present - how many deliver to web Show of hands - production deployment capability: one or more per year, per quarter, per month, per week, per day
  • #3: Two very different teams Government Scala microservices Private sector .Net Monolith Both teams are doing a great job of getting their doughnuts (of differing sizes and shapes) out to Production. This is an experience report will compare and contrast What best practices help these team go faster, faster What areas of pain slow them down
  • #4: Emphasise: Fast feedback Risk reduction
  • #5: Valuable software in short cycles reliably released at any time Fast feedback - shortest time from concept to cash Risk reduction - smallest value possible
  • #7: Whilst preparing this session, I read a fascinating blog post on how another highly successful company, called targetprocess, has evolved over the last 90 months. The article describes, in gory detail, their journey over the last 7 years, through various agile best practices. Over the last three years they’ve improved their delivery frequency, but still have some way to go. They’ve made lots of improvements in other areas though. The article reminds us that when improving one’s Continuous Delivery, it’s important not to do so at the expense of other practices. The overarching goal has to be Continuous Improvement, not Continuous Delivery.
  • #10: HMRC Digital (Public sector) Gov.uk tax interfaces for citizens and businesses (70% of all gov transactions, > 1 billion transactions online) Traffic varies across the year, with peaks at key tax calendar events 30+ Product Teams Tech Stack Scala Microservices Docker Mongo DB Deployment frequency You build it, you run it - Amazon CTO Werner Vogels
  • #12: CI that works Culture - Mind share
  • #13: CI that works - knowing what to automate - a story about .Net Monolith
  • #14: Cross functional teams Picture of team mix Picture of testing all the time Story about E
  • #15: Cross functional teams Picture of team mix Picture of testing all the time
  • #16: The test automation pyramid API and/or integration tests
  • #17: Picture different test mixes Common automated testing problems
  • #18: Picture different test mixes Common automated testing problems Picture different test mixes, highlighting problems
  • #19: Tear drop shape Behavioural focus
  • #20: Story about E, then .Net Monolith Story about HMRC (rollback)
  • #21: Eye of Sauron, looking at the whole stack (user behaviour, down to disk space) Highlight: What to focus on (behaviour instead of environment) Leading vs. trailing indicators
  • #22: Detect Alert Respond Display Analyse Diagram of right and wrong mix of the above
  • #23: Detect Alert Respond Display Analyse Diagram of right and wrong mix of the above
  • #25: Tell a story Mongo query defect at HMRC Kibana Change in success rate Kibana / splunk
  • #28: Making changes to Running machine Stories and Diagram of Cookie change Database change
  • #29: Story about no more manual scripts / steps
  • #38: Microservice architecture Amazon quote - Build It, Run It, Own it Separation of features and concerns Prefer service dependencies over library dependencies
  • #39: Principle of least surprise Service API's must always be backwardly compatible Story of when we were young, teams wanted to test against fixed versions of other services
  • #41: Promote Build Quality In Excellent chapter in ILSD on VSM’s