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
Continuous Deployment
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
Conferences Box
March 16, 2012
Technology
1
96
Continuous Deployment
Conferences Box
March 16, 2012
Tweet
Share
More Decks by Conferences Box
See All by Conferences Box
Socket.IO in Chess Realtime Multiplayer Web Application
conferencesbox
2
330
Multiple dispatch
conferencesbox
1
54
JQuery UI Keynote
conferencesbox
1
88
Sensible Testing
conferencesbox
2
72
Redis Application Patterns in Rails
conferencesbox
1
120
Making the Web Faster
conferencesbox
2
73
Using Rails without Rails
conferencesbox
1
100
Stranger in These Parts
conferencesbox
1
53
One day of life in V8
conferencesbox
3
250
Other Decks in Technology
See All in Technology
KubeCon + CloudNativeCon NA ‘25 Recap, Extensibility: Gateway API / NRI
ladicle
0
160
あたらしい上流工程の形。 0日導入からはじめるAI駆動PM
kumaiu
4
660
Sansan Engineering Unit 紹介資料
sansan33
PRO
1
3.8k
re:Inventで出たインフラエンジニアが嬉しかったアップデート
nagisa53
4
230
GSIが複数キー対応したことで、俺達はいったい何が嬉しいのか?
smt7174
3
120
usermode linux without MMU - fosdem2026 kernel devroom
thehajime
0
160
最速で価値を出すための プロダクトエンジニアのツッコミ術
kaacun
1
480
2026年、サーバーレスの現在地 -「制約と戦う技術」から「当たり前の実行基盤」へ- /serverless2026
slsops
2
130
エンジニアとマネジメントの距離/Engineering and Management
ikuodanaka
3
700
みんなだいすきALB、NLBの 仕組みから最新機能まで総おさらい / Mastering ALB & NLB: Internal Mechanics and Latest Innovations
kaminashi
0
170
小さく始めるBCP ― 多プロダクト環境で始める最初の一歩
kekke_n
0
220
SMTP完全に理解した ✉️
yamatai1212
0
160
Featured
See All Featured
Reality Check: Gamification 10 Years Later
codingconduct
0
2k
[Rails World 2023 - Day 1 Closing Keynote] - The Magic of Rails
eileencodes
38
2.7k
Leveraging LLMs for student feedback in introductory data science courses - posit::conf(2025)
minecr
0
130
Writing Fast Ruby
sferik
630
62k
It's Worth the Effort
3n
188
29k
How To Stay Up To Date on Web Technology
chriscoyier
791
250k
The Curse of the Amulet
leimatthew05
1
8k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
9
1.2k
How GitHub (no longer) Works
holman
316
140k
We Have a Design System, Now What?
morganepeng
54
8k
A designer walks into a library…
pauljervisheath
210
24k
Mind Mapping
helmedeiros
PRO
0
68
Transcript
Continuous Deployment
Matt White @whitethunder922 github.com/whitethunder
What is meant by “Continuous Deployment?”
From Timothy Fitz: •Continuously integrate (commit early and often) •On
commit automatically run all tests •If the tests pass deploy to the cluster •If the deploy succeeds, repeat
How often do you deploy?
Our Journey to Continuous Deployment
Things We Needed • Simplified Release Process • Thorough Testing
• Continuous Integration • Monitoring All things we should have anyway
Simplified Release Process
Make Releases Less Like This
None
None
Thorough Testing • Not necessarily 100% test coverage • Tests
that do what your users do
Fast and Efficient Tests • Profiling • Don't disguise integration
tests as unit tests (isolate) • Avoid test duplication • Create fewer objects • Load dependencies as needed • Don't test/use Rails
Continuous Integration
CI Should Be Fast Previous CI Server: • Quad-Core AMD
Opteron(tm) Processor • 16GiB RAM • Rackspace Cloud instance • 30 minutes to run tests Current CI Server: • 16 Core Intel(R) Xeon(R) CPU 2.40GHz • 32GiB RAM • SSD • 7 minutes to run tests
Make Use of Multiple CPU Cores
parallel_tests
hydra
Monitoring • A user should not be the first one
to notify you that something broke • Something automatic should freak out when stuff breaks
None
New Relic
New Relic
Excuses • More releases would be more pain • Our
tests are insufficient • Our users/stakeholders won't be cool with it
rollout
Benefits • Waste is reduced • Fail fast • Encourages
working in smaller increments
Result
MOAR PONIES!!!11! Who couldn't use moar ponies??!!?
Questions? Matt White @whitethunder922 github.com/whitethunder