Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Production Debugging
Search
josh_robb
April 09, 2014
Technology
81
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Production Debugging
What to do when shits on fire
josh_robb
April 09, 2014
Transcript
31 slides
Production Debugging
Production Debugging What to do when shit’s on fire
Me @josh_robb Code Nanny @ Pushpay.com “We’re Hiring” (tm)
Overview Context Tools Demos Wrap-up
Context OODA - John Boyd
OODA - Observe - Orient - Decide - Act
Stressful situations Getting shot at in an aeroplane Fuck that
Getting shot at full stop! Flying a helicopter with no engine
How to train for stress?
How to train for stress?
None
Emotions Denial Fear Anxiety Fatigue (not an emotion - related)
Bad Judgement All of these things lead to poor quality
decision making.
What would NPH Do? First do no harm!
Don’t make things worse Evaluate your options - Can you
roll back? - Can you get a new job? - Can you roll forward?
MTTR Optimize for Mean Time To Recovery!
Don’t roll back in fear Roll forward to victory -
Etsy
Failure If you work somewhere failure is unacceptable (Apart from
Avionics or medical gear) Get a new job Seriously Failure in Tech is unavoidable Learn from it
Postmortems Postmortems are important Blameless ones are best http://codeascraft.com/2012/05/22/blameless- postmortems/
Demo Scenarios - Two of them - In one app
- Introducing
BrokenApp
BrokenApp Two Scenarios - Hang - Hi CPU
Tools - Process tools - Tracing Tools - Dump analysis
Tools - Process tools - Orient - Tracing Tools -
Observe - Dump analysis - Decide - ACT?
Process Tools Windows Server 2012/2008 - Resource Monitor! Also -
Task Manager - Process Explorer - Procmon
Process Tools Demo
Tracing Tools Perfview - Process sampling tool - Great for
what's happening over time? - Live profiling
Perfview XCopy deployable Offline analysis #FTW NOTE: Enable ASP.NET tracing
(DSIM) Demo!
Tracing Tools Message analyzer - Network traffic - Packet sniffing
Dump Analysis - Windbg (for masochists these days)
windbg
windbg - yeah - no - just say no -
debugdiag FTW!
More Decks by josh_robb
See All by josh_robb
Wellington Codecamp 2016
josh_robb
0
160
Codemania - Coupling, Cohesion, Connascence
josh_robb
1
630
Blameless Postmortems - Security by Inclusion
josh_robb
0
320
Effective Unit Testing
josh_robb
0
110
Coupling, Cohesion, Connascence
josh_robb
1
3.1k
Brown Field ASP.NET MVC with Webforms
josh_robb
1
160
Other Decks in Technology
See All in Technology
AWS Blocksで AIエージェント作れるの知ってます?
kmiya84377
1
170
ブース設計、 お前もプロダクトだったのか / So Booth Design Was a Product All Along
akihiro0038
0
150
成長するID管理基盤における運用もコストも犠牲にしないオブザーバビリティ向上の実践 / Improving Observability for a Growing Identity Platform Without Adding Operational Burden or Cost
kaminashi
1
140
Go でトランザクション、どう書いてますか?
knwoop
2
640
現地速報! Microsoft Ignite アップデートレポート
kasada
1
630
ポケモンバトルのAIエージェント
koji_kawamura
0
280
コーディングできない僕にBobが舞い降りた
shumpei3
0
220
Dark Web - Como o Cibercrime Opera na Internet
nicholsjasper
0
120
データから見る AI時代のエンジニア転職と採用
junya_okura
4
1.4k
個人ASを取得して、自宅Kubernetes上のVMをグローバルIPで公開した話
munenick
0
230
AWS re:Invent 2026 FSI Pre-Event Networking Night
junjikoide
0
290
認知負荷の減らし方 ~開発にも日常業務にも活かせるノウハウ~
minorun365
PRO
17
13k
Featured
See All Featured
Building the Perfect Custom Keyboard
takai
2
970
Raft: Consensus for Rubyists
vanstee
143
7.9k
Design of three-dimensional binary manipulators for pick-and-place task avoiding obstacles (IECON2024)
konakalab
0
680
The browser strikes back
jonoalderson
0
2k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
28
3.8k
A brief & incomplete history of UX Design for the World Wide Web: 1989–2019
jct
2
570
Stop Working from a Prison Cell
hatefulcrawdad
274
21k
How Fast Is Fast Enough? [PerfNow 2025]
tammyeverts
3
1k
Learning to Love Humans: Emotional Interface Design
aarron
275
41k
VelocityConf: Rendering Performance Case Studies
addyosmani
331
25k
Designing Powerful Visuals for Engaging Learning
tmiket
1
670
Accessibility Awareness
sabderemane
1
310