サーバーレスを採用すべき100の理由(1つしか話さないよ)
by
Kouta Ozaki
Link
Embed
Share
Beginning
This slide
Copy link URL
Copy link URL
Copy iframe embed code
Copy iframe embed code
Copy javascript embed code
Copy javascript embed code
Share
Tweet
Share
Tweet
Slide 1
Slide 1 text
© Chatwork αʔόʔϨεΛ ࠾༻͖͢100ͷཧ༝ (1͔ͭ͠͞ͳ͍) ϓϩμΫτج൫։ൃ෦ɹKouta Ozaki ࢲͨͪͷαʔόʔϨεΞʔΩςΫνϟߏ͜Εͩʂ Lunch LT
Slide 2
Slide 2 text
ཧ༝ ᶃ εέʔϥϏϦςΟʹΑΔোੑͷ্
Slide 3
Slide 3 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 3 ChatworkͰى͖ͨোͷ
Slide 4
Slide 4 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 4
Slide 5
Slide 5 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 5
Slide 6
Slide 6 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 6
Slide 7
Slide 7 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 7
Slide 8
Slide 8 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 8
Slide 9
Slide 9 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 9 ʊਓਓਓਓਓਓਓਓਓʊ ʼɹαʔϏεμϯɹʻ ʉY^Y^Y^Y^Y^Y^Y^Y^Y^ʉ
Slide 10
Slide 10 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 10 Կ͕ͩͬͨͷ͔
Slide 11
Slide 11 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 11 Ϧιʔε͕ރׇ͢Δ > ϦιʔεΛ֬อ͢Δ
Slide 12
Slide 12 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 12 ਖ਼ৗ࣌ʹ100rpsɺ100ms (AVG)Λظ͢Δέʔε • 10 process / sec ͷϦιʔε͕ඞཁ • ҟৗέʔεͰ1000ms (AVG)ʹͳΔͱ100 process / secͷϦιʔε͕ඞཁ • 10 processͷ··ͩͱ1ඵܦա͢Δຖʹ90 request͕ཷ·͍ͬͯ͘ڪා
Slide 13
Slide 13 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 13 εέʔϧΛͲΕ͚ͩૣ͘Ͱ͖Δ͔ ࣄલʹόοϑΝΛͲΕ͚ͩऔΔ͔ͷ
Slide 14
Slide 14 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 14 • ݪଇͱͯ͠N secҎʹϨεϙϯεΛඞͣฦ͞ͳ͚Ε͍͚ͳ͍ • Ϣʔβʔσʔλͷྔʹґଘ͠ͳ͍ • όοΫΤϯυʢDBMSͳͲʣͷঢ়ଶʹґଘ͠ͳ͍ • దͳλΠϜΞτઃఆ • αʔΩοτϒϨʔΧʔͷಋೖ • ͜ͷN secͱ࣮ଌͷฏۉͷM secΛͱʹඞཁͳεέʔϧͱόοϑΝ Λࢉग़͢Δ
Slide 15
Slide 15 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 15 ʊਓਓਓਓਓਓʊ ʼɹ໘ष͍ɹʻ ʉY^Y^Y^Y^Y^Y^ʉ
Slide 16
Slide 16 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 16 ͦ͏ͩLambdaΛ͓͏
Slide 17
Slide 17 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 17 • Lambda1 Request - 1 Function • ಉ࣌ʹॲཧ͢ΔRequest͕૿͑ΔFunction͕εέʔϧ • ίʔϧυελʔτ࣍ୈ͕ͩඵͰεέʔϧՄೳ • ༨ͳόοϑΝΛ࣋ͭඞཁ͕ͳ͍ͨΊίετతʹ༏͍͠
Slide 18
Slide 18 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 18
Slide 19
Slide 19 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 19 ʊਓਓਓਓਓਓਓਓਓʊ ʼɹΫϥυഁ࢈ɹʻ ʉY^Y^Y^Y^Y^Y^Y^Y^Y^ʉ
Slide 20
Slide 20 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 20 Lambda͔ͩΒͱա৴͍͚ͯ͠ͳ͍
Slide 21
Slide 21 text
εέʔϥϏϦςΟʹΑΔোੑͷ্ 21 ChatworkͰOGPදࣔػೳͳͲͰLambdaΛར༻͍ͯ͠Δ OGPऔಘͷϨΠςϯγ͕ෆ໌Ͱ͋Γɺࣄલܭଌ͕͍͠ྖҬʹͳΔ
Slide 22
Slide 22 text
No content