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
サーバーレスを採用すべき100の理由(1つしか話さないよ)
Search
Kouta Ozaki
August 30, 2023
Programming
3
460
サーバーレスを採用すべき100の理由(1つしか話さないよ)
https://findy.connpass.com/event/292876/
Kouta Ozaki
August 30, 2023
Tweet
Share
More Decks by Kouta Ozaki
See All by Kouta Ozaki
開発チームにオーナーシップを委譲する手法 - DevOpsDays TOKYO 2022 #DevOpsDaysTokyo
cwozaki
0
290
Helm Chartリポジトリを2年半運用してわかったいろいろな話 - CloudNative Days Spring 2021 ONLINE #CNDO2021
cwozaki
0
530
PHP on Kubernetes - PHP Conference 2020 Re:born #phpcon
cwozaki
1
8.1k
AWS DevDay 2020 - C-8: レジェンドシステムをEC2からKubernetesに置き換える戦い #AWSDevDay
cwozaki
0
1.6k
ChatworkにおけるレジェンドシステムのKubernetes化の取り組み #containerdaysjp #meetup
cwozaki
1
2.9k
チャットワークにおける サーバーレス活用術 / Serverless at ChatWork
cwozaki
1
1.6k
Other Decks in Programming
See All in Programming
[PyCon Korea 2024 Keynote] 커뮤니티와 파이썬, 그리고 우리
beomi
0
110
色々なIaCツールを実際に触って比較してみる
iriikeita
0
270
PHP でアセンブリ言語のように書く技術
memory1994
PRO
1
150
2万ページのSSG運用における工夫と注意点 / Vue Fes Japan 2024
chinen
3
1.3k
Realtime API 入門
riofujimon
0
110
CSC509 Lecture 08
javiergs
PRO
0
110
qmuntal/stateless のススメ
sgash708
0
120
gopls を改造したら開発生産性が高まった
satorunooshie
8
240
カスタムしながら理解するGraphQL Connection
yanagii
1
1.2k
とにかくAWS GameDay!AWSは世界の共通言語! / Anyway, AWS GameDay! AWS is the world's lingua franca!
seike460
PRO
1
550
【Kaigi on Rails 2024】YOUTRUST スポンサーLT
krpk1900
1
250
Streams APIとTCPフロー制御 / Web Streams API and TCP flow control
tasshi
1
290
Featured
See All Featured
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
231
17k
Facilitating Awesome Meetings
lara
49
6k
ReactJS: Keep Simple. Everything can be a component!
pedronauck
664
120k
Raft: Consensus for Rubyists
vanstee
136
6.6k
The Illustrated Children's Guide to Kubernetes
chrisshort
48
48k
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
7
150
How to Ace a Technical Interview
jacobian
275
23k
Designing for Performance
lara
604
68k
個人開発の失敗を避けるイケてる考え方 / tips for indie hackers
panda_program
92
16k
How STYLIGHT went responsive
nonsquared
95
5.2k
Making the Leap to Tech Lead
cromwellryan
132
8.9k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
Transcript
© Chatwork αʔόʔϨεΛ ࠾༻͖͢100ͷཧ༝ (1͔ͭ͠͞ͳ͍) ϓϩμΫτج൫։ൃ෦ɹKouta Ozaki ࢲͨͪͷαʔόʔϨεΞʔΩςΫνϟߏ͜Εͩʂ Lunch LT
ཧ༝ ᶃ εέʔϥϏϦςΟʹΑΔোੑͷ্
εέʔϥϏϦςΟʹΑΔোੑͷ্ 3 ChatworkͰى͖ͨোͷ
εέʔϥϏϦςΟʹΑΔোੑͷ্ 4
εέʔϥϏϦςΟʹΑΔোੑͷ্ 5
εέʔϥϏϦςΟʹΑΔোੑͷ্ 6
εέʔϥϏϦςΟʹΑΔোੑͷ্ 7
εέʔϥϏϦςΟʹΑΔোੑͷ্ 8
εέʔϥϏϦςΟʹΑΔোੑͷ্ 9 ʊਓਓਓਓਓਓਓਓਓʊ ʼɹαʔϏεμϯɹʻ ʉY^Y^Y^Y^Y^Y^Y^Y^Y^ʉ
εέʔϥϏϦςΟʹΑΔোੑͷ্ 10 Կ͕ͩͬͨͷ͔
εέʔϥϏϦςΟʹΑΔোੑͷ্ 11 Ϧιʔε͕ރׇ͢Δ > ϦιʔεΛ֬อ͢Δ
εέʔϥϏϦςΟʹΑΔোੑͷ্ 12 ਖ਼ৗ࣌ʹ100rpsɺ100ms (AVG)Λظ͢Δέʔε • 10 process / sec ͷϦιʔε͕ඞཁ
• ҟৗέʔεͰ1000ms (AVG)ʹͳΔͱ100 process / secͷϦιʔε͕ඞཁ • 10 processͷ··ͩͱ1ඵܦա͢Δຖʹ90 request͕ཷ·͍ͬͯ͘ڪා
εέʔϥϏϦςΟʹΑΔোੑͷ্ 13 εέʔϧΛͲΕ͚ͩૣ͘Ͱ͖Δ͔ ࣄલʹόοϑΝΛͲΕ͚ͩऔΔ͔ͷ
εέʔϥϏϦςΟʹΑΔোੑͷ্ 14 • ݪଇͱͯ͠N secҎʹϨεϙϯεΛඞͣฦ͞ͳ͚Ε͍͚ͳ͍ • Ϣʔβʔσʔλͷྔʹґଘ͠ͳ͍ • όοΫΤϯυʢDBMSͳͲʣͷঢ়ଶʹґଘ͠ͳ͍ •
దͳλΠϜΞτઃఆ • αʔΩοτϒϨʔΧʔͷಋೖ • ͜ͷN secͱ࣮ଌͷฏۉͷM secΛͱʹඞཁͳεέʔϧͱόοϑΝ Λࢉग़͢Δ
εέʔϥϏϦςΟʹΑΔোੑͷ্ 15 ʊਓਓਓਓਓਓʊ ʼɹ໘ष͍ɹʻ ʉY^Y^Y^Y^Y^Y^ʉ
εέʔϥϏϦςΟʹΑΔোੑͷ্ 16 ͦ͏ͩLambdaΛ͓͏
εέʔϥϏϦςΟʹΑΔোੑͷ্ 17 • Lambda1 Request - 1 Function • ಉ࣌ʹॲཧ͢ΔRequest͕૿͑ΔFunction͕εέʔϧ
• ίʔϧυελʔτ࣍ୈ͕ͩඵͰεέʔϧՄೳ • ༨ͳόοϑΝΛ࣋ͭඞཁ͕ͳ͍ͨΊίετతʹ༏͍͠
εέʔϥϏϦςΟʹΑΔোੑͷ্ 18
εέʔϥϏϦςΟʹΑΔোੑͷ্ 19 ʊਓਓਓਓਓਓਓਓਓʊ ʼɹΫϥυഁ࢈ɹʻ ʉY^Y^Y^Y^Y^Y^Y^Y^Y^ʉ
εέʔϥϏϦςΟʹΑΔোੑͷ্ 20 Lambda͔ͩΒͱա৴͍͚ͯ͠ͳ͍
εέʔϥϏϦςΟʹΑΔোੑͷ্ 21 ChatworkͰOGPදࣔػೳͳͲͰLambdaΛར༻͍ͯ͠Δ OGPऔಘͷϨΠςϯγ͕ෆ໌Ͱ͋Γɺࣄલܭଌ͕͍͠ྖҬʹͳΔ
None