SlideShare a Scribd company logo
1 of 34
Download to read offline
How to run a 5 Whys (With Humans, Not Robots)
Dan Milstein
@danmil
Director of Product Development, Wingu
What Is a 5 Whys Anyways?

• Something you do when your company has badly screwed up


• E.g. your CEO demos your cloud storage system to an early prospective
  customer, and, when he runs a search, it shows other customers’ data (I have
  done this, it was not awesome)


• You get a bunch of people into a room and say: “How on earth did that
  happen? And how can we make sure it never, ever happens again?”


• That’s a 5 Whys (aka, a Post-Mortem)


• But, there’s a problem....
Shameful Mistakes: Humans vs Robots
Human Beings Will Eff It Up

• Humans (unlike robots) feel this intense emotion called shame


• Shame will suggest (strongly) “Slow Down, Stop Making So Many Mistakes”


• Aka “Throw overboard everything the Lean Startup tells you is important”


• Has potential to be incredibly damaging to your startup


• And I have some bad news...
You Will Totally Experience Shame (I Still Do)




   F.A.E.
This Emotional Experience Can Not Be Avoided

• I’ve run c. 50 post-mortems, have studied failure... and I still have this
  emotional reaction


• You will, too. And so will your team.


• Much more strongly than you realize right now


• This is the “Fundamental Attribution Error” (FAE), from psychology


• FAE = humans vastly underestimate the power of a situation on our behavior
Big Idea: Adopt Economic, Not Moral Mindset




           $, FTW
What Does That Mean

• Let me tell you a story...
Parable: A Tale of Two Factories
Two Factories

• Both make widgets


• Both are missing their monthly Widget Production goals by 10%


• But for different reasons...
Factory 1... Broken Machine
When The Machine Breaks...

• Belt slips off every once in a while


• Ruins a bunch of widgets


• Gotta replace it, drift a little behind plan


• So... what questions do humans ask in this situation?
Economic Mindset = Broken Machine

• “How much is it costing us?”

• “How much does it cost to repair?”

• “Can we kludge a partial fix?”

• “What are risks if we delay a fix?”
Note the Key Words

• “Cost”, “Partial”, “Risk”


• These are things you hear a lot in an economic discussion


• Okay, meanwhile in Factory 2, also missing by 10%, different reason...
Factory 2... One Employee Is an Axe Murderer
After Every Axe Murdering...

• Have to, like, hire a new guy, train him on the machine, takes forever


• Questions we asked before are now somehow deeply wrong:


• “What if we just cut down on the rate, so there’s less axe murdering?”


• “Hey, we can train a pool of temps on all the machines, when someone gets
  killed, we’ll just swap some new guy in, bang, problem solved!”


• “How much is it really costing us, anyways?”


• These ideas seem obscene, not merely bad
Moral Mindset = Axe Murderer


“Search for villains,
elevation of accusers,
and mobilization of authority to
mete out punishment”
(Pinker, The Blank Slate)
Moral Mindset, Key Words

• “Villains”, “Accusers”, “Authority”, “Punishment”


• I believe that most companies, in investigating outages, act much more
  like they’re looking for an axe murderer, than trying to fix a broken
  machine
Your Challenge, As Person Running 5 Whys




      Get team out of moral mindset.

      Note: this is not, in fact, easy.
Why It’s Hard

• Mindsets control how we interpret the world...


• ...including what people say to us


• So, a team sitting there, fearing moral censure, hears you say “We’re not
  looking to blame anyone”, they just think you’re lying. How could you mean
  that, when the thing that happened was so terrible and wrong?


• The deep trick (and this is the point of this whole presentation, frankly), is that
  you have to take advantage of the thing that separates humans and robots...
Fundamental Tool: Make ‘Em Laugh
Humor == Breaking Frames

• That’s what humor actually is -- something that stretches or breaks the
  mental frame that people are using to interpret a situation


• So, you use humor to break the frame, release people from the blame/fear/
  punishment of the moral mindset, and then refocus them on the economic
  challenges you’re facing


• The humor is, IMHO, not a nice-to-have. It’s absolutely central. I’ve seen
  smart, caring leaders get this one wrong, and finish their post-mortems with a
  room full of tense, closed-up team members (and no good ideas on the table)


• Rest of talk is specific examples of this, but this is the main point
Tip 1: Always Share Worse “Bad Things”
Place The Bad Thing on a Continuum

• Moral mindset is very absolutist: this bad thing is The Worst Thing Ever


• I like to say “Okay, well it’s pretty bad, let’s compare it to some things”


• Did we irretrievably lose customer data? (I’ve done that, not awesome)


• Did we almost get our customer fired by her boss (also, not awesome)


• Did we send hundreds of emails to everyone on our customer’s mailing list...
  but the emails were all question marks? For a customer who was in the
  proofreading business? (done that, very much not awesome)


• People laugh, and then say “Okay, how bad was this, really?” Win.
More Stories of Actual Failures (Just For Fun)

• Did we break our allergies-to-medicines module, and risk having a doctor
  prescribe the wrong medication to someone?


• Did our internet-connected home thermostat system have a server crash,
  causing all the thermostats to set the temp to the default... of 85 degrees?


• Did our high-frequency trading program have flaws that led to our company
  losing 450 million dollars? (that is a tough one to beat, IMHO)


• Collect your own! It’s fun!
Tip 2: Mock Hindsight Bias To Its Face



    “Let’s plan for a future
    where we’re all as stupid
    as we are today.”
How Hindsight Bias Shows up in a 5 Whys

• Someone says “Oh, yeah, I screwed that one up, I knew I had to run the
  deploy in that one order, and I just forgot. I’m really sorry, I won’t make that
  mistake again, totally my bad.”


• You have to utterly reject this. It’s pure hindsight bias (easy to see errors after
  the fact, very difficult in the moment).


• I say “It’s like we’re saying ‘I was stupid, this one time, and we’ll fix that
  problem by never being stupid again.’”


• Hence: “planning for a future where we’re as stupid as we are today”


• aka “Must create a system which is resilient to occasional bouts of really
  intense stupidity”.
Tip 3: Relish Absurdities of Your System
5 Whys Will Highlight That Your Code is a Mess

• E.g. you’ve refactored, and rewritten in python (or node or something), and
  moved to the cloud, but this 5 whys is making clear that your most important
  report is still run by a VisualCron job on a Windows server that never quite
  made it out of the office... and someone just tripped on the power cord


• Team will feel ashamed, you have to give them license to relish absurdity


• I often point out “There are two kinds of startups: the ones that achieve some
  modest traction on top of a pile of code of which they are vaguely ashamed...
  and the ones that go out of business. That’s it. No third kind.”


• Also sometimes it helps to just laugh: “It’s kind of amazing this works at all”
Tip 4: “Broadest Fixes” vs. “Root Causes”
Handling a Fork in the Road

• Example: bad outage at Wingu: was triggered by a mistake in db access
  code. But we couldn’t fix it for three hours, because our error reporting
  system was trying to send us hundreds of emails/minute, so our email
  provider throttled us, and we didn’t get those email until hours later.


• Which is the Root Cause? DB access bug or monitoring failure?


• Answer: don’t care about “root causes”. They don’t exist (multiple things
  conspire for failures to happen). Also, kind of moral/blame-ish.


• Ask instead: if we made an incremental improvement in area A or area B,
  which would prevent the broadest class of problems going ahead?


• Much better conversation. Answer here is clear: monitoring.
Remember, There Is No Axe Murderer (Probably)
Photo Credits

• “Robot de Martillo”, by Luis Perez, http://www.flickr.com/photos/pe5pe/2454661748/

• “Helios-Factory floor”, http://commons.wikimedia.org/wiki/File:Helioshall2.jpg

• “old machine”, by Jun Aoyama, http://www.flickr.com/photos/jam343/1730140/

• “Axe Marks The Spot”, by Alan Levine, http://www.flickr.com/photos/cogdog/4461665810/

• “Failboat Has Arrived”, http://www.rotskyinstitute.com/rotsky/wp-content/uploads/2008/02/
  failboat2.jpg

• “14 plugs but only 6 sockets”, by Jason Rogers, http://www.flickr.com/photos/restlessglobetrotter/
  2661016046/

• “Life is like that… a fork in the road… decision required”, by Roger Price, http://www.flickr.com/
  photos/rwp-roger/6687024883/
Thanks...

Dan Milstein
@danmil

More Related Content

What's hot

Business acumen , what ceo wants you to know
Business acumen , what ceo wants you to knowBusiness acumen , what ceo wants you to know
Business acumen , what ceo wants you to knowwaleed abdallah
 
Getting things done (GTD) presentation
Getting things done (GTD)  presentationGetting things done (GTD)  presentation
Getting things done (GTD) presentationRyan Badger
 
The One Minute Manager
The One Minute ManagerThe One Minute Manager
The One Minute ManagerRob Leon
 
Problem Solving & Conflict Handling
Problem Solving & Conflict HandlingProblem Solving & Conflict Handling
Problem Solving & Conflict HandlingMohammad Aslam
 
Stimmt ag workshop_baukasten
Stimmt ag workshop_baukastenStimmt ag workshop_baukasten
Stimmt ag workshop_baukastenStimmt AG
 
Agile Retrospective - part I
Agile Retrospective - part IAgile Retrospective - part I
Agile Retrospective - part IScrumDesk
 
Project leader and polarity thinking session ppt by russ gaskin (co-creative...
Project leader and polarity thinking session ppt  by russ gaskin (co-creative...Project leader and polarity thinking session ppt  by russ gaskin (co-creative...
Project leader and polarity thinking session ppt by russ gaskin (co-creative...United Nations Development Programme
 
OKR's for Agile Coaches - group brainstorming presentation
OKR's for Agile Coaches - group brainstorming presentationOKR's for Agile Coaches - group brainstorming presentation
OKR's for Agile Coaches - group brainstorming presentationThene Sheehy
 
Leadership and the art of receiving feedback
Leadership and the art of receiving feedbackLeadership and the art of receiving feedback
Leadership and the art of receiving feedbackEric De Pooter
 
Process Mining and Predictive Process Monitoring
Process Mining and Predictive Process MonitoringProcess Mining and Predictive Process Monitoring
Process Mining and Predictive Process MonitoringMarlon Dumas
 
Scrum Master Facilitation Techniques
Scrum Master Facilitation TechniquesScrum Master Facilitation Techniques
Scrum Master Facilitation TechniquesXPDays
 
Problem Solving & Critical Thinking
Problem Solving & Critical ThinkingProblem Solving & Critical Thinking
Problem Solving & Critical ThinkingTKMG, Inc.
 

What's hot (20)

Getting Things Done
Getting Things DoneGetting Things Done
Getting Things Done
 
Business acumen , what ceo wants you to know
Business acumen , what ceo wants you to knowBusiness acumen , what ceo wants you to know
Business acumen , what ceo wants you to know
 
Problem Solving Skills
Problem Solving SkillsProblem Solving Skills
Problem Solving Skills
 
Getting things done (GTD) presentation
Getting things done (GTD)  presentationGetting things done (GTD)  presentation
Getting things done (GTD) presentation
 
The One Minute Manager
The One Minute ManagerThe One Minute Manager
The One Minute Manager
 
Problem Solving & Conflict Handling
Problem Solving & Conflict HandlingProblem Solving & Conflict Handling
Problem Solving & Conflict Handling
 
Creating a Purpose-Driven Organisation
Creating a Purpose-Driven Organisation Creating a Purpose-Driven Organisation
Creating a Purpose-Driven Organisation
 
Problem solving course
Problem solving courseProblem solving course
Problem solving course
 
Stimmt ag workshop_baukasten
Stimmt ag workshop_baukastenStimmt ag workshop_baukasten
Stimmt ag workshop_baukasten
 
How to do an A3 Report
How to do an A3 ReportHow to do an A3 Report
How to do an A3 Report
 
The Agile Mindset
The Agile MindsetThe Agile Mindset
The Agile Mindset
 
Management skills for new managers
Management skills for new managersManagement skills for new managers
Management skills for new managers
 
Agile Retrospective - part I
Agile Retrospective - part IAgile Retrospective - part I
Agile Retrospective - part I
 
Project leader and polarity thinking session ppt by russ gaskin (co-creative...
Project leader and polarity thinking session ppt  by russ gaskin (co-creative...Project leader and polarity thinking session ppt  by russ gaskin (co-creative...
Project leader and polarity thinking session ppt by russ gaskin (co-creative...
 
OKR's for Agile Coaches - group brainstorming presentation
OKR's for Agile Coaches - group brainstorming presentationOKR's for Agile Coaches - group brainstorming presentation
OKR's for Agile Coaches - group brainstorming presentation
 
Leadership and the art of receiving feedback
Leadership and the art of receiving feedbackLeadership and the art of receiving feedback
Leadership and the art of receiving feedback
 
Process Mining and Predictive Process Monitoring
Process Mining and Predictive Process MonitoringProcess Mining and Predictive Process Monitoring
Process Mining and Predictive Process Monitoring
 
Scrum Master Facilitation Techniques
Scrum Master Facilitation TechniquesScrum Master Facilitation Techniques
Scrum Master Facilitation Techniques
 
Problem solving
Problem solvingProblem solving
Problem solving
 
Problem Solving & Critical Thinking
Problem Solving & Critical ThinkingProblem Solving & Critical Thinking
Problem Solving & Critical Thinking
 

Similar to How To Run a 5 Whys (With Humans, Not Robots)

How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013
How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013
How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013Dan Milstein
 
Get Kudos from customers (without bribing them)
Get Kudos from customers (without bribing them)Get Kudos from customers (without bribing them)
Get Kudos from customers (without bribing them)Clairetalbott
 
Corp Web Risks and Concerns
Corp Web Risks and ConcernsCorp Web Risks and Concerns
Corp Web Risks and ConcernsPINT Inc
 
The basics of e-service
The basics of e-serviceThe basics of e-service
The basics of e-serviceEric Reiss
 
Supercharging your bug reports
Supercharging your bug reportsSupercharging your bug reports
Supercharging your bug reportsNeil Studd
 
Startups and Smalltak - Presented at Smalltalks2014 Córdoba, Argentina
Startups and Smalltak - Presented at Smalltalks2014 Córdoba, ArgentinaStartups and Smalltak - Presented at Smalltalks2014 Córdoba, Argentina
Startups and Smalltak - Presented at Smalltalks2014 Córdoba, Argentinasebastian sastre
 
Cross Functional Teams and the Product Manager
Cross Functional Teams and the Product ManagerCross Functional Teams and the Product Manager
Cross Functional Teams and the Product ManagerSVPMA
 
Blue Start-Ups - Pau Hana
Blue Start-Ups - Pau HanaBlue Start-Ups - Pau Hana
Blue Start-Ups - Pau HanaBen Sykes
 
Seven Classic Startup Failure Modes
Seven Classic Startup Failure ModesSeven Classic Startup Failure Modes
Seven Classic Startup Failure ModesJoe Dunn
 
Conflict Management in Technology
Conflict Management in Technology Conflict Management in Technology
Conflict Management in Technology Denton Farley
 
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 TutorialWill Gallego
 
Griffin Been technology Report
Griffin Been technology ReportGriffin Been technology Report
Griffin Been technology ReportMarq2014
 
Reiss On E Service UX London
Reiss On E Service UX LondonReiss On E Service UX London
Reiss On E Service UX LondonEric Reiss
 
Five Ways to Get Better Data From Our Users
Five Ways to Get Better Data From Our UsersFive Ways to Get Better Data From Our Users
Five Ways to Get Better Data From Our UsersSajid Reshamwala
 
Uncharted lands, or why games are not designed but discovered
Uncharted lands, or why games are not designed but discoveredUncharted lands, or why games are not designed but discovered
Uncharted lands, or why games are not designed but discoveredJakub Stokalski
 
How PBworks Used Lean Startup Techniques
How PBworks Used Lean Startup TechniquesHow PBworks Used Lean Startup Techniques
How PBworks Used Lean Startup TechniquesDavid E. Weekly
 
All That Glitters Is Not Gold: Usability Design for "When Things Go Wrong"
All That Glitters Is Not Gold: Usability Design for "When Things Go Wrong"All That Glitters Is Not Gold: Usability Design for "When Things Go Wrong"
All That Glitters Is Not Gold: Usability Design for "When Things Go Wrong"⌨️ Steven Proctor
 

Similar to How To Run a 5 Whys (With Humans, Not Robots) (20)

How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013
How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013
How to Run a Post-Mortem (With Humans, Not Robots), Velocity 2013
 
Get Kudos from customers (without bribing them)
Get Kudos from customers (without bribing them)Get Kudos from customers (without bribing them)
Get Kudos from customers (without bribing them)
 
Corp Web Risks and Concerns
Corp Web Risks and ConcernsCorp Web Risks and Concerns
Corp Web Risks and Concerns
 
The basics of e-service
The basics of e-serviceThe basics of e-service
The basics of e-service
 
Supercharging your bug reports
Supercharging your bug reportsSupercharging your bug reports
Supercharging your bug reports
 
The alignment
The alignmentThe alignment
The alignment
 
Startups and Smalltak - Presented at Smalltalks2014 Córdoba, Argentina
Startups and Smalltak - Presented at Smalltalks2014 Córdoba, ArgentinaStartups and Smalltak - Presented at Smalltalks2014 Córdoba, Argentina
Startups and Smalltak - Presented at Smalltalks2014 Córdoba, Argentina
 
Cross Functional Teams and the Product Manager
Cross Functional Teams and the Product ManagerCross Functional Teams and the Product Manager
Cross Functional Teams and the Product Manager
 
Think epic be epic
Think epic be epicThink epic be epic
Think epic be epic
 
Blue Start-Ups - Pau Hana
Blue Start-Ups - Pau HanaBlue Start-Ups - Pau Hana
Blue Start-Ups - Pau Hana
 
Seven Classic Startup Failure Modes
Seven Classic Startup Failure ModesSeven Classic Startup Failure Modes
Seven Classic Startup Failure Modes
 
Conflict Management in Technology
Conflict Management in Technology Conflict Management in Technology
Conflict Management in Technology
 
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
 
Growth meetup-q4-2014
Growth meetup-q4-2014Growth meetup-q4-2014
Growth meetup-q4-2014
 
Griffin Been technology Report
Griffin Been technology ReportGriffin Been technology Report
Griffin Been technology Report
 
Reiss On E Service UX London
Reiss On E Service UX LondonReiss On E Service UX London
Reiss On E Service UX London
 
Five Ways to Get Better Data From Our Users
Five Ways to Get Better Data From Our UsersFive Ways to Get Better Data From Our Users
Five Ways to Get Better Data From Our Users
 
Uncharted lands, or why games are not designed but discovered
Uncharted lands, or why games are not designed but discoveredUncharted lands, or why games are not designed but discovered
Uncharted lands, or why games are not designed but discovered
 
How PBworks Used Lean Startup Techniques
How PBworks Used Lean Startup TechniquesHow PBworks Used Lean Startup Techniques
How PBworks Used Lean Startup Techniques
 
All That Glitters Is Not Gold: Usability Design for "When Things Go Wrong"
All That Glitters Is Not Gold: Usability Design for "When Things Go Wrong"All That Glitters Is Not Gold: Usability Design for "When Things Go Wrong"
All That Glitters Is Not Gold: Usability Design for "When Things Go Wrong"
 

Recently uploaded

Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksSoftradix Technologies
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Neo4j
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsMemoori
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsMark Billinghurst
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024The Digital Insurer
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationRidwan Fadjar
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):comworks
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubKalema Edgar
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024BookNet Canada
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentationphoebematthew05
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfngoud9212
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebUiPathCommunity
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsMiki Katsuragi
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Scott Keck-Warren
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitecturePixlogix Infotech
 

Recently uploaded (20)

Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort ServiceHot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
Hot Sexy call girls in Panjabi Bagh 🔝 9953056974 🔝 Delhi escort Service
 
Benefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other FrameworksBenefits Of Flutter Compared To Other Frameworks
Benefits Of Flutter Compared To Other Frameworks
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024Build your next Gen AI Breakthrough - April 2024
Build your next Gen AI Breakthrough - April 2024
 
AI as an Interface for Commercial Buildings
AI as an Interface for Commercial BuildingsAI as an Interface for Commercial Buildings
AI as an Interface for Commercial Buildings
 
Human Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR SystemsHuman Factors of XR: Using Human Factors to Design XR Systems
Human Factors of XR: Using Human Factors to Design XR Systems
 
My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024My INSURER PTE LTD - Insurtech Innovation Award 2024
My INSURER PTE LTD - Insurtech Innovation Award 2024
 
My Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 PresentationMy Hashitalk Indonesia April 2024 Presentation
My Hashitalk Indonesia April 2024 Presentation
 
CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):CloudStudio User manual (basic edition):
CloudStudio User manual (basic edition):
 
Unleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding ClubUnleash Your Potential - Namagunga Girls Coding Club
Unleash Your Potential - Namagunga Girls Coding Club
 
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
New from BookNet Canada for 2024: BNC BiblioShare - Tech Forum 2024
 
costume and set research powerpoint presentation
costume and set research powerpoint presentationcostume and set research powerpoint presentation
costume and set research powerpoint presentation
 
Bluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdfBluetooth Controlled Car with Arduino.pdf
Bluetooth Controlled Car with Arduino.pdf
 
Dev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio WebDev Dives: Streamline document processing with UiPath Studio Web
Dev Dives: Streamline document processing with UiPath Studio Web
 
Vertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering TipsVertex AI Gemini Prompt Engineering Tips
Vertex AI Gemini Prompt Engineering Tips
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024Advanced Test Driven-Development @ php[tek] 2024
Advanced Test Driven-Development @ php[tek] 2024
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Understanding the Laravel MVC Architecture
Understanding the Laravel MVC ArchitectureUnderstanding the Laravel MVC Architecture
Understanding the Laravel MVC Architecture
 

How To Run a 5 Whys (With Humans, Not Robots)

  • 1. How to run a 5 Whys (With Humans, Not Robots) Dan Milstein @danmil Director of Product Development, Wingu
  • 2. What Is a 5 Whys Anyways? • Something you do when your company has badly screwed up • E.g. your CEO demos your cloud storage system to an early prospective customer, and, when he runs a search, it shows other customers’ data (I have done this, it was not awesome) • You get a bunch of people into a room and say: “How on earth did that happen? And how can we make sure it never, ever happens again?” • That’s a 5 Whys (aka, a Post-Mortem) • But, there’s a problem....
  • 4. Human Beings Will Eff It Up • Humans (unlike robots) feel this intense emotion called shame • Shame will suggest (strongly) “Slow Down, Stop Making So Many Mistakes” • Aka “Throw overboard everything the Lean Startup tells you is important” • Has potential to be incredibly damaging to your startup • And I have some bad news...
  • 5. You Will Totally Experience Shame (I Still Do) F.A.E.
  • 6. This Emotional Experience Can Not Be Avoided • I’ve run c. 50 post-mortems, have studied failure... and I still have this emotional reaction • You will, too. And so will your team. • Much more strongly than you realize right now • This is the “Fundamental Attribution Error” (FAE), from psychology • FAE = humans vastly underestimate the power of a situation on our behavior
  • 7. Big Idea: Adopt Economic, Not Moral Mindset $, FTW
  • 8. What Does That Mean • Let me tell you a story...
  • 9. Parable: A Tale of Two Factories
  • 10. Two Factories • Both make widgets • Both are missing their monthly Widget Production goals by 10% • But for different reasons...
  • 12. When The Machine Breaks... • Belt slips off every once in a while • Ruins a bunch of widgets • Gotta replace it, drift a little behind plan • So... what questions do humans ask in this situation?
  • 13. Economic Mindset = Broken Machine • “How much is it costing us?” • “How much does it cost to repair?” • “Can we kludge a partial fix?” • “What are risks if we delay a fix?”
  • 14. Note the Key Words • “Cost”, “Partial”, “Risk” • These are things you hear a lot in an economic discussion • Okay, meanwhile in Factory 2, also missing by 10%, different reason...
  • 15. Factory 2... One Employee Is an Axe Murderer
  • 16. After Every Axe Murdering... • Have to, like, hire a new guy, train him on the machine, takes forever • Questions we asked before are now somehow deeply wrong: • “What if we just cut down on the rate, so there’s less axe murdering?” • “Hey, we can train a pool of temps on all the machines, when someone gets killed, we’ll just swap some new guy in, bang, problem solved!” • “How much is it really costing us, anyways?” • These ideas seem obscene, not merely bad
  • 17. Moral Mindset = Axe Murderer “Search for villains, elevation of accusers, and mobilization of authority to mete out punishment” (Pinker, The Blank Slate)
  • 18. Moral Mindset, Key Words • “Villains”, “Accusers”, “Authority”, “Punishment” • I believe that most companies, in investigating outages, act much more like they’re looking for an axe murderer, than trying to fix a broken machine
  • 19. Your Challenge, As Person Running 5 Whys Get team out of moral mindset. Note: this is not, in fact, easy.
  • 20. Why It’s Hard • Mindsets control how we interpret the world... • ...including what people say to us • So, a team sitting there, fearing moral censure, hears you say “We’re not looking to blame anyone”, they just think you’re lying. How could you mean that, when the thing that happened was so terrible and wrong? • The deep trick (and this is the point of this whole presentation, frankly), is that you have to take advantage of the thing that separates humans and robots...
  • 21. Fundamental Tool: Make ‘Em Laugh
  • 22. Humor == Breaking Frames • That’s what humor actually is -- something that stretches or breaks the mental frame that people are using to interpret a situation • So, you use humor to break the frame, release people from the blame/fear/ punishment of the moral mindset, and then refocus them on the economic challenges you’re facing • The humor is, IMHO, not a nice-to-have. It’s absolutely central. I’ve seen smart, caring leaders get this one wrong, and finish their post-mortems with a room full of tense, closed-up team members (and no good ideas on the table) • Rest of talk is specific examples of this, but this is the main point
  • 23. Tip 1: Always Share Worse “Bad Things”
  • 24. Place The Bad Thing on a Continuum • Moral mindset is very absolutist: this bad thing is The Worst Thing Ever • I like to say “Okay, well it’s pretty bad, let’s compare it to some things” • Did we irretrievably lose customer data? (I’ve done that, not awesome) • Did we almost get our customer fired by her boss (also, not awesome) • Did we send hundreds of emails to everyone on our customer’s mailing list... but the emails were all question marks? For a customer who was in the proofreading business? (done that, very much not awesome) • People laugh, and then say “Okay, how bad was this, really?” Win.
  • 25. More Stories of Actual Failures (Just For Fun) • Did we break our allergies-to-medicines module, and risk having a doctor prescribe the wrong medication to someone? • Did our internet-connected home thermostat system have a server crash, causing all the thermostats to set the temp to the default... of 85 degrees? • Did our high-frequency trading program have flaws that led to our company losing 450 million dollars? (that is a tough one to beat, IMHO) • Collect your own! It’s fun!
  • 26. Tip 2: Mock Hindsight Bias To Its Face “Let’s plan for a future where we’re all as stupid as we are today.”
  • 27. How Hindsight Bias Shows up in a 5 Whys • Someone says “Oh, yeah, I screwed that one up, I knew I had to run the deploy in that one order, and I just forgot. I’m really sorry, I won’t make that mistake again, totally my bad.” • You have to utterly reject this. It’s pure hindsight bias (easy to see errors after the fact, very difficult in the moment). • I say “It’s like we’re saying ‘I was stupid, this one time, and we’ll fix that problem by never being stupid again.’” • Hence: “planning for a future where we’re as stupid as we are today” • aka “Must create a system which is resilient to occasional bouts of really intense stupidity”.
  • 28. Tip 3: Relish Absurdities of Your System
  • 29. 5 Whys Will Highlight That Your Code is a Mess • E.g. you’ve refactored, and rewritten in python (or node or something), and moved to the cloud, but this 5 whys is making clear that your most important report is still run by a VisualCron job on a Windows server that never quite made it out of the office... and someone just tripped on the power cord • Team will feel ashamed, you have to give them license to relish absurdity • I often point out “There are two kinds of startups: the ones that achieve some modest traction on top of a pile of code of which they are vaguely ashamed... and the ones that go out of business. That’s it. No third kind.” • Also sometimes it helps to just laugh: “It’s kind of amazing this works at all”
  • 30. Tip 4: “Broadest Fixes” vs. “Root Causes”
  • 31. Handling a Fork in the Road • Example: bad outage at Wingu: was triggered by a mistake in db access code. But we couldn’t fix it for three hours, because our error reporting system was trying to send us hundreds of emails/minute, so our email provider throttled us, and we didn’t get those email until hours later. • Which is the Root Cause? DB access bug or monitoring failure? • Answer: don’t care about “root causes”. They don’t exist (multiple things conspire for failures to happen). Also, kind of moral/blame-ish. • Ask instead: if we made an incremental improvement in area A or area B, which would prevent the broadest class of problems going ahead? • Much better conversation. Answer here is clear: monitoring.
  • 32. Remember, There Is No Axe Murderer (Probably)
  • 33. Photo Credits • “Robot de Martillo”, by Luis Perez, http://www.flickr.com/photos/pe5pe/2454661748/ • “Helios-Factory floor”, http://commons.wikimedia.org/wiki/File:Helioshall2.jpg • “old machine”, by Jun Aoyama, http://www.flickr.com/photos/jam343/1730140/ • “Axe Marks The Spot”, by Alan Levine, http://www.flickr.com/photos/cogdog/4461665810/ • “Failboat Has Arrived”, http://www.rotskyinstitute.com/rotsky/wp-content/uploads/2008/02/ failboat2.jpg • “14 plugs but only 6 sockets”, by Jason Rogers, http://www.flickr.com/photos/restlessglobetrotter/ 2661016046/ • “Life is like that… a fork in the road… decision required”, by Roger Price, http://www.flickr.com/ photos/rwp-roger/6687024883/