Slide 1

Slide 1 text

Untangling software delivery with Team Topologies, flow metrics, and careful decoupling Matthew Skelton, Conflux - co-author of Team Topologies DORA community Talk & Learn | 2023-08-24 K28

Slide 2

Slide 2 text

Photo goes here Matthew Skelton Founder at Conflux Co-author of Team Topologies LinkedIn: linkedin.com/in/matthewskelton Mastodon: mastodon.social/@matthewskelton 2

Slide 3

Slide 3 text

Team Topologies Organizing business and technology teams for fast flow Matthew Skelton & Manuel Pais IT Revolution Press, September 2019 Order via stores worldwide: teamtopologies.com/book 3

Slide 4

Slide 4 text

4

Slide 5

Slide 5 text

Team Topologies is the leading approach to organizing business and technology teams for fast flow, providing a practical, step-by‑step, adaptive model for organizational design and team interaction. 5

Slide 6

Slide 6 text

6 Continuously ‘untangle’ business concepts

Slide 7

Slide 7 text

7 Find and adjust team & system boundaries for flow

Slide 8

Slide 8 text

8 Minimize hand-offs

Slide 9

Slide 9 text

9 Avoid blocking dependencies

Slide 10

Slide 10 text

10 Move some decision-making to teams

Slide 11

Slide 11 text

11 Team Topologies exposes any lack of clarity in purpose, conflict in priorities, or misalignment of incentives

Slide 12

Slide 12 text

12

Slide 13

Slide 13 text

The cost of tangled software DORA metrics & TT to the rescue! Real examples of detangling How to detangle with metrics & TT 13

Slide 14

Slide 14 text

14 flow

Slide 15

Slide 15 text

15 Use balanced health metrics (DORA, flow, cost, blockers, etc.) + TT techniques (TIM, ISH, UNM) to help find good boundaries for fast flow by untangling (decoupling) separate services

Slide 16

Slide 16 text

The cost of tangled software 16

Slide 17

Slide 17 text

17 If each engineer in the organization is blocked for 1 hour per working day, how much does this cost?

Slide 18

Slide 18 text

18 ● Fully-loaded cost: €160k per year ● 260 paid days per year ● Total of 400 engineers

Slide 19

Slide 19 text

19 Engineer fully weighted cost per year Engineer cost per day Hours blocked per 8-hour day Days blocked per 260-day year Cost of blockers per engineer per year Number of engineers Total cost of blockers per year €160,000.00 €615.38 1 32.5 €20,000.00 400 €8,000,000.00 €8 million per year 💥

Slide 20

Slide 20 text

Untangling ≃ Decoupling 20

Slide 21

Slide 21 text

Decoupling: separating things that do not need to be together 21

Slide 22

Slide 22 text

22

Slide 23

Slide 23 text

Decoupling enables shorter time-to-value 23

Slide 24

Slide 24 text

Decoupling enables multiple, independent flows of change, each with its own cadence 24

Slide 25

Slide 25 text

25 Multiple, independent flows

Slide 26

Slide 26 text

Decoupling of teams & technology vs Mingling of ideas for learning 26

Slide 27

Slide 27 text

Decoupling: teams, software, technology, deployments, data, business concepts, ... 27

Slide 28

Slide 28 text

Mingling: principles, practices, learning, techniques, approaches, ... 28

Slide 29

Slide 29 text

Team autonomy is a means to an end: rapid flow of change 29

Slide 30

Slide 30 text

Instead of trying to measure “team autonomy” directly, prefer measures like rapid flow, rapid feedback, minimal blocking dependencies… 💡 30

Slide 31

Slide 31 text

Sidenote: Decoupling for reliability 31

Slide 32

Slide 32 text

Decoupling reduces the number of ways the software can fail (failure modes) 32

Slide 33

Slide 33 text

Decoupling helps to prevent cascading failure (W → X → Y → Z) 33

Slide 34

Slide 34 text

Decoupling helps contain the “blast” when errors occur 34

Slide 35

Slide 35 text

35

Slide 36

Slide 36 text

36 Blast contained! 36

Slide 37

Slide 37 text

DORA metrics & Team Topologies to the rescue! 37

Slide 38

Slide 38 text

🔍 Use the 4 Key Metrics from Accelerate and add “blocker count” 38

Slide 39

Slide 39 text

Accelerate Building and Scaling High Performing Technology Organizations Nicole Forsgren, Jez Humble, Gene Kim IT Revolution Press, 2018 Order via stores worldwide: https://itrevolution.com/book/accelerate/ 39

Slide 40

Slide 40 text

4 key metrics: ‘Accelerate’ lead time deployment frequency Mean Time To Restore change fail percentage

Slide 41

Slide 41 text

4 key metrics: ‘Accelerate’ lead time deployment frequency Mean Time To Restore change fail percentage Encourage fast flow

Slide 42

Slide 42 text

4 key metrics: ‘Accelerate’ lead time deployment frequency Mean Time To Restore change fail percentage Encourage operability

Slide 43

Slide 43 text

What % of lead time is actual work? Example: 120 hours / (120+630) x 100 = 16% Flow Efficiency 43

Slide 44

Slide 44 text

Measure ‘wait time’? https://www.isixsigma.com/methodology/lean-methodology/identify-constraints-and-reduce-wait-time-processes/ 44

Slide 45

Slide 45 text

Measuring ‘wait time’ is hard Count the number of blocking waits as a proxy ✨ 45

Slide 46

Slide 46 text

4 key metrics & ‘blocker count’ lead time deployment frequency Mean Time To Restore change fail percentage ‘blocker count’ as a proxy for flow efficiency 46

Slide 47

Slide 47 text

Use 4 key metrics 📊 + “blocker count” to assess and find better service & team boundaries for flow 47

Slide 48

Slide 48 text

“If we adjusted the service & team boundary here, would it improve the 4 key metrics?” 💓 48

Slide 49

Slide 49 text

“If we adjusted the service & team boundary here, reduce the blocker count?” 📉 49

Slide 50

Slide 50 text

Techniques from the Team Topologies community 50

Slide 51

Slide 51 text

51 Independent Service Heuristics (ISH)

Slide 52

Slide 52 text

52 “The Independent Service Heuristics (ISH) are rules-of-thumb (clues) for identifying candidate value streams and domain boundaries by seeing if they could be run as a separate SaaS/cloud product.” https://teamtopologies.com/ish

Slide 53

Slide 53 text

53 User Needs Mapping (UNM)

Slide 54

Slide 54 text

54 “User Needs Mapping attempts to capture the first 4 steps of the Wardley Mapping process … for identifying potential team [and service] boundary” https://teamtopologies.com/unm

Slide 55

Slide 55 text

55 Team Interaction Modeling (TIM)

Slide 56

Slide 56 text

56 “[Team Interaction Modeling helps] to describe how to re-organize … teams and their interactions to achieve better flow and deliver value faster.” https://teamtopologies.com/tim

Slide 57

Slide 57 text

Real examples of detangling for fast flow 57

Slide 58

Slide 58 text

Case Study JP Morgan 58

Slide 59

Slide 59 text

Case Study “How JP Morgan Applied Team Topologies to Improve Flow in a Market Leading Enterprise Platform” 59 https://www.youtube.com/ watch?v=y3OL7dv2l48 Fast Flow Conf 💖 https://www.fastflowconf.com/

Slide 60

Slide 60 text

Case Study 60

Slide 61

Slide 61 text

Case Study “60% of dependencies reduced through better team design” 💥 61

Slide 62

Slide 62 text

62 Engineer fully weighted cost per year Engineer cost per day Hours blocked per 8-hour day Days blocked per 260-day year Cost of blockers per engineer per year Number of engineers Total cost of blockers per year €160,000.00 €615.38 1 32.5 €20,000.00 400 €8,000,000.00 €8 million per year 💥 Remember this? [Note: these are not figures from JP Morgan]

Slide 63

Slide 63 text

Case Study 63

Slide 64

Slide 64 text

● Financial advice ● Founded 2009 ● Consumers & companies ● 'Explainable AI' ● Increasingly successful 64

Slide 65

Slide 65 text

< 2019: growth x 6 65

Slide 66

Slide 66 text

Mid-2019 HALT! 66

Slide 67

Slide 67 text

September 2019 67

Slide 68

Slide 68 text

Independent Service Heuristics https://github.com/TeamTopologies/Independent-Service-Heuristics Rules-of-thumb for identifying candidate value streams and domain boundaries by seeing if they could be run as a separate SaaS/cloud product. 68

Slide 69

Slide 69 text

2020: New arch 69

Slide 70

Slide 70 text

“Team Topologies ... has given us the tools we were looking for and have helped us to build a plan and have confidence that we know where we’re going and how to get there.” Richard Marshall, CTO, Wealth Wizards 70

Slide 71

Slide 71 text

Concepts ● Stream-aligned: build & run ● Boundaries that help flow ● Supporting team types: reduce cognitive load on Stream teams 71

Slide 72

Slide 72 text

Results ● Clear patterns and language ● Framework for design decisions ● Confidence in scaling approach 72 https://medium.com/ww-engineering/to-monolith-or-to-microservice-f8c3f967e63c

Slide 73

Slide 73 text

Thanks to: Richard Marshall CTO, Wealth Wizards (to 2021) 73 Further details: https://teamtopologies.com/wealthwizards

Slide 74

Slide 74 text

Case Study GOV.UK Home Office 74

Slide 75

Slide 75 text

Case Study “How the Home Office’s Immigration Technology department reduced its cloud costs by 40%” 75 https://www.gov.uk/government/case-studies/how- the-home-offices-immigration-technology-departm ent-reduced-its-cloud-costs-by-40

Slide 76

Slide 76 text

76 https://www.gov.uk/government/case-studies/how-the-home-offices-immigration-technology-department-reduced-its-cloud-costs-by-40

Slide 77

Slide 77 text

Case Study Making service owners accountable for the $ spend for their service helps to clarify service boundaries 💡 77

Slide 78

Slide 78 text

Use cost metrics as a “financial scalpel” 🔪 to split services apart for fast flow 78

Slide 79

Slide 79 text

How to detangle with metrics & Team Topologies 79

Slide 80

Slide 80 text

🔍 Track dependencies and separate as “blocking” vs “non-blocking” 80

Slide 81

Slide 81 text

⏳ ⏳ Blocking Non- Blocking 81

Slide 82

Slide 82 text

🔍 Use tools like CodeScene to detect hidden coupling 82 82

Slide 83

Slide 83 text

83 “Measure how well your organization aligns with your architecture” 💥 https://codescene.com/

Slide 84

Slide 84 text

🔍 Use the Team Dependencies Tracking tool on GitHub 84 84

Slide 85

Slide 85 text

https://github.com/TeamTopologies/ Team-Dependencies-Tracking Team Dependencies Tracking CC BY-SA Inspired by details from Spotify 85

Slide 86

Slide 86 text

Use team dependencies tracking to find and remove dependencies that hurt flow 86

Slide 87

Slide 87 text

Team First Look at your organisation through the lens of teams, rather than just the people they work for. teamform.co 87

Slide 88

Slide 88 text

The cost of tangled software DORA metrics & TT to the rescue! Real examples of detangling How to detangle with metrics & TT 88

Slide 89

Slide 89 text

89 “You too can save €8 million per year by decoupling for fast flow”

Slide 90

Slide 90 text

90 Use balanced health metrics (DORA, flow, cost, blockers, etc.) + TT techniques (ISH, UNM, TIM) to help find good boundaries for fast flow by untangling (decoupling) separate services

Slide 91

Slide 91 text

91 What’s your perspective? Which aspects resonate? Which things feel incorrect?

Slide 92

Slide 92 text

92 expert-led group learning for adopting fast flow and Team Topologies confluxhq.com

Slide 93

Slide 93 text

thank you confluxhq.com Copyright (c) 2017-2023 Conflux group of companies. All Rights Reserved. The name “Conflux” and the filled C device are Registered Trademarks ® in multiple jurisdictions.