Scaling Change
Management maths & metaphors -
Factories, home loans, and nightclubs
Hello
Today
Factories
CC BY 3.0 Andreas Praefcke
So you run a factory
http://media.treehugger.com/assets/images/2015/11/tesla-gigafactory-solar-roof-01.jpg
Factory maths
C = f + v•N
M = dC/dN = v
Visualising factory maths - marginal
Visualising factory maths - total
Teh big-O of factories
Visualising factory maths - big-O
Managing with factory maths
So can we manage software like a factory?
What does software produce?
To scale production of experiences
To scale the factory
What stops us sustaining software change?
Home Loans
The cost of debt
Adopting a debt metaphor implies an equation to cost this retarding complexity in software delivery, the same one we would use to calculate the cost of a home loan
C = P • (1 + r)t
M = dC/dt = Q • (1 + r)t
(Ignoring repayments)
Teh big-O of technical debt
Management with the debt metaphor
Is there another way to look at it?
Nightclubs
What is the dominant cost of change?
It's the previously unanticipated or knowingly deferred cost of interaction between changes.
Although we have fixed costs, and each change has its individual cost, the dominant factor is that each new change interacts to some extent with every previously introduced change.
Visualising interaction costs - marginal
Visualising interaction costs - total
Visualising interaction costs - big-O
So why nightclub?
Because in a nightclub, a problem could occur between any pair of patrons
But nightclubs want to scale patrons through the door
How do they manage scale?
By screening at the entry, by creating separate spaces, and by ejecting patrons who have outstayed their welcome
So let’s talk about socialisation costs
BBC News
Interaction cost maths
1
2
3
4
Each change i has variable cost a & interaction cost b
Add up all N for total cost
Re-write 2 with 1
Expand sums with average values for a and b
Interaction cost maths & big-O
5
6
Re-write like our factory maths, use s for interactions
Figure out marginal cost
Marginal cost for a new change is O(N), dominated by number of changes to date
Change heat map
Change interaction heat map
Socialise
Screen
Seclude
Surrender
Where else do we see socialisation costs?
Design == change?
Bonus Metaphor
Pivoting
Axis of rotation
Increasing inertia
Pivoting
“Axis of purpose”
Increasing inertia
Wrapping Up
Comparison
Metaphor | Maths | Management | At Scale |
Factory | O(n) Variable cost dominates | Production | Reduce marginal cost by investing in fixed. |
Home loan | O((1+r)^t) Interest rate dominates | Sustainable delivery | Borrow responsibly. Don't miss repayments. |
Nightclub | O(n^2) Interaction cost dominates | Change | Socialise, screen, seclude, or surrender changes. |
Meta
Thank you