Slide 1

Slide 1 text

Untangling software delivery with Team Topologies, flow metrics, careful decoupling, and Adapt Together™ Matthew Skelton, Conflux - co-author of Team Topologies Agile Yorkshire meetup | 04 September 2024 K28

Slide 2

Slide 2 text

2 flow

Slide 3

Slide 3 text

3 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 4

Slide 4 text

Decoupling of teams & technology for fast flow Diffusing of ideas for learning and alignment 4

Slide 5

Slide 5 text

5 Matthew Skelton holistic innovation Originator of Adapt Together™ by Conflux Co-author of Team Topologies matthewskelton.com

Slide 6

Slide 6 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 6

Slide 7

Slide 7 text

7

Slide 8

Slide 8 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. 8

Slide 9

Slide 9 text

9 Continuously ‘untangle’ business concepts

Slide 10

Slide 10 text

10 Find and adjust team & system boundaries for flow

Slide 11

Slide 11 text

11 Minimize hand-offs

Slide 12

Slide 12 text

12 Avoid blocking dependencies

Slide 13

Slide 13 text

13 Move some decision-making to teams

Slide 14

Slide 14 text

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

Slide 15

Slide 15 text

15

Slide 16

Slide 16 text

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

Slide 17

Slide 17 text

The cost of tangled software 17

Slide 18

Slide 18 text

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

Slide 19

Slide 19 text

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

Slide 20

Slide 20 text

20 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 21

Slide 21 text

Untangling ≃ Decoupling 21

Slide 22

Slide 22 text

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

Slide 23

Slide 23 text

23

Slide 24

Slide 24 text

Decoupling enables shorter time-to-value 24

Slide 25

Slide 25 text

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

Slide 26

Slide 26 text

26 Multiple, independent flows

Slide 27

Slide 27 text

27 Multiple, independent flows, fractally

Slide 28

Slide 28 text

Decoupling of teams & technology for fast flow Diffusing of ideas for learning and alignment 28

Slide 29

Slide 29 text

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

Slide 30

Slide 30 text

Diffusing: principles, practices, learning, techniques, approaches, ... 30

Slide 31

Slide 31 text

Sidenote: Decoupling for reliability 33

Slide 32

Slide 32 text

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

Slide 33

Slide 33 text

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

Slide 34

Slide 34 text

Decoupling helps contain the “blast” when errors occur 36

Slide 35

Slide 35 text

37

Slide 36

Slide 36 text

38 Blast contained! 38

Slide 37

Slide 37 text

Accelerate metrics & Team Topologies to the rescue! 39

Slide 38

Slide 38 text

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

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/ 41

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 45

Slide 44

Slide 44 text

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

Slide 45

Slide 45 text

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

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 48

Slide 47

Slide 47 text

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

Slide 48

Slide 48 text

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

Slide 49

Slide 49 text

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

Slide 50

Slide 50 text

Techniques from the Team Topologies community 52

Slide 51

Slide 51 text

53 Independent Service Heuristics (ISH)

Slide 52

Slide 52 text

54 “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

55 User Needs Mapping (UNM)

Slide 54

Slide 54 text

56 “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

57 Team Interaction Modeling (TIM)

Slide 56

Slide 56 text

58 “[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 59

Slide 58

Slide 58 text

Case Study JP Morgan 60

Slide 59

Slide 59 text

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

Slide 60

Slide 60 text

Case Study 62

Slide 61

Slide 61 text

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

Slide 62

Slide 62 text

64 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 65

Slide 64

Slide 64 text

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

Slide 65

Slide 65 text

< 2019: growth x 6 67

Slide 66

Slide 66 text

Mid-2019 HALT! 68

Slide 67

Slide 67 text

September 2019 69

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. 70

Slide 69

Slide 69 text

2020: New arch 71

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 72

Slide 71

Slide 71 text

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

Slide 72

Slide 72 text

Results ● Clear patterns and language ● Framework for design decisions ● Confidence in scaling approach 74 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) 75 Further details: https://teamtopologies.com/wealthwizards

Slide 74

Slide 74 text

76 organize for fast flow of value We help product, technology and engineering leaders design high-impact team-of-teams organizations. teamtopologies.com

Slide 75

Slide 75 text

How to detangle with metrics & Team Topologies 77

Slide 76

Slide 76 text

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

Slide 77

Slide 77 text

⏳ ⏳ Blocking Non- Blocking 79

Slide 78

Slide 78 text

🔍 Use tools like CodeScene to detect hidden coupling 80 80

Slide 79

Slide 79 text

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

Slide 80

Slide 80 text

🔍 Use the Team Dependencies Tracking tool on GitHub 82 82

Slide 81

Slide 81 text

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

Slide 82

Slide 82 text

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

Slide 83

Slide 83 text

Case Study GOV.UK Home Office 86

Slide 84

Slide 84 text

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

Slide 85

Slide 85 text

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

Slide 86

Slide 86 text

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

Slide 87

Slide 87 text

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

Slide 88

Slide 88 text

BUT … 91

Slide 89

Slide 89 text

If we have clear boundaries for flow, with limited interactions, how do we create alignment? How do we learn from each other at pace? 92

Slide 90

Slide 90 text

93 Multiple, independent flows, fractally

Slide 91

Slide 91 text

94 Multiple, independent flows, fractally

Slide 92

Slide 92 text

95 Active diffusion of knowledge across team boundaries

Slide 93

Slide 93 text

96 Alignment and engagement “High performers favor strategies that create community structures at both low and high levels in the organization...”

Slide 94

Slide 94 text

97 internal conferences guilds Communities of Practice lunch & learn public blogs

Slide 95

Slide 95 text

98 https://internaltechconf.com/ Internal Tech Conferences Victoria Morgan-Smith and Matthew Skelton

Slide 96

Slide 96 text

99 “This initiative around internal conferences has been the single most effective thing to align business and technology that I have seen in this organization” – Murray Hennessey, CEO, (UK retail co)

Slide 97

Slide 97 text

100 https://internaltechconf.com/ Internal Tech Conferences Victoria Morgan-Smith and Matthew Skelton It’s co pli ate !

Slide 98

Slide 98 text

101 “The way that the Conflux crew used their active knowledge diffusion approach to seek out and champion good practices was a real revelation to us at TELUS and helped to shift thinking around how we innovate and share successes.” – Steven Tannock, Director, Architecture (Platform Technology & Tools) at TELUS Digital

Slide 99

Slide 99 text

102 Thriving organizations, delivering at speed™ Create alignment, trust, and engagement across your organization whilst delivering at pace with fast flow. adapttogether.info

Slide 100

Slide 100 text

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

Slide 101

Slide 101 text

104 “You too can save €x million per year by decoupling for fast flow”

Slide 102

Slide 102 text

105 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 103

Slide 103 text

Decoupling of teams & technology for fast flow Diffusing of ideas for learning and alignment 106

Slide 104

Slide 104 text

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

Slide 105

Slide 105 text

Diffusing: principles, practices, learning, techniques, approaches, ... 108

Slide 106

Slide 106 text

109 The Adapt Together™ approach from Conflux creates alignment, trust, and engagement across your organization whilst delivering at pace with fast flow. adapttogether.info 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. teamtopologies.com Copyright (c) 2017-2024 Conflux group of companies, Team Topologies Ltd, and Holistic Innovation Ltd. All Rights Reserved. The name “Conflux” and the filled C device are Registered Trademarks ® in multiple jurisdictions. The Team Topologies logo is a Registered Trademark ® in multiple jurisdictions.