SlideShare une entreprise Scribd logo
1  sur  81
Télécharger pour lire hors ligne
The Gordian knot
@ziobrando
Let’s start from here
• The Science of Lean Software and
DevOps.
What is Science Saying?
DevOps works!
“The findings from our research program shows clearly that the value of
adopting DevOps is even larger than we had initially thought, and the
gap between high and low performers continues to grow”
DevOps key traits
• Frequent code deployments
• Fast lead time from commit to deploy
• Fast recovery from downtime
• Lower Change failure rate
• Up to 46 times more
frequently
• Up to 400 times
faster lead time
• Up to 170 faster
mean time
• 5 times lower
change failure rate
Just Hire some
DevOps, where’s the
problem?
What about MicroServices?
Microservices
• More frequently adopted between high
performers
• No significant differences according to
which type of architecture teams were
building or integrating against.
Microservices are not
enough!
I was the only
person in a
microservices conference
to do event-driven
customers are
asking me to help them
coordinate microservices
deployment
Microservices
are just like
SOA
We
screwed up
SOA, we’ll screw
up microservices
in the very same
way!!!
Scary
Technology Relevance
• Not as much as we’d like :-)
• The main differentiating factor is…
Loose coupling!!
Bounded Context
Bounded Context
Weren’t Microservices and
Loosely coupled supposed
to be the same thing?
Stop
splitting
around
data!
Entities to microservices
As ugly as the code can be, the IDE works fine inside
the monolith
The moment you migrate, refactoring becomes an
order of magnitude more expensive…
…and you’ll never perform it anyway, because budget
will over by then.
Culture as a Key factor
You can’t just “go DevOps” in a vacuum
Westrum Classification
• Pathological (power-Oriented)
• Bureaucratic (Rules-Oriented)
• Generative (Performance-Oriented)
This is where things get
weird
Culture
CULTURE is a GIVEN, there’s nothing we can do about
it
CULTURE or “MENTALITY” as an ALIBI.
CULTURE as ORTHOGONAL and INDEPENDENT from
other concerns.
What is Culture?
I don’t need a precise definition, I just need an actionable one
Culture is the cumulative
effect of a winning behaviour
within a given context
Winning Examples plus Imitation is a formidable combo.
The bus ticket
A little journey into stereotypes
Taking a bus: Scenario A
Tickets can be purchased in shops and vending
machines
Multiple entry points on the bus (to speed up
boarding operations)
Easy to jump on without ticket
CHEATING is for low-risk gamblers.
A Different Scenario:
Payment on the bus enforces a single entry point.
If I don’t pay, everybody is looking at me.
CHEATING is for losers
Design choices define
interactions that shape
culture
Trying to introduce good practices
“I am the only one in my team doing TDD”
“My tests are frequently broken because I am the only
one running them”
A winning behaviour?
2 Thinking Tools
The Pink Check
Thinking Tool #1
Yes! I mean This Pink!
Autonomy
Mastery
Purpose
https://vimeo.com/15488784
Scenario: The Builders team
Great Team.
Great product, growing on the market.
Positive feedback loops. (more on this later)
The Pink Check
Autonomy?
It’s Us, We Built it, We know every corner of it. Plus
…it’s tested.
Mastery?
Damn Yeah! We made mistakes, but we keep improving
the codebase. We are in control.
Purpose
Keep on Rocking!
Scenario: The caged team
Great Team (same team as before).
New product: “let’s use this platform to speed up
time!”
6 months later…
3rd Party Platform
! ConformistOur Core
The Pink Check
Autonomy?
Not Any More: the platform is constraining their
options.
Mastery?
Not Any More: platform is suggesting to do “dirty
things”
Purpose?
… pay the bills?
Bounded Contexts
As units of clear
responsibility
Purpose (Again)
A team with a
clear purpose is a
formidable
weapon
The Feedback Check
Thinking Tool #2
Exploring your feedback loops
Which are the feedback channels?
How can we know we’re doing a good job?
Who are we making happy?
Are we learning the right things?
How does (good|bad) feedback arrive?
How Long should I wait for (good|bad) Feedback?
Feedback Check: DevOps
Feedback from Users & Metrics, Right After we
release.
Mistakes are removed quickly (lower cognitive load,
accelerated learning)
Learning can sparkle new ideas in quick cycle.
(Feedback has business-specific delays.)
Delay is part of
the (good|bad)
feedback cycle
People won’t improve a system
if they won’t stay around long
enough to see the benefits
Have you ever repainted a hotel room?
Time vs Time
Time to enjoy the benefits of a given action
My life expectancy in a system
Annoyingly, short term goals tend to beat long term ones…
DevOps works!
“The findings from our research program shows clearly that the value of
adopting DevOps is even larger than we had initially thought, and the
gap between high and low performers continues to grow”
Yep, same slide from the beginning. It’s intentional
If the loop is too long,
systems won’t improve
AT ALL
Long release cycles are slowly killing your organization
Homework
Run the Feedback Check on the following topics
Refactoring
Test-Driven Development
Architecture Migration
Getting a training
And on the different Roles in your organisation…
Whenever my team ask
anything I try to fulfil
their requests
It’s so
exhausting to achieve
anything with our boss that
we only ask stuff that he
can’t possibly refuse
The sadness
machine scenario
Sadness Machine Scenario
Product teams working on new features
National teams Working on Local Version
Site Teams working on customisation
Lead Time?
9 months
6 months
6 months
I’d never work in a place
like that!
Pink Check
Autonomy?
No: can’t deliver value independently.
Mastery?
Does it matter? They won’t catch me anyway.
Purpose?
Actively prevented from having one.
Positive Feedback :-)
15 month on average before releasing a feature in
production.
No direct contact with the end user
Working on specifications
Releasing to a middleman (positive feedback cannot be
really trusted)
Negative Feedback :-(
Bad feedback can happen at any time… after release
No or little control on the reason
Always disconnected
Negative Feedback and
Delay
Speed Matters
A Kafka-style punishment System
Well Done!
A Reward Deprivation System
Real case Scenario #2
Microservices architecture
New Service dependent on 12 external services.
Synchronously
External services completely unreliable
SLA requested
Pink Check
Autonomy?
No: at the mercy of a dozen of enemies
Mastery?
Will it matter? They’re asking to build on sand…
(offensive BTW)
Purpose?
Survival
!
Our Service
3rd Party Service
Conformist
3rd Party Service
Conformist
3rd Party Service
Conformist
3rd Party Service
Conformist
3rd Party Service
Conformist
3rd Party Service
Conformist
3rd Party Service
Conformist
3rd Party Service
Conformist
3rd Party Service
Conformist
3rd Party Service
Conformist
3rd Party Service
Conformist
3rd Party Service
Conformist
!
!
!
!
!
!
!
!
!
!
Positive Feedback :-)
Really low probability of working things.
No direct contact with the end user
Working on specifications
Releasing to a middleman (again!)
Negative Feedback :-(
Bad feedback can happen at any time… for a dozen of
reasons. after release
No or little control on the reason
Always disconnected
Fear
That’s what you’re designing for!
This job will
allow you to experience
a continuous state of
fear, anger and guilt
Not to
mention
frustration
And despair
too!
Good Developers are OK in
paying for their own
mistakes
They hate paying for
somebody else’s ones
Safety
Responsibility
Pride
Loosely coupled -> AUTONOMY
How many meetings to we need to AGREE on
something?
How is this affecting purpose?
How many externals are we depending upon?
How is this affecting autonomy?
How many trade-offs?
How is this affecting mastery?
SummarySummary
Buy a Copy of this
book!
Buy a copy for your boss too!!
SummaryEverything is
connected
Emotions
Matters
Your Architectural Choices
will shape Interaction and
Culture
Remember the bus?
Bounded Contexts
• Unit of
language
consistency
• Unit of purpose
• Unit of
responsibility
• Unit of pride
Safety Matters
Horizon Alignment
LOng Term Goals
Long Term engagement
Find your purpose
And amazing things will happen
References
• www.eventstorming.com
• LeanPub books:
• http://leanpub.com/introducing_eventstorming (still growing)
• https://leanpub.com/ddd_first_15_years
• Blog:
• https://medium.com/@ziobrando
• http://ziobrando.blogspot.com
• Twitter: @ziobrando
• Trainings & Workshop facilitation: info@avanscoperta.it
• http://www.avanscoperta.it

Contenu connexe

Tendances

Business Model Prototyping
Business Model PrototypingBusiness Model Prototyping
Business Model Prototyping
ColinHudson
 
THE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider Security
THE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider SecurityTHE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider Security
THE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider Security
DevOpsDays Tel Aviv
 

Tendances (18)

8. Event Storming (P. Rayner).pdf
8. Event Storming (P. Rayner).pdf8. Event Storming (P. Rayner).pdf
8. Event Storming (P. Rayner).pdf
 
Path to Production: Value Stream Mapping in a DevOps World
Path to Production: Value Stream Mapping in a DevOps WorldPath to Production: Value Stream Mapping in a DevOps World
Path to Production: Value Stream Mapping in a DevOps World
 
Observability will not fix your Broken Monitoring ,Ignite
Observability will not fix your Broken Monitoring ,IgniteObservability will not fix your Broken Monitoring ,Ignite
Observability will not fix your Broken Monitoring ,Ignite
 
BoSUSA22 | Bob Moesta | Applications of JTBD Across Your Organization
BoSUSA22 | Bob Moesta | Applications of JTBD Across Your OrganizationBoSUSA22 | Bob Moesta | Applications of JTBD Across Your Organization
BoSUSA22 | Bob Moesta | Applications of JTBD Across Your Organization
 
Topic 2- Understanding the Customer Journey .ppt
Topic 2- Understanding the Customer Journey .pptTopic 2- Understanding the Customer Journey .ppt
Topic 2- Understanding the Customer Journey .ppt
 
Drive your dba crazy in 3 easy steps
Drive your dba crazy in 3 easy stepsDrive your dba crazy in 3 easy steps
Drive your dba crazy in 3 easy steps
 
Mob Programming
Mob ProgrammingMob Programming
Mob Programming
 
The Architect's Clue Bucket
The Architect's Clue BucketThe Architect's Clue Bucket
The Architect's Clue Bucket
 
Business Model Prototyping
Business Model PrototypingBusiness Model Prototyping
Business Model Prototyping
 
THE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider Security
THE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider SecurityTHE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider Security
THE THREE DISCIPLINES OF CI/CD SECURITY, DANIEL KRIVELEVICH, Cider Security
 
stanford-design-thinking-workbook-
stanford-design-thinking-workbook-stanford-design-thinking-workbook-
stanford-design-thinking-workbook-
 
Gitlab ci e kubernetes, build test and deploy your projects like a pro
Gitlab ci e kubernetes, build test and deploy your projects like a proGitlab ci e kubernetes, build test and deploy your projects like a pro
Gitlab ci e kubernetes, build test and deploy your projects like a pro
 
BDD - Writing better scenario
BDD - Writing better scenarioBDD - Writing better scenario
BDD - Writing better scenario
 
5 Best Practices DevOps Culture
5 Best Practices DevOps Culture5 Best Practices DevOps Culture
5 Best Practices DevOps Culture
 
Introduction to Impact Mapping
Introduction to Impact MappingIntroduction to Impact Mapping
Introduction to Impact Mapping
 
What lies beneath
What lies beneathWhat lies beneath
What lies beneath
 
Years of (not) learning , from devops to devoops
Years of (not) learning , from devops to devoopsYears of (not) learning , from devops to devoops
Years of (not) learning , from devops to devoops
 
Prototyping Workshop
Prototyping WorkshopPrototyping Workshop
Prototyping Workshop
 

Similaire à The gordian knot

How To Do Kick-Ass Software Development, by Sven Peters
How To Do Kick-Ass Software Development, by Sven PetersHow To Do Kick-Ass Software Development, by Sven Peters
How To Do Kick-Ass Software Development, by Sven Peters
ZeroTurnaround
 
JAZOON'13 - Sven Peters - How to do Kick-Ass Software Development
JAZOON'13 - Sven Peters - How to do Kick-Ass Software DevelopmentJAZOON'13 - Sven Peters - How to do Kick-Ass Software Development
JAZOON'13 - Sven Peters - How to do Kick-Ass Software Development
jazoon13
 

Similaire à The gordian knot (20)

How To Do Kick-Ass Software Development, by Sven Peters
How To Do Kick-Ass Software Development, by Sven PetersHow To Do Kick-Ass Software Development, by Sven Peters
How To Do Kick-Ass Software Development, by Sven Peters
 
Peer review
Peer reviewPeer review
Peer review
 
How to explain DevOps to your mom
How to explain DevOps to your momHow to explain DevOps to your mom
How to explain DevOps to your mom
 
SRE Topics with Charity Majors and Liz Fong-Jones of Honeycomb
SRE Topics with Charity Majors and Liz Fong-Jones of HoneycombSRE Topics with Charity Majors and Liz Fong-Jones of Honeycomb
SRE Topics with Charity Majors and Liz Fong-Jones of Honeycomb
 
TesTrek Notes
TesTrek NotesTesTrek Notes
TesTrek Notes
 
Redesigning everything (avanscoperta meeutp edition)
Redesigning everything (avanscoperta meeutp edition)Redesigning everything (avanscoperta meeutp edition)
Redesigning everything (avanscoperta meeutp edition)
 
Starting with c
Starting with cStarting with c
Starting with c
 
JAZOON'13 - Sven Peters - How to do Kick-Ass Software Development
JAZOON'13 - Sven Peters - How to do Kick-Ass Software DevelopmentJAZOON'13 - Sven Peters - How to do Kick-Ass Software Development
JAZOON'13 - Sven Peters - How to do Kick-Ass Software Development
 
Bootstrapping an Open-Source Program Office at Blue Cross NC
Bootstrapping an Open-Source Program Office at Blue Cross NCBootstrapping an Open-Source Program Office at Blue Cross NC
Bootstrapping an Open-Source Program Office at Blue Cross NC
 
How HipChat Ships and Recovers Fast with DevOps Practices
How HipChat Ships and Recovers Fast with DevOps PracticesHow HipChat Ships and Recovers Fast with DevOps Practices
How HipChat Ships and Recovers Fast with DevOps Practices
 
Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!
Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!
Cloud Foundry Summit 2015: Devops, microservices and platforms, oh my!
 
devops, microservices, and platforms, oh my!
devops, microservices, and platforms, oh my!devops, microservices, and platforms, oh my!
devops, microservices, and platforms, oh my!
 
From Prototype to MVP (case study)
From Prototype to MVP (case study)From Prototype to MVP (case study)
From Prototype to MVP (case study)
 
You Cant Be Agile If Your Code Sucks (with 9 Tips For Dev Teams)
You Cant Be Agile If Your Code Sucks (with 9 Tips For Dev Teams)You Cant Be Agile If Your Code Sucks (with 9 Tips For Dev Teams)
You Cant Be Agile If Your Code Sucks (with 9 Tips For Dev Teams)
 
Continuous Delivery - the missing parts - Paul Stack
Continuous Delivery - the missing parts - Paul StackContinuous Delivery - the missing parts - Paul Stack
Continuous Delivery - the missing parts - Paul Stack
 
How To Do Kick-Ass Software Development
How To Do Kick-Ass Software DevelopmentHow To Do Kick-Ass Software Development
How To Do Kick-Ass Software Development
 
apidays LIVE Paris 2021 - What makes developers happy in 2021 by Damien Cavai...
apidays LIVE Paris 2021 - What makes developers happy in 2021 by Damien Cavai...apidays LIVE Paris 2021 - What makes developers happy in 2021 by Damien Cavai...
apidays LIVE Paris 2021 - What makes developers happy in 2021 by Damien Cavai...
 
Improve Testing with a Zone Defense
Improve Testing with a Zone DefenseImprove Testing with a Zone Defense
Improve Testing with a Zone Defense
 
Visualizing Work: If you can't see it, you can't manage it
Visualizing Work: If you can't see it, you can't manage itVisualizing Work: If you can't see it, you can't manage it
Visualizing Work: If you can't see it, you can't manage it
 
Architecting a Post Mortem - Velocity 2018 San Jose Tutorial
Architecting a Post Mortem - Velocity 2018 San Jose TutorialArchitecting a Post Mortem - Velocity 2018 San Jose Tutorial
Architecting a Post Mortem - Velocity 2018 San Jose Tutorial
 

Plus de Alberto Brandolini

Guerrilla portfolio management
Guerrilla portfolio managementGuerrilla portfolio management
Guerrilla portfolio management
Alberto Brandolini
 

Plus de Alberto Brandolini (20)

L'illusione dell'ortogonalità
L'illusione dell'ortogonalitàL'illusione dell'ortogonalità
L'illusione dell'ortogonalità
 
Redesigning everything ITARC Stockholm 2021
Redesigning everything ITARC Stockholm 2021Redesigning everything ITARC Stockholm 2021
Redesigning everything ITARC Stockholm 2021
 
Software design as a cooperative game with EventStorming
Software design as a cooperative game with EventStormingSoftware design as a cooperative game with EventStorming
Software design as a cooperative game with EventStorming
 
La fatina dei denti
La fatina dei dentiLa fatina dei denti
La fatina dei denti
 
The alignment
The alignmentThe alignment
The alignment
 
Chasing elephants
Chasing elephantsChasing elephants
Chasing elephants
 
Optimized for what
Optimized for whatOptimized for what
Optimized for what
 
Reshaping enterrprise software
Reshaping enterrprise softwareReshaping enterrprise software
Reshaping enterrprise software
 
Guerrilla portfolio management
Guerrilla portfolio managementGuerrilla portfolio management
Guerrilla portfolio management
 
The precision blade
The precision bladeThe precision blade
The precision blade
 
Idea stickies green bar - Wroclaw edition
Idea stickies green bar - Wroclaw editionIdea stickies green bar - Wroclaw edition
Idea stickies green bar - Wroclaw edition
 
Why do all my ddd apps look the same - Vienna 2014
Why do all my ddd apps look the same - Vienna 2014Why do all my ddd apps look the same - Vienna 2014
Why do all my ddd apps look the same - Vienna 2014
 
Managing debt remastered
Managing debt remasteredManaging debt remastered
Managing debt remastered
 
The sweet spot
The sweet spotThe sweet spot
The sweet spot
 
Liberate il kraken
Liberate il krakenLiberate il kraken
Liberate il kraken
 
The final words about software estimation
The final words about software estimationThe final words about software estimation
The final words about software estimation
 
Bullshit Asymmetry Principle lightning talk
Bullshit Asymmetry Principle lightning talkBullshit Asymmetry Principle lightning talk
Bullshit Asymmetry Principle lightning talk
 
It's not simple at all
It's not simple at allIt's not simple at all
It's not simple at all
 
Pissing against the wind
Pissing against the windPissing against the wind
Pissing against the wind
 
Rethinking enterprise software - Codemotion 2014
Rethinking enterprise software - Codemotion 2014Rethinking enterprise software - Codemotion 2014
Rethinking enterprise software - Codemotion 2014
 

Dernier

internship thesis pakistan aeronautical complex kamra
internship thesis pakistan aeronautical complex kamrainternship thesis pakistan aeronautical complex kamra
internship thesis pakistan aeronautical complex kamra
AllTops
 
Agile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptxAgile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptx
alinstan901
 
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTECAbortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Riyadh +966572737505 get cytotec
 
The Psychology Of Motivation - Richard Brown
The Psychology Of Motivation - Richard BrownThe Psychology Of Motivation - Richard Brown
The Psychology Of Motivation - Richard Brown
SandaliGurusinghe2
 
Beyond the Codes_Repositioning towards sustainable development
Beyond the Codes_Repositioning towards sustainable developmentBeyond the Codes_Repositioning towards sustainable development
Beyond the Codes_Repositioning towards sustainable development
Nimot Muili
 

Dernier (16)

digital Human resource management presentation.pdf
digital Human resource management presentation.pdfdigital Human resource management presentation.pdf
digital Human resource management presentation.pdf
 
internship thesis pakistan aeronautical complex kamra
internship thesis pakistan aeronautical complex kamrainternship thesis pakistan aeronautical complex kamra
internship thesis pakistan aeronautical complex kamra
 
Intro_University_Ranking_Introduction.pptx
Intro_University_Ranking_Introduction.pptxIntro_University_Ranking_Introduction.pptx
Intro_University_Ranking_Introduction.pptx
 
Siliguri Escorts Service Girl ^ 9332606886, WhatsApp Anytime Siliguri
Siliguri Escorts Service Girl ^ 9332606886, WhatsApp Anytime SiliguriSiliguri Escorts Service Girl ^ 9332606886, WhatsApp Anytime Siliguri
Siliguri Escorts Service Girl ^ 9332606886, WhatsApp Anytime Siliguri
 
International Ocean Transportation p.pdf
International Ocean Transportation p.pdfInternational Ocean Transportation p.pdf
International Ocean Transportation p.pdf
 
Leaders enhance communication by actively listening, providing constructive f...
Leaders enhance communication by actively listening, providing constructive f...Leaders enhance communication by actively listening, providing constructive f...
Leaders enhance communication by actively listening, providing constructive f...
 
Agile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptxAgile Coaching Change Management Framework.pptx
Agile Coaching Change Management Framework.pptx
 
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTECAbortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
Abortion pills in Jeddah |• +966572737505 ] GET CYTOTEC
 
Safety T fire missions army field Artillery
Safety T fire missions army field ArtillerySafety T fire missions army field Artillery
Safety T fire missions army field Artillery
 
The Psychology Of Motivation - Richard Brown
The Psychology Of Motivation - Richard BrownThe Psychology Of Motivation - Richard Brown
The Psychology Of Motivation - Richard Brown
 
Gautam Buddh Nagar Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Gautam Buddh Nagar Call Girls 🥰 8617370543 Service Offer VIP Hot ModelGautam Buddh Nagar Call Girls 🥰 8617370543 Service Offer VIP Hot Model
Gautam Buddh Nagar Call Girls 🥰 8617370543 Service Offer VIP Hot Model
 
Marketing Management 16th edition by Philip Kotler test bank.docx
Marketing Management 16th edition by Philip Kotler test bank.docxMarketing Management 16th edition by Philip Kotler test bank.docx
Marketing Management 16th edition by Philip Kotler test bank.docx
 
Beyond the Codes_Repositioning towards sustainable development
Beyond the Codes_Repositioning towards sustainable developmentBeyond the Codes_Repositioning towards sustainable development
Beyond the Codes_Repositioning towards sustainable development
 
How Software Developers Destroy Business Value.pptx
How Software Developers Destroy Business Value.pptxHow Software Developers Destroy Business Value.pptx
How Software Developers Destroy Business Value.pptx
 
Reviewing and summarization of university ranking system to.pptx
Reviewing and summarization of university ranking system  to.pptxReviewing and summarization of university ranking system  to.pptx
Reviewing and summarization of university ranking system to.pptx
 
W.H.Bender Quote 62 - Always strive to be a Hospitality Service professional
W.H.Bender Quote 62 - Always strive to be a Hospitality Service professionalW.H.Bender Quote 62 - Always strive to be a Hospitality Service professional
W.H.Bender Quote 62 - Always strive to be a Hospitality Service professional
 

The gordian knot