Microservice Teams - How the cloud changes the way we work

svenpeters 56 views 34 slides Jun 11, 2024
Slide 1
Slide 1 of 169
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14
Slide 15
15
Slide 16
16
Slide 17
17
Slide 18
18
Slide 19
19
Slide 20
20
Slide 21
21
Slide 22
22
Slide 23
23
Slide 24
24
Slide 25
25
Slide 26
26
Slide 27
27
Slide 28
28
Slide 29
29
Slide 30
30
Slide 31
31
Slide 32
32
Slide 33
33
Slide 34
34
Slide 35
35
Slide 36
36
Slide 37
37
Slide 38
38
Slide 39
39
Slide 40
40
Slide 41
41
Slide 42
42
Slide 43
43
Slide 44
44
Slide 45
45
Slide 46
46
Slide 47
47
Slide 48
48
Slide 49
49
Slide 50
50
Slide 51
51
Slide 52
52
Slide 53
53
Slide 54
54
Slide 55
55
Slide 56
56
Slide 57
57
Slide 58
58
Slide 59
59
Slide 60
60
Slide 61
61
Slide 62
62
Slide 63
63
Slide 64
64
Slide 65
65
Slide 66
66
Slide 67
67
Slide 68
68
Slide 69
69
Slide 70
70
Slide 71
71
Slide 72
72
Slide 73
73
Slide 74
74
Slide 75
75
Slide 76
76
Slide 77
77
Slide 78
78
Slide 79
79
Slide 80
80
Slide 81
81
Slide 82
82
Slide 83
83
Slide 84
84
Slide 85
85
Slide 86
86
Slide 87
87
Slide 88
88
Slide 89
89
Slide 90
90
Slide 91
91
Slide 92
92
Slide 93
93
Slide 94
94
Slide 95
95
Slide 96
96
Slide 97
97
Slide 98
98
Slide 99
99
Slide 100
100
Slide 101
101
Slide 102
102
Slide 103
103
Slide 104
104
Slide 105
105
Slide 106
106
Slide 107
107
Slide 108
108
Slide 109
109
Slide 110
110
Slide 111
111
Slide 112
112
Slide 113
113
Slide 114
114
Slide 115
115
Slide 116
116
Slide 117
117
Slide 118
118
Slide 119
119
Slide 120
120
Slide 121
121
Slide 122
122
Slide 123
123
Slide 124
124
Slide 125
125
Slide 126
126
Slide 127
127
Slide 128
128
Slide 129
129
Slide 130
130
Slide 131
131
Slide 132
132
Slide 133
133
Slide 134
134
Slide 135
135
Slide 136
136
Slide 137
137
Slide 138
138
Slide 139
139
Slide 140
140
Slide 141
141
Slide 142
142
Slide 143
143
Slide 144
144
Slide 145
145
Slide 146
146
Slide 147
147
Slide 148
148
Slide 149
149
Slide 150
150
Slide 151
151
Slide 152
152
Slide 153
153
Slide 154
154
Slide 155
155
Slide 156
156
Slide 157
157
Slide 158
158
Slide 159
159
Slide 160
160
Slide 161
161
Slide 162
162
Slide 163
163
Slide 164
164
Slide 165
165
Slide 166
166
Slide 167
167
Slide 168
168
Slide 169
169

About This Presentation

A lot of technical challenges and complexity come with building a cloud-native and distributed architecture. The way we develop backend software has fundamentally changed in the last ten years. Managing a microservices architecture demands a lot of us to ensure observability and operational resilien...


Slide Content

MICROSERVICE TEAMS
@svenpet
Sven Peters
DevOps Advocate
HOW THE CLOUD CHANGES THE WAY WE WORK

Our living enviroment
changed how
we orginze our lives

Microservices
changed how
we organize our teams

In a galaxy far,
far away

JIRA
2002
CONFLUENCE
2004

CONFLUENCE
2010
JIRA STUDIO

2010
JIRA STUDIO

2010
JIRA STUDIO

JIRA STUDIO
2012

Jira | ConfluenceUnicorn platform
Linux derivative
2012

Jira | ConfluenceUnicorn platform
SINGLE TENANT APP
ONE CUSTOMER - ONE JVM
DIFFICULT TO SCALE

RELEASE CADENCE

RELEASE TRAIN

FEATURE FLAGS

GROWTH EXPERIMENTS

SHARED AND RE-WRITTEN CODE
CONFLUENCE
JIRA
BITBUCKET

SAME CODEBASE

Project Vertigo
2016

STATELESS
12 FACTOR APPS
https://12factor.net/

EVOLUTION
OVER
TRANSFORMATION

2017
2018
THE BIG MIGRATION

TECHNOLOGY
A distributed
archtecture in the
cloud.
Shared
microservices

TECHNOLOGY
A distributed
archtecture in the
cloud.
Shared
microservices
TEAMS
?

BEFORE CLOUD DEVELOPMENT…

JIRACONFLUENCE BITBUCKET

DEVELOPER
TEAM

QA
TEAM

IT
TEAM

DURING CLOUD DEVELOPMENT…

LEAD THE WAY

SOLVING TECHNICAL CHALLENGES
…FOR 2 YEARS

Small teams On call

WE NEEDED TO CHANGE
THE WAY WE WORK

MICROSERVICE
TEAMS

MICROSERVICE
TEAMS
AUTONOMY ALIGNMENTSUPPORTTOOLING

SUPPORTTOOLING ALIGNMENT AUTONOMY

SUPPORTTOOLING ALIGNMENT AUTONOMY

TOOLING

17,000
components
+

17,000
DOCKER CONTAINER
CI/CD CONFIG
ADD OBSERVIBILITY

times

COPY | PASTE | CHANGE
17,000times

Micros
LESS
COGNITIVE
LOAD
CREATE
VALUE
FAST
BETTER
SERVICES
SRE
HAPPINESS

All these
microservices

What is it
doing?

What are the
dependencies?

Where’s the
documentation?

Where’s the
repository?

Who’s the
owner?

Who’s on
call?

We created a spreasheet

We created spreasheets

Microscope
Documentation tool for microservices

Microscope
Documentation tool for microservices

Microscope
Documentation tool for microservices
Communication teams

Microscope
Documentation tool for microservices
Communication teams
API changes

Is the service
ready?
Owner team
Documentation
No open Jira Issues
Added to Microscope

Before take off: Let’s go through the checklist

READY
Service
Before deployment: Check service readiness

READY
Service
Before deployment: Check service readiness

Owner team
✅ Added

Description
✅ Added

Deployment time < 5 min
⚠ Currently 6.2 min

Documentation
❌ Missing
Service readiness

DEVELOPER
COGNITIVE
LOAD

DEVELOPER EXPERIENCE
PLATFORM

Standardization
made easy

Allow for
Autonomy
Standardization
made easy

DEVELOPER EXPERIENCE
PLATFORM
TEAM

The
Platform

Developers find
a way
The
Platform

A PLAYBOOK
FOR
DEVS
Understand their
needs.
START
SMALL
Build an MVP.
Evolve from there.
API
FIRST
Make it easy to
run and integrate
services.
OPEN
SOURCE
Let developers
help.
FOR PLATFORM
TEAMS

SUPPORTTOOLING ALIGNMENT AUTONOMY

SUPPORTTOOLING ALIGNMENT AUTONOMY

AUTONOMY

AutonomyStandardization

Less dependencies
=
More speed
Autonomy

More ownership
=
Motivation
Autonomy

CONTINOUSLY
IMPROVE

CONTINOUSLY
IMPROVE
Autonomously

Pull Request reviews - How many reviews
Lines of code / changeTime to Restore - Time to bring a service up againStory points completed
Bug resolutions - Critical bugs More retrospectivesIncident Response Time -How fast are we reacting?
Change Failure Rate - Ratio between successful and failed deploys
Comments on Reviews
Earlier governemnt and security requirements
VPN keeps saying “login fail”
Test covorage Ticket Cycle Time - how much time from backlog to deployment
Wait time - time used to wait for tests to completeBuild timeUnit tests 1/2 Test the ticket for templates
Users are reporting that the green button is opeingin a popup in the wrong position
Less meetings

Pull Request reviews - How many reviews
Lines of code / changeTime to Restore - Time to bring a service up againStory points completed
Bug resolutions - Critical bugs More retrospectivesIncident Response Time -How fast are we reacting?
Change Failure Rate - Ratio between successful and failed deploys
Comments on Reviews
Earlier governemnt and security requirements
VPN keeps saying “login fail”
Test covorage Ticket Cycle Time - how much time from backlog to deployment
Wait time - time used to wait for tests to completeBuild timeUnit tests 1/2 Test the ticket for templates
Users are reporting that the green button is opeingin a popup in the wrong position
Less meetings
Every team has different challenges

COMPASS | METRICS

Check
Ops
Weekly team ritual
METRICS

Measure what is important,
don’t make important what
you can measure.
Robert McNamara

Speed to ship quality code
Waiting time
Execution independence
Access to tools, processes, and practices
Effort managing external standards
Managing code, pipeline, infrastructure
Ramp up time
Developer satisfaction
Developer
Experience
Survey

Speed to ship quality code
Waiting time
Execution independence
Access to tools, processes, and practices
Effort managing external standards
Managing code, pipeline, infrastructure
Ramp up time
Developer satisfaction
Developer
Experience
Survey

Speed to ship quality code
Waiting time
Execution independence
Access to tools, processes, and practices
Effort managing external standards
Managing code, pipeline, infrastructure
Ramp up time
Developer satisfaction
Satisfaction

Speed to ship quality code
Waiting time
Execution independence
Access to tools, processes, and practices
Effort managing external standards
Managing code, pipeline, infrastructure
Ramp up time
Developer satisfaction
SatisfactionImportance

Satisfaction
Importance
Ramp up time
Wait time
Speed to ship
Managing code,
tools , pipelines
Access to tools
Execution independence
Managing external standards
Developer satisfaction

TEAM PLAYBOOK | DEVEX SURVEY

TEAM PLAYBOOK | CHECKOPS

Team Playbook

Team Playbook
Guidance for all teams

We hire smart people.
We don’t need to tell them what to do.
We just show them the way.

atlassian.com/team-playbook

Allow for
Autonomy
Standardization
made easy

SUPPORTTOOLING ALIGNMENT AUTONOMY

SUPPORTTOOLING ALIGNMENT AUTONOMY

SUPPORT

Learn
Better tester
Better designers
Better product managers

QA : Developer
1:30

Devs
Exploratory TestAutomated Test AQ

Devs
Exploratory Test
Automated Test
Quality
AssistanceA
Q

QA Kick-off TestingImplementation Demo Deploy
QA Kick-off
for team autonomy

Dependency Autonomy
with support
QA Developer

2005

Dependency Autonomy
with support
Design Developer

Standard bricks Sven’s castle

Special bricks Instructions Sven’s castle
Designed by Lego

Design System

Design System

You build it

You build it,
you run it
Werner Vogel, AWS

You build it,
you run it,
you improve it
Sven Peters, Atlassian

FEEDBACK

80k
Feedback items

80k
Feedback items
10k
Atlassian’s

BROAD FEEDBACK

New feature
PROBLEM SOLUTION PROTOTYPES CODE TEST DEPLOY BLACK HOLE

Contextual Feedback
As a service
Insights help me to get a better overview of my
development process

Dependency Autonomy
with support
Customer experience Developer

Allow for
Autonomy
Standardization
made easy

SUPPORTTOOLING AUTONOMY ALIGNMENT

SUPPORTTOOLING AUTONOMY ALIGNMENT

ALIGNMENT

Developer Platform

Guidance

Support

Fast
Independent

QUALITY
MARKETING
OPERATIONS
DESIGN

Demo
Sessions

Demo
Sessions

Async videos

Demo
Sessions
$
%&
Why are we
doing it this
way?

Demos

Demos
50%
more engagement

#democulture
' 5000 demo videos in 2024

Projects
6,000+ active projects

What is a project?
Two people or more.
Longer than two weeks.

What’s the status?
Updates are due every Friday.
You just got 280 chars. Go!

ATLAS | PROJECT ABOUT

ATLAS | PROJECT UPDATES

Aligned by goals

Aligned by goals

Allow for
Autonomy
Standardization
made easy

SUPPORTTOOLING ALIGNMENT AUTONOMY

THE WAY WE WORK
DID CHANGED
?

THE WAY WE WORK
DID CHANGED
?

THE WAY WE WORK
DID CHANGED
?

THE WAY WE WORK
DID CHANGED
?

?

WE NEEDED TO CHANGE
THE WAY WE WORK

WE WILL CHANGE
THE WAY WE WORK

THIS IS US

THIS IS US
300K CUSTOMERS
5K ENGINEERS
20 YEARS OLD PRODUCT
COMPETITIVE MARKET

Thank
you
@svenpet
CHANGE IS THE ONLY CONSTANT
MICROSERVICE TEAMS