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
840
プロダクト開発におけるライブラリアップデートのタイミング #gotandarb
m_nakamura145
0
410
成長したrailsアプリの割れ窓を防ぐCircleCI #circlecijp
m_nakamura145
2
910
SaaSのDBリファクタリング #omotesandorb
m_nakamura145
2
370
Sidekiq Worker設計のコツ #ebisurb
m_nakamura145
2
270
Maintain our records correctly #first_english_presentation
m_nakamura145
1
880
グローバルサービスを作る時に考えておくこと #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
これが俺の”自分戦略” プロセスを楽しんでいこう! - Developers CAREER Boost 2024
niftycorp
PRO
0
190
Security_for_introducing_eBPF
kentatada
0
110
ある日突然あなたが管理しているサーバーにDDoSが来たらどうなるでしょう?知ってるようで何も知らなかったDDoS攻撃と対策 #phpcon.2024
akase244
1
150
フロントエンドのディレクトリ構成どうしてる? Feature-Sliced Design 導入体験談
osakatechlab
8
4.1k
Stackless и stackful? Корутины и асинхронность в Go
lamodatech
0
830
ブラウザ単体でmp4書き出すまで - muddy-web - 2024-12
yue4u
3
480
Cloudflare MCP ServerでClaude Desktop からWeb APIを構築
kutakutat
1
550
menu基盤チームによるGoogle Cloudの活用事例~Application Integration, Cloud Tasks編~
yoshifumi_ishikura
0
110
useSyncExternalStoreを使いまくる
ssssota
6
1.2k
SymfonyCon Vienna 2025: Twig, still relevant in 2025?
fabpot
3
1.2k
情報漏洩させないための設計
kubotak
3
340
return文におけるstd::moveについて
onihusube
1
1.2k
Featured
See All Featured
Writing Fast Ruby
sferik
628
61k
Practical Tips for Bootstrapping Information Extraction Pipelines
honnibal
PRO
10
810
Fashionably flexible responsive web design (full day workshop)
malarkey
405
66k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
29
2.3k
Practical Orchestrator
shlominoach
186
10k
The Pragmatic Product Professional
lauravandoore
32
6.3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
356
29k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
28
4.4k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.4k
BBQ
matthewcrist
85
9.4k
Faster Mobile Websites
deanohume
305
30k
Distributed Sagas: A Protocol for Coordinating Microservices
caitiem20
330
21k
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