Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
Addicted to Stable
Search
John Nunemaker
PRO
September 01, 2012
Programming
32
2.4k
Addicted to Stable
Closing keynote for RubyConf Brazil.
John Nunemaker
PRO
September 01, 2012
Tweet
Share
More Decks by John Nunemaker
See All by John Nunemaker
Atom
jnunemaker
PRO
9
4.1k
MongoDB for Analytics
jnunemaker
PRO
10
800
MongoDB for Analytics
jnunemaker
PRO
21
2.2k
MongoDB for Analytics
jnunemaker
PRO
16
30k
Why You Should Never Use an ORM
jnunemaker
PRO
54
9.1k
Why NoSQL?
jnunemaker
PRO
10
890
Don't Repeat Yourself, Repeat Others
jnunemaker
PRO
7
3.3k
I Have No Talent
jnunemaker
PRO
14
920
Why MongoDB Is Awesome
jnunemaker
PRO
18
4.3k
Other Decks in Programming
See All in Programming
Remix on Hono on Cloudflare Workers
yusukebe
1
280
as(型アサーション)を書く前にできること
marokanatani
9
2.6k
AWS Lambdaから始まった Serverlessの「熱」とキャリアパス / It started with AWS Lambda Serverless “fever” and career path
seike460
PRO
1
250
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
860
subpath importsで始めるモック生活
10tera
0
300
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
870
受け取る人から提供する人になるということ
little_rubyist
0
230
Less waste, more joy, and a lot more green: How Quarkus makes Java better
hollycummins
0
100
CSC509 Lecture 09
javiergs
PRO
0
140
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
220
RubyLSPのマルチバイト文字対応
notfounds
0
120
What’s New in Compose Multiplatform - A Live Tour (droidcon London 2024)
zsmb
1
470
Featured
See All Featured
Gamification - CAS2011
davidbonilla
80
5k
Fantastic passwords and where to find them - at NoRuKo
philnash
50
2.9k
Designing for Performance
lara
604
68k
The Myth of the Modular Monolith - Day 2 Keynote - Rails World 2024
eileencodes
16
2.1k
How to train your dragon (web standard)
notwaldorf
88
5.7k
Java REST API Framework Comparison - PWX 2021
mraible
PRO
28
8.2k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
329
21k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
Ruby is Unlike a Banana
tanoku
97
11k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
Fireside Chat
paigeccino
34
3k
How To Stay Up To Date on Web Technology
chriscoyier
788
250k
Transcript
Addicted to Stable a.k.a how to sleep like an octocat
None
None
None
None
None
None
None
Hundreds of Sites
Hundreds of Sites Thousands of Decks
Hundreds of Sites Thousands of Decks Millions of People
Hundreds of Sites Thousands of Decks Millions of People Billions
of Views
“ People want features, but need stability.
Sta·ble Not likely to change or fail
App Code and Servers
Testing Automate
?
? test/unit
? rspec test/unit
? rspec test/unit minitest
YES
design YES
design YES change
design YES change regression
None
None
Work by me
Work by me Pushed code fix
None
Work by robots
Work by robots Closed issue
Work by robots Closed issue Ran test suite
Work by robots Closed issue Ran test suite Deployed code
Backup and Restore Automate
A Single Server Never trust
None
Replicate
Replicate Promote
Replicate Promote Practice
“ Me, at 8pm on a Saturday I’m confirming the
steps and order of commands.
None
Deleted Everything I accidentally Sincerely, Your Employee
Deleted Everything I accidentally Sincerely, Your Customer
users users.archived gauges gauges.archived
hubot restore <repo>
Deleted Everything I accidentally Sincerely, You
None
Deployment Automate
None
hubot deploy github
hubot deploy speakerdeck
hubot deploy gauges
hubot deploy gauges/my-branch
puppet https://github.com/puppetlabs/puppet
moonshine https://github.com/railsmachine/moonshine
HOSTFILTER=‘app7.foo.com’ \ cap production deploy:setup
HOSTFILTER=‘app7.foo.com’ \ cap production deploy
Exceptions Collect and Fix
None
None
< 1 exception per million page views (gauges)
Metrics Collect and Graph
None
None
None
None
None
None
Alerts Email, Push and SMS
None
None
None
Nagios
Pingdom Nagios
Pager Duty Pingdom Nagios
Failover Automate
web1 web2 haproxy/heartbeat
Tracking app3 app4 app5 app6 web1 web2
Tracking app3 app4 app5 app6 web1 web2 - option httpchk
GET /pulse/tracking
Tracking app3 app4 app5 app6 web1 web2 class PulseApp <
Sinatra::Base get '/pulse/tracking' do pulse :kestrel end end
Tracking app3 app4 app5 app6 web1 web2 app1 app2 Reporting
Tracking app3 app4 app5 app6 web1 web2 app1 app2 Reporting
- option httpchk GET /pulse/reporting
Tracking app3 app4 app5 app6 web1 web2 app1 app2 Reporting
class PulseApp < Sinatra::Base get '/pulse/reporting' do pulse :mongo end end
Tracking app3 app4 app5 app6 web1 web2 q1 q2 app1
app2 Reporting
Tracking app3 app4 app5 app6 web1 web2 q1 q2 Workers
db1 db2 db3 app1 app2 Reporting
Team Collaboration and Freedom
46 hubbers When I started in December
115 hubbers As of August 31, 2012 at 10:43am EST
How is that stable???
Collaborate Always
Pull Requests Discussion + ❤
None
None
Chat Campfire to your phone
None
Video Face to face and Pairing
None
Internal Tools Ideas, Hiring, Music and more!
None
None
300+ ideas
300+ ideas 3000+ comments
300+ ideas 3000+ comments 100+ people
Communicate Always
None
None
4300+ statuses
4300+ statuses 4200+ comments
4300+ statuses 4200+ comments 100+ people
None
None
170 talks
170 talks 112 people
170 talks 112 people 2 summits/year
None
Document Always
None
None
Empower Always
None
Anyone can view
Anyone can view Anyone can commit
Anyone can view Anyone can commit Anyone can deploy
None
296 branches
296 branches 2980 commits
296 branches 2980 commits 307 issues
IN ONE MONTH
ONLY THE WEB APP
Brand Surprise and Delight
Feedback Stupid Easy
None
None
[email protected]
[email protected]
[email protected]
Support Fast and Friendly
None
None
None
None
Documentation Useful and Thorough
None
None
None
None
Communication Honest and Open
None
None
None
If you present, GitHub covers the bill for you.
If you present, GitHub covers the bill for you and
a buddy.
None
“ On Saturday, June 2nd, we had a perfect storm
of cascading failures resulting in around four hours of lost tracking data.
“ We have commissioned a new database cluster with automatic
failover that we hope to be using sometime next week.
“ We hate that we lost your data. Know that
we have learned from this and will rise from the ashes of your data loss like a GLORIOUS PHOENIX.
Celebration Public and Genuine
None
None
None
None
automate testing, backing up, restoring, deploying, collect exceptions, metrics, send
alerts, fail gracefully, collaborate, communicate, document all the things, empower, get feedback, provide awesome support, communicate, celebrate
The End.