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
Wantedlyを2年間Herokuで運用した話
Search
Yoshinori Kawasaki
November 22, 2013
Programming
1
240
Wantedlyを2年間Herokuで運用した話
Wantedlyを2年間Herokuで運用した話
http://www.wantedly.com/companies/wantedly/projects
Yoshinori Kawasaki
November 22, 2013
Tweet
Share
More Decks by Yoshinori Kawasaki
See All by Yoshinori Kawasaki
変容するワークスタイルとUXデザイン / UX Design in a New Era of Work
kawasy
6
1.9k
リーダーとつきあうための冴えたやりかた / Managing Your Leader
kawasy
20
49k
開発者体験(DX)を改善する チームを作った / DX: Improve developer experience to deliver quality product faster and more frequently
kawasy
8
2.6k
OpenTelemetry 進捗 2019年6月版 / OpenTelemetry Current Status June 2019 #opencensusjp
kawasy
2
2.2k
LT: 海外カンファレンスで発表しよう / How to give a talk at an international conference #megurorb
kawasy
2
1.2k
[RailsConf 2019] Troubleshoot Your RoR Microservices with Distributed Tracing
kawasy
7
15k
アルゴリズムとデータ構造から理解するRedis / Learn Redis from Internal Algorithms and Data Structures
kawasy
26
42k
OpenCensus Ruby 実装についてひと言 / Current Status of OpenCensus Ruby #opencensusjp
kawasy
2
5k
The Wantedly Story - Journey of 2012
kawasy
2
36k
Other Decks in Programming
See All in Programming
Amazon Bedrock Agentsを用いてアプリ開発してみた!
har1101
0
340
TypeScript Graph でコードレビューの心理的障壁を乗り越える
ysk8hori
3
1.2k
CSC509 Lecture 13
javiergs
PRO
0
110
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
190
「今のプロジェクトいろいろ大変なんですよ、app/services とかもあって……」/After Kaigi on Rails 2024 LT Night
junk0612
5
2.2k
React への依存を最小にするフロントエンド設計
takonda
14
3.9k
Compose 1.7のTextFieldはPOBox Plusで日本語変換できない
tomoya0x00
0
200
[Do iOS '24] Ship your app on a Friday...and enjoy your weekend!
polpielladev
0
110
Kaigi on Rails 2024 〜運営の裏側〜
krpk1900
1
260
NSOutlineView何もわからん:( 前編 / I Don't Understand About NSOutlineView :( Pt. 1
usagimaru
0
350
レガシーシステムにどう立ち向かうか 複雑さと理想と現実/vs-legacy
suzukihoge
14
2.3k
CSC509 Lecture 12
javiergs
PRO
0
160
Featured
See All Featured
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
506
140k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
8
900
Rails Girls Zürich Keynote
gr2m
94
13k
Embracing the Ebb and Flow
colly
84
4.5k
Rebuilding a faster, lazier Slack
samanthasiow
79
8.7k
We Have a Design System, Now What?
morganepeng
50
7.2k
The Web Performance Landscape in 2024 [PerfNow 2024]
tammyeverts
0
120
What's in a price? How to price your products and services
michaelherold
243
12k
10 Git Anti Patterns You Should be Aware of
lemiorhan
655
59k
Being A Developer After 40
akosma
87
590k
Producing Creativity
orderedlist
PRO
341
39k
What’s in a name? Adding method to the madness
productmarketing
PRO
22
3.1k
Transcript
γΰτͰίίϩΦυϧ www.wantedly.com ! Yoshinori Kawasaki (@kawasy) ! Tech Compass Vol.
06, 22-Nov-2013
ࣗݾհ
None
https://www.wantedly.com/users/10599 [PR]! ! WantedlyϓϩϑΟʔϧΛ! Έ͍ͯͩ͘͞
ձࣾհ
None
New!! ΦϑΟεҠస͠·ͨ͠! ! ! http://blog.kushii.net/archives/1874257.html
[PR]! ! ΤϯδχΞɾσβΠφશһ! ࣗࣾαʔϏεΛͬͯ࠾༻! dogfooding ͯ͠·͢ https://www.wantedly.com/projects/7
WantedlyΛ! 2ؒHerokuͰ! ӡ༻ͨ͠
AWS Heroku Ruby on Rails Ruby PostgreSQL Backbone.js WantedlyΛࢧ͑Δٕज़ Chef
git push & open pull request GitHub GitHub bot Development
env Jenkins CI start a new build notify build status notify pull request opening update build status on a pull request Pull Request Λ͔ͭͬͨ! ϫʔΫϑϩʔ HipChat notifications
Production, Staging, QAͱ! ڥΛ͍͘ΒͰ૿ͤΔ development env $ git push 1ʹԿͰdeploy
! Continuous Delivery production & staging env
ຊ൪ڥͷมߋɾΞϥʔτΛ! HipChatʹ௨ Deploy௨ Τϥʔ௨ ύϑΥʔϚϯεࢹ ͦͷଞherokuίϚϯυ
None
ͦͦ! ͳͥWantedly HerokuΛ! ͍࢝Ίͨͷ͔
2011Ն
ΤϯδχΞ! 0ਓ
None
None
None
None
None
ඇΤϯδχΞͰ! ֶशͰ͖ͨ! Rails & Heroku
ΤϯδχΞͰͳͯ͘! ΞΠσΞͱ͕͋Ε! ͻͱΓͰαʔϏεΛ! ͡ΊΒΕΔ http://blog.wantedly.com/post/22557898746/hacker-way
2012य़
Dyno! web: 1! worker: 1
ΤϯδχΞ! 1ਓ
ελʔτΞοϓͰ! େͳ͜ͱ
Build-Measure-Learn http://lean.st/principles/build-measure-learn
Ϣʔβʹ৽͍͠ՁΛಧ͚Δ͜ͱ! ڝ߹ɾେاۀʹෛ͚ͳ͍εϐʔυ! ݶΒΕͨΤϯδχΞɾϦιʔεͷ༗ޮ׆༻
༏लͳΠϯϑϥΤϯδχΞ! ͱͯ͠ͷHeroku development env $ git push 1ʹԿͰdeploy ! Continuous
Delivery production & staging env
2013य़
Dyno! web: 3 (2X) ←NEW!! worker: 1
ΤϯδχΞ! 3ਓ
๛ͳAdd-ons ! Memcached MongoDB Redis Hadoop SMTP ࢹ ϩάཧ ͳͲ
๛ͳAdd-ons ! Memcached MongoDB Redis Hadoop SMTP ࢹ ϩάཧ ͳͲ
๛ͳAdd-onΛ! ॠ࣌ʹࢼͤΔ
WantedlyͰ! ͍ଓ͚͍ͯΔ! Add-onհ
https://addons.heroku.com/deployhooks#http Deploy Hooks
https://addons.heroku.com/newrelic New Relic
https://addons.heroku.com/sendgrid SendGrid
https://addons.heroku.com/logentries Logentries
https://addons.heroku.com/exceptional Exceptional
https://addons.heroku.com/process-scheduler Process Scheduler
https://addons.heroku.com/treasure-data Treasure Data Hadoop
https://addons.heroku.com/scheduler Heroku Scheduler SSL https://addons.heroku.com/ssl#endpoint https://addons.heroku.com/flydata FlyData https://addons.heroku.com/memcachier MemCachier
࠷৽ใ! BlogͱChangeLogͰ! ͓͔͚ͬΔ! https://blog.heroku.com/! https://devcenter.heroku.com/changelog
2013Ն
Dyno! web: 2 ~ 8 (2X)! worker: 1 ~ 5
ٸͳςϨϏग़ԋ! ༵ۚʹऔࡐ! →݄༵ʹ์ө
ٸͳςϨϏग़ԋ! ༵ۚʹऔࡐ! →݄༵ʹ์ө ᷚʹฉ͘WBS๒…
ٸͳςϨϏग़ԋ! ༵ۚʹऔࡐ! →݄༵ʹ์ө ᷚʹฉ͘WBS๒…
ٸͳςϨϏग़ԋ! ༵ۚʹऔࡐ! →݄༵ʹ์ө ࣸਅͱͬͯΔ߹͡Όͳ͍
ٸͳςϨϏग़ԋ! ༵ۚʹऔࡐ! →݄༵ʹ์ө heroku ps:scale web=100
ٸͳςϨϏग़ԋ! ༵ۚʹऔࡐ! →݄༵ʹ์ө heroku ps:scale web=100
ٸͳςϨϏग़ԋ! ༵ۚʹऔࡐ! →݄༵ʹ์ө ίετతʹ! dyno͚ͩͳΒ! 1࣌ؒ$10ఔ
ٸͳςϨϏग़ԋ! ༵ۚʹऔࡐ! →݄༵ʹ์ө ࣮ɺಉேʹ! ৽αʔϏεΛϩʔϯν! ͪ͜ΒͷWebαΠτ! HerokuͰ
·ͱΊ
ඇΤϯδχΞͰ͑Δखܰ͞! ্ཱͪ͛ظͷίετΛ࠷খݶʹ
Πϯϑϥؙ͛ͯ͠! αʔϏε։ൃʹूத! ৺͠ͳ͍͍ͯ͘͜ͱ! ৺͠ͳ͍
Wantedlyͷ! ͜Ε·Ͱͷ! Herokuͷ͓͔͛
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ