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
オンライン予約徹底解説 #railsdm2019
Search
Masato Nakamura
March 22, 2019
Programming
4
5.5k
オンライン予約徹底解説 #railsdm2019
Rails Developers Meetup 2019
https://railsdm.github.io/
での発表資料です
Masato Nakamura
March 22, 2019
Tweet
Share
More Decks by Masato Nakamura
See All by Masato Nakamura
トレタのプロダクト開発 #TORETA_TECH_TALK
m_nakamura145
0
850
プロダクト開発におけるライブラリアップデートのタイミング #gotandarb
m_nakamura145
0
410
成長したrailsアプリの割れ窓を防ぐCircleCI #circlecijp
m_nakamura145
2
920
SaaSのDBリファクタリング #omotesandorb
m_nakamura145
2
370
Sidekiq Worker設計のコツ #ebisurb
m_nakamura145
2
270
Maintain our records correctly #first_english_presentation
m_nakamura145
1
890
グローバルサービスを作る時に考えておくこと #railsdm
m_nakamura145
4
3.7k
What material do you use in DMM eikaiwa? #DMM英会話 #clem_jp
m_nakamura145
1
4.5k
Server-Side Team in Toreta
m_nakamura145
1
380
Other Decks in Programming
See All in Programming
AHC041解説
terryu16
0
370
functionalなアプローチで動的要素を排除する
ryopeko
1
200
情報漏洩させないための設計
kubotak
5
1.3k
.NETでOBS Studio操作してみたけど…… / Operating OBS Studio by .NET
skasweb
0
120
良いユニットテストを書こう
mototakatsu
11
3.6k
CQRS+ES の力を使って効果を感じる / Feel the effects of using the power of CQRS+ES
seike460
PRO
0
240
Jaspr Dart Web Framework 박제창 @Devfest 2024
itsmedreamwalker
0
150
技術的負債と向き合うカイゼン活動を1年続けて分かった "持続可能" なプロダクト開発
yuichiro_serita
0
300
PHPカンファレンス 2024|共創を加速するための若手の技術挑戦
weddingpark
0
140
rails newと同時に型を書く
aki19035vc
5
710
PHPとAPI Platformで作る本格的なWeb APIアプリケーション(入門編) / phpcon 2024 Intro to API Platform
ttskch
0
390
PHPUnitしか使ってこなかった 一般PHPerがPestに乗り換えた実録
mashirou1234
0
420
Featured
See All Featured
Building a Modern Day E-commerce SEO Strategy
aleyda
38
7k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
49
2.2k
Testing 201, or: Great Expectations
jmmastey
41
7.2k
Fireside Chat
paigeccino
34
3.1k
Visualizing Your Data: Incorporating Mongo into Loggly Infrastructure
mongodb
44
9.4k
Reflections from 52 weeks, 52 projects
jeffersonlam
348
20k
The Cost Of JavaScript in 2023
addyosmani
46
7.2k
Writing Fast Ruby
sferik
628
61k
Mobile First: as difficult as doing things right
swwweet
222
9k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
3
240
It's Worth the Effort
3n
183
28k
VelocityConf: Rendering Performance Case Studies
addyosmani
327
24k
Transcript
ΦϯϥΠϯ༧పఈղઆ גࣜձࣾτϨλதଜਅਓ !N@OBLBNVSB
w தଜਅਓ !N@OBLBNVSB w αʔόαΠυΤϯδχΞ w τϨλͷશͯͷ"1*ͷ։ൃɾӡ༻ w τϨλ/PXͷ։ൃɾӡ༻
ࣗ ݾ հ
None
21 00 4 ໊ ։࢝ 21 15 ϨετϥϯτϨλ ༧ࢉͷ҆
ϥετΦʔμʔ ¥6,000 23 00 ϑϨϯν ͓ళʹి ϧʔτ࠶ݕࡧ ڞ༗ ళฮใ ༧औফ Ҡಈத STEP 3 ϑϨϯν ϨετϥϯτϨλ ༧ࢉͷ҆ ڑͷ҆ ϥετΦʔμʔ ¥6,000 5 23 00 ॅॴ ౦ژ۠ޒా ళฮใ མͪண͍ͨงғؾͷதͰɺ৺Ώ͘·Ͱ৯ࣄΛຯΘͬͯ ͍ͩ͘͞ɻ ͓ళͷઆ໌ ύελͷछྨ๛ɻύελҎ֎ʹɺɺνʔζɺ ࡊΩϊίͳͲʮࢁʯͷΠλϦΞϯ ྉཧͷઆ໌ εϓϚϯςɺϫΠϯɺനϫΠϯɺੜϏʔϧɺϋΠ υϦϯΫͷઆ໌ ։໊࢝Ͱ༧͢Δ STEP 2 ۙ͘ͷ͓ళΛ୳͢ 21 15 ։࢝ 3 2 5 6 4 ͝ར༻ਓΛબ͍ͯͩ͘͠͞ɻ 21 00 STEP 1
ҿ৯ళͷΦϯϥΠϯ༧͍͠
ࢴͷ༧ா ҿ ৯ ళ ͷ Φ ϯ ϥ Π ϯ
༧ ͱͱҿ৯ళͰΘΕ͍ͯͨ
ෳͷάϧϝϝσΟΞͷࡏݿΛૢ࡞ ҿ ৯ ళ ͷ Φ ϯ ϥ Π ϯ
༧
֤άϧϝαΠτͷࡏݿܝग़ ྫɿ੮͕੮ͷళฮ Χϯλʔ º ໊ςʔϒϧ º ໊ςʔϒϧ º ߹ܭ੮ ੮
άϧϝϝσΟΞ" ੮ άϧϝϝσΟΞ# ੮ άϧϝϝσΟΞ$ ੮ άϧϝϝσΟΞ% ੮ άϧϝϝσΟΞ& ҿ ৯ ళ ͷ Φ ϯ ϥ Π ϯ ༧
ҿ ৯ ళ ͷ Φ ϯ ϥ Π ϯ ༧
༧ாͷσδλϧԽͱసه࡞ۀͷࣗಈԽ શͳΦϯϥΠϯ༧ͷͨΊʹඞཁͳͷ
$0/'*%&/5*"-5PSFUB*OD "MM3JHIU3FTFSWFE ҿ ৯ ళ ͷ Φ ϯ ϥ Π
ϯ ༧
τϨλͷ༧ΦϖϨʔγϣϯ
͋ΒΏΔํ๏ͰτϨλʹ༧ΛೖΕΔ τ Ϩ λ ͷ ༧ Φ ϖ Ϩ
ʔ γ ϣ ϯ
(PPHMFͰ༧ τ Ϩ λ ͷ ༧ Φ ϖ Ϩ
ʔ γ ϣ ϯ
None
None
༧ใ ސ٬ใ DB DB ి༧ ༧ ா ༧ͷσʔλԽ
ి༧ͷ߹ཧԽ τ Ϩ λ ͷ α ʔ Ϗ ε ߏ τϨλϑΥϯ ίϯλΫτηϯλʔ *73 ΦϯυϝσΟΞ τϨλΣϒ༧ 3FTFSWBUJPO"1* ΦϯυڧԽ ސ٬ͷڧԽ άϧϝαΠτ (PPHMFͰ༧ τϨλOPX ϝσΟΞίωΫτ ϝσΟΞίϯτϩʔϥʔ ΦϯϥΠϯ༧ීٴ ू٬ࢧԉ $3. ϝοηʔδϯά ސ٬Ϧαʔν جװγεςϜ࿈ܞ ݱࢧԉ $3.ڧԽ ސ٬ߦಈσʔλ $3.ڧԽ άϧϝαΠτ 104ίωΫτ
༧ใ ސ٬ใ DB DB ి༧ ༧ ா ༧ͷσʔλԽ
ి༧ͷ߹ཧԽ τ Ϩ λ ͷ α ʔ Ϗ ε ߏ τϨλϑΥϯ ίϯλΫτηϯλʔ *73 ΦϯυϝσΟΞ τϨλΣϒ༧ 3FTFSWBUJPO"1* ΦϯυڧԽ ސ٬ͷڧԽ άϧϝαΠτ (PPHMFͰ༧ τϨλOPX ϝσΟΞίωΫτ ϝσΟΞίϯτϩʔϥʔ ΦϯϥΠϯ༧ීٴ ू٬ࢧԉ $3. ϝοηʔδϯά ސ٬Ϧαʔν جװγεςϜ࿈ܞ ݱࢧԉ $3.ڧԽ ސ٬ߦಈσʔλ $3.ڧԽ άϧϝαΠτ 104ίωΫτ
༧ใ ސ٬ใ DB DB ి༧ ༧ ா ༧ͷσʔλԽ
ి༧ͷ߹ཧԽ τ Ϩ λ ͷ α ʔ Ϗ ε ߏ τϨλϑΥϯ ίϯλΫτηϯλʔ *73 ΦϯυϝσΟΞ τϨλΣϒ༧ 3FTFSWBUJPO"1* ΦϯυڧԽ ސ٬ͷڧԽ άϧϝαΠτ (PPHMFͰ༧ τϨλOPX ϝσΟΞίωΫτ ϝσΟΞίϯτϩʔϥʔ ΦϯϥΠϯ༧ීٴ ू٬ࢧԉ $3. ϝοηʔδϯά ސ٬Ϧαʔν جװγεςϜ࿈ܞ ݱࢧԉ $3.ڧԽ ސ٬ߦಈσʔλ $3.ڧԽ άϧϝαΠτ 104ίωΫτ
༧ใ ސ٬ใ DB DB ి༧ ༧ ா ༧ͷσʔλԽ
ి༧ͷ߹ཧԽ τ Ϩ λ ͷ α ʔ Ϗ ε ߏ τϨλϑΥϯ ίϯλΫτηϯλʔ *73 ΦϯυϝσΟΞ τϨλΣϒ༧ 3FTFSWBUJPO"1* ΦϯυڧԽ ސ٬ͷڧԽ άϧϝαΠτ (PPHMFͰ༧ τϨλOPX ϝσΟΞίωΫτ ϝσΟΞίϯτϩʔϥʔ ΦϯϥΠϯ༧ීٴ ू٬ࢧԉ $3. ϝοηʔδϯά ސ٬Ϧαʔν جװγεςϜ࿈ܞ ݱࢧԉ $3.ڧԽ ސ٬ߦಈσʔλ $3.ڧԽ άϧϝαΠτ 104ίωΫτ
༧ใ ސ٬ใ DB DB ి༧ ༧ ா ༧ͷσʔλԽ
ి༧ͷ߹ཧԽ τ Ϩ λ ͷ α ʔ Ϗ ε ߏ τϨλϑΥϯ ίϯλΫτηϯλʔ *73 ΦϯυϝσΟΞ τϨλΣϒ༧ 3FTFSWBUJPO"1* ΦϯυڧԽ ސ٬ͷڧԽ άϧϝαΠτ (PPHMFͰ༧ τϨλOPX ϝσΟΞίωΫτ ϝσΟΞίϯτϩʔϥʔ ΦϯϥΠϯ༧ීٴ ू٬ࢧԉ $3. ϝοηʔδϯά ސ٬Ϧαʔν جװγεςϜ࿈ܞ ݱࢧԉ $3.ڧԽ ސ٬ߦಈσʔλ $3.ڧԽ άϧϝαΠτ 104ίωΫτ
༧ใ ސ٬ใ DB DB ి༧ ༧ ா ༧ͷσʔλԽ
ి༧ͷ߹ཧԽ τ Ϩ λ ͷ α ʔ Ϗ ε ߏ τϨλϑΥϯ ίϯλΫτηϯλʔ *73 ΦϯυϝσΟΞ τϨλΣϒ༧ 3FTFSWBUJPO"1* ΦϯυڧԽ ސ٬ͷڧԽ άϧϝαΠτ (PPHMFͰ༧ τϨλOPX ϝσΟΞίωΫτ ϝσΟΞίϯτϩʔϥʔ ΦϯϥΠϯ༧ීٴ ू٬ࢧԉ $3. ϝοηʔδϯά ސ٬Ϧαʔν جװγεςϜ࿈ܞ ݱࢧԉ $3.ڧԽ ސ٬ߦಈσʔλ $3.ڧԽ άϧϝαΠτ 104ίωΫτ
τϨλʹࣗಈతʹ༧͕ೖΔ ӦۀதτϨλͷը໘͚ͩΛݟΕ0, ΦϖϨʔγϣϯ͕؆୯ʹͳͬͨ τ Ϩ λ ͷ ༧ Φ
ϖ Ϩ ʔ γ ϣ ϯ
8FC༧ઃఆͷྺ࢙
༧ͷೖΕํΛ͢Δͱ ച্্͕͕Δ 8 F C ༧ ઃ ఆ ͷ
ྺ ࢙
ճస
ճస
੮ࡏݿʹۭؒత੍ͱ࣌ؒత੍ͷ ͭͷ͕݅͋Δ 8 F C ༧ ઃ ఆ ͷ
ྺ ࢙
ۭؒత੍ͷม ςʔϒϧ ༧ਓ 8 F C ༧ ઃ ఆ
ͷ ྺ ࢙
ҿ৯ళʹͱͬͯ੮ޮ ച্࠷େԽͷͨΊʹେࣄͳཁૉͷͭ 8 F C ༧ ઃ ఆ ͷ
ྺ ࢙
ҿ৯ళʹ͓͚Δ੮ࡏݿͷߟ͑ํ 8 F C ༧ ઃ ఆ ͷ ྺ
࢙
ຊདྷͷ੮ɾςʔϒϧ୯Ґͷ߹ Χϯλʔʹ੮ ςʔϒϧʹ੮ 8 F C ༧ ઃ ఆ
ͷ ྺ ࢙ ҿ৯ళʹ͓͚Δ੮ࡏݿͷߟ͑ํ
੮ɾςʔϒϧΛ݁߹͢Δ߹ 8 F C ༧ ઃ ఆ ͷ ྺ
࢙ ҿ৯ళʹ͓͚Δ੮ࡏݿͷߟ͑ํ
੮ɾςʔϒϧΛ݁߹͢Δ߹ 8 F C ༧ ઃ ఆ ͷ ྺ
࢙ ҿ৯ళʹ͓͚Δ੮ࡏݿͷߟ͑ํ
࣌ؒత੍ͷม Ӧۀ Ӧۀ࣌ؒ ༧ͷࡏ࣌ؒ 8FC༧։࢝࣌ؒ 8FC༧डظؒ 8FC༧ड͚͚క࣌ؒ 8 F C
༧ ઃ ఆ ͷ ྺ ࢙
Ӧ ۀ ઃ ఆ
Ӧ ۀ ࣌ ؒ ઃ ఆ
ॳظͷ8FC༧ࡏݿͷࢥ 8 F C ༧ ઃ ఆ ͷ ྺ
࢙
ۭؒతɾ࣌ؒత੍Λ ԾతͳςʔϒϧͰදݱ 8 F C ༧ ઃ ఆ ͷ
ྺ ࢙
ࡏݿͷΛ࡞Δ Ҏ֎ͷۭ͖ʹ༧ೖΒͳ͍ 8 F C ༧ ઃ ఆ ͷ
ྺ ࢙
None
8FC༧ςʔϒϧ 8FC༧ςʔϒϧ 8FC༧ςʔϒϧ 8FC༧ςʔϒϧ 8FC༧ςʔϒϧ 8FC༧ςʔϒϧ 8FC༧ςʔϒϧ 8FC༧ςʔϒϧ 8FC༧ςʔϒϧ 8FC༧ςʔϒϧ
8FC༧ςʔϒϧ
ೖͬͯ͘Δ༧Λ͓ళଆ͕ίϯτϩʔϧՄೳ 8 F C ༧ ઃ ఆ ͷ ྺ
࢙
None
ൟళ͚ͷ ߴͳςʔϒϧϚωδϝϯτΛ࣮ݱ 8 F C ༧ ઃ ఆ ͷ
ྺ ࢙
ࡏݿͷ࣮ํ๏ 8 F C ༧ ઃ ఆ ͷ ྺ
࢙
ඞཁʹͳΔͱ͖ʹࡏݿΛܭࢉ͢Δ 8 F C ༧ ઃ ఆ ͷ ྺ
࢙
ࡏݿΛܭࢉ͢Δ ࡏݿͷࢀরසଟ͘ͳ͍ ӬଓԽ͠ͳ͍ 8 F C ༧ ઃ ఆ
ͷ ྺ ࢙
ࡏݿΛࢀর͢ΔλΠϛϯά 8 F C ༧ ઃ ఆ ͷ ྺ
࢙
༧ใ ސ٬ใ DB DB ి༧ ༧ ா σʔλ׆༻
8 F C ༧ ઃ ఆ ͷ ྺ ࢙ τϨλϑΥϯ ίϯλΫτηϯλʔ *73 ΦϯυϝσΟΞ τϨλΣϒ༧ 3FTFSWBUJPO"1* άϧϝαΠτ (PPHMFͰ༧ τϨλOPX ϝσΟΞίωΫτ ϝσΟΞίϯτϩʔϥʔ $3. ϝοηʔδϯά ސ٬Ϧαʔν جװγεςϜ࿈ܞ άϧϝαΠτ 104ίωΫτ
None
ॳظಋೖళฮ͕ൟళͩͬͨͷͰ ͜ͷઃܭࢥ͕ϑΟοτͨ͠ 8 F C ༧ ઃ ఆ ͷ
ྺ ࢙
ಋೖళฮ૿Ճ ͜ͷઃܭͰಋೖͮ͠Β͍ళฮ૿͖͑ͯͨ 8 F C ༧ ઃ ఆ ͷ
ྺ ࢙
ৗʹ༧͕ຒ·ΔΘ͚Ͱͳ͍ళฮ େख๏ਓҰׅಋೖ 8 F C ༧ ઃ
ఆ ͷ ྺ ࢙
None
8FC༧ͷઃఆίετ͕ߴ͍ ΦϯϘʔσΟϯά͕Ͱ͖ͳ͍ͷͰઃఆΛߦ ࣾίετ͕૿Ճ 8 F C ༧ ઃ ఆ
ͷ ྺ ࢙
ࡏݿใΛͬͨϏδωε ࡏݿσʔλͷࢀরස͕૿Ճ ࡏݿใͷӬଓԽͷཁ͕૿Ճ 8 F C ༧ ઃ ఆ
ͷ ྺ ࢙
ݱࡏͷχʔζʹԊͬͨ 8FC༧ઃఆ͕ඞཁ 8 F C ༧ ઃ ఆ ͷ
ྺ ࢙
None
ࡏݿϞσϧͷಋೖ
8FC༧ࡏݿͷઃܭࢥͷมߋ ࡏ ݿ Ϟ σ ϧ ͷ ಋ ೖ
ۭ͖ͷ෦ࡏݿͱͯ͠ग़͢ ग़ͨ͘͠ͳ͍෦Λด͡Δ ࡏ ݿ Ϟ σ ϧ ͷ ಋ ೖ
None
։์͠ͳ͍ 8FC༧ςʔϒϧ 8FC༧ςʔϒϧ 8FC༧ςʔϒϧ 8FC༧ςʔϒϧ ։์͠ͳ͍ ςʔϒϧάϧʔϓ
ࡏݿϞσϧͷܭࢉํ๏ ࡏ ݿ Ϟ σ ϧ ͷ ಋ ೖ
ࡏݿϞσϧͷܭࢉม ༧ ςʔϒϧ ςʔϒϧάϧʔϓ Ӧۀ Ӧۀ࣌ؒ ΫΤϦͷ Өڹൣғ খ େ
ૢ࡞ස ߴ ࡏ ݿ Ϟ σ ϧ ͷ ಋ ೖ
ςʔϒϧάϧʔϓ Ӧۀ Ӧۀ࣌ؒ ςʔϒϧ ༧
ܭࢉม͕࡞ɾߋ৽ɾআ͞ΕͨΒ "DUJWF3DPSEDBMMCBDLͰ ࡏݿܭࢉ༻4JEFLJRXPSLFSΛFORVFVF ࡏ ݿ Ϟ σ ϧ ͷ ಋ
ೖ
21 00 4 ໊ ։࢝ 21 15 ϨετϥϯτϨλ ༧ࢉͷ҆
ϥετΦʔμʔ ¥6,000 23 00 ϑϨϯν ͓ళʹి ϧʔτ࠶ݕࡧ ڞ༗ ళฮใ ༧औফ Ҡಈத STEP 3 ϑϨϯν ϨετϥϯτϨλ ༧ࢉͷ҆ ڑͷ҆ ϥετΦʔμʔ ¥6,000 5 23 00 ॅॴ ౦ژ۠ޒా ళฮใ མͪண͍ͨงғؾͷதͰɺ৺Ώ͘·Ͱ৯ࣄΛຯΘͬͯ ͍ͩ͘͞ɻ ͓ళͷઆ໌ ύελͷछྨ๛ɻύελҎ֎ʹɺɺνʔζɺ ࡊΩϊίͳͲʮࢁʯͷΠλϦΞϯ ྉཧͷઆ໌ εϓϚϯςɺϫΠϯɺനϫΠϯɺੜϏʔϧɺϋΠ υϦϯΫͷઆ໌ ։໊࢝Ͱ༧͢Δ STEP 2 ۙ͘ͷ͓ళΛ୳͢ 21 15 ։࢝ 3 2 5 6 4 ͝ར༻ਓΛબ͍ͯͩ͘͠͞ɻ 21 00 STEP 1
8FC༧ઃఆͷࠓޙ
طଘͷ8FC༧ςʔϒϧͱ ࡏݿϞσϧͷ༥߹ 8 F C ༧ ઃ ఆ ͷ
ࠓ ޙ
None
શͯͷ༧ͷೖΓޱͷࡏݿࢀরํ๏ͷ౷Ұ 8 F C ༧ ઃ ఆ ͷ ࠓ
ޙ
༧ใ ސ٬ใ DB DB ి༧ ༧ ா τ
Ϩ λ ͷ α ʔ Ϗ ε ߏ τϨλϑΥϯ ίϯλΫτηϯλʔ *73 ΦϯυϝσΟΞ τϨλΣϒ༧ 3FTFSWBUJPO"1* άϧϝαΠτ (PPHMFͰ༧ τϨλOPX ϝσΟΞίωΫτ ϝσΟΞίϯτϩʔϥʔ $3. ϝοηʔδϯά ސ٬Ϧαʔν جװγεςϜ࿈ܞ άϧϝαΠτ 104ίωΫτ 8FC༧ςʔϒϧ ࡏݿϞσϧ
None