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
250
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
2k
リーダーとつきあうための冴えたやりかた / Managing Your Leader
kawasy
21
52k
開発者体験(DX)を改善する チームを作った / DX: Improve developer experience to deliver quality product faster and more frequently
kawasy
8
2.7k
OpenTelemetry 進捗 2019年6月版 / OpenTelemetry Current Status June 2019 #opencensusjp
kawasy
2
2.3k
LT: 海外カンファレンスで発表しよう / How to give a talk at an international conference #megurorb
kawasy
2
1.3k
[RailsConf 2019] Troubleshoot Your RoR Microservices with Distributed Tracing
kawasy
7
15k
アルゴリズムとデータ構造から理解するRedis / Learn Redis from Internal Algorithms and Data Structures
kawasy
26
44k
OpenCensus Ruby 実装についてひと言 / Current Status of OpenCensus Ruby #opencensusjp
kawasy
2
5.2k
The Wantedly Story - Journey of 2012
kawasy
2
38k
Other Decks in Programming
See All in Programming
猫と暮らす Google Nest Cam生活🐈 / WebRTC with Google Nest Cam
yutailang0119
0
170
ご注文の差分はこちらですか? 〜 AWS CDK のいろいろな差分検出と安全なデプロイ
konokenj
3
580
AIと”コードの評価関数”を共有する / Share the "code evaluation function" with AI
euglena1215
1
180
Google Agent Development Kit でLINE Botを作ってみた
ymd65536
2
260
Porting a visionOS App to Android XR
akkeylab
0
680
AI駆動のマルチエージェントによる業務フロー自動化の設計と実践
h_okkah
0
230
可変変数との向き合い方 $$変数名が踊り出す$$ / php conference Variable variables
gunji
0
180
iOS 26にアップデートすると実機でのHot Reloadができない?
umigishiaoi
0
140
코딩 에이전트 체크리스트: Claude Code ver.
nacyot
0
930
The Evolution of Enterprise Java with Jakarta EE 11 and Beyond
ivargrimstad
0
260
Rails Frontend Evolution: It Was a Setup All Along
skryukov
0
280
What's new in AppKit on macOS 26
1024jp
0
150
Featured
See All Featured
Statistics for Hackers
jakevdp
799
220k
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
161
15k
Designing for humans not robots
tammielis
253
25k
ピンチをチャンスに:未来をつくるプロダクトロードマップ #pmconf2020
aki_iinuma
126
53k
The Cost Of JavaScript in 2023
addyosmani
51
8.6k
Bash Introduction
62gerente
613
210k
[RailsConf 2023] Rails as a piece of cake
palkan
55
5.7k
Learning to Love Humans: Emotional Interface Design
aarron
273
40k
GitHub's CSS Performance
jonrohan
1031
460k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
3.9k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
10
970
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ͷ͓͔͛
͋Γ͕ͱ͏͍͟͝·ͨ͠ʂ