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
Addicted to Stable
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
John Nunemaker
PRO
September 01, 2012
Programming
2.9k
32
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Addicted to Stable
Closing keynote for RubyConf Brazil.
John Nunemaker
PRO
September 01, 2012
More Decks by John Nunemaker
See All by John Nunemaker
Remote First: Building Distributed Teams that Win
jnunemaker
PRO
1
200
AI: The stuff that nobody shows you
jnunemaker
PRO
9
1k
Atom
jnunemaker
PRO
10
5.2k
MongoDB for Analytics
jnunemaker
PRO
11
1.2k
MongoDB for Analytics
jnunemaker
PRO
21
2.3k
MongoDB for Analytics
jnunemaker
PRO
16
30k
Why You Should Never Use an ORM
jnunemaker
PRO
61
10k
Why NoSQL?
jnunemaker
PRO
10
1k
Don't Repeat Yourself, Repeat Others
jnunemaker
PRO
7
3.6k
Other Decks in Programming
See All in Programming
高専キャリア LT 発表内容
crysta1221
6
5.7k
市販E-Readerを乗っ取れ 〜Embedded Swiftで電子ペーパーガジェットを制御する〜
trickart
0
190
FreeBSDでZabbixを動かす.pdf
kenkino
0
230
JPUG勉強会 OSSデータベースの内部構造を理解しよう(第2回)
oga5
0
210
技術的負債の返済は、AI時代の複利で効く投資 — 経営としての意思決定とその遂行
curekoshimizu
0
990
Are APIs Still Relevant in the AI Era?
soyuka
0
140
選挙速報を多くのユーザーへ 届ける Live Activities 設計
hamayokokuririn
0
140
Omarchy Tokyo やると聞いて UMPC 買ってセットアップしてきた
mtsmfm
0
140
GKE で Pod の見方を変えたら、スケールアウト時の挙動を真に捉えられた話
stkk
0
120
thread_parallel_with_free-threaded_Python_and_NumPy.pdf
riku_sakamoto
0
330
数年滞っていたダークモード対応をおよそ2週間で完了させる
chigichan24
0
710
スマート反転とウェブアクセシビリティ
camiha
0
200
Featured
See All Featured
Designing for Performance
lara
611
70k
Side Projects
sachag
456
43k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
270
Music & Morning Musume
bryan
47
7.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
356
21k
How to Think Like a Performance Engineer
csswizardry
28
2.8k
Designing Powerful Visuals for Engaging Learning
tmiket
1
550
Faster Mobile Websites
deanohume
310
32k
Product Roadmaps are Hard
iamctodd
55
13k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
249
1.3M
Organizational Design Perspectives: An Ontology of Organizational Design Elements
kimpetersen
PRO
1
830
The Mindset for Success: Future Career Progression
greggifford
PRO
0
490
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.