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
470
サーバーレスを採用すべき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
300
Helm Chartリポジトリを2年半運用してわかったいろいろな話 - CloudNative Days Spring 2021 ONLINE #CNDO2021
cwozaki
0
540
PHP on Kubernetes - PHP Conference 2020 Re:born #phpcon
cwozaki
1
8.2k
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
Arm移行タイムアタック
qnighy
0
340
Realtime API 入門
riofujimon
0
150
OSSで起業してもうすぐ10年 / Open Source Conference 2024 Shimane
furukawayasuto
0
110
Functional Event Sourcing using Sekiban
tomohisa
0
100
ふかぼれ!CSSセレクターモジュール / Fukabore! CSS Selectors Module
petamoriken
0
150
3 Effective Rules for Using Signals in Angular
manfredsteyer
PRO
0
100
Click-free releases & the making of a CLI app
oheyadam
2
120
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
1k
2024/11/8 関西Kaggler会 2024 #3 / Kaggle Kernel で Gemma 2 × vLLM を動かす。
kohecchi
5
940
Figma Dev Modeで変わる!Flutterの開発体験
watanave
0
150
Pinia Colada が実現するスマートな非同期処理
naokihaba
4
230
watsonx.ai Dojo #4 生成AIを使ったアプリ開発、応用編
oniak3ibm
PRO
1
170
Featured
See All Featured
Designing Dashboards & Data Visualisations in Web Apps
destraynor
229
52k
実際に使うSQLの書き方 徹底解説 / pgcon21j-tutorial
soudai
169
50k
Gamification - CAS2011
davidbonilla
80
5k
GraphQLの誤解/rethinking-graphql
sonatard
67
10k
Keith and Marios Guide to Fast Websites
keithpitt
409
22k
The Power of CSS Pseudo Elements
geoffreycrofte
73
5.3k
For a Future-Friendly Web
brad_frost
175
9.4k
Docker and Python
trallard
40
3.1k
The Pragmatic Product Professional
lauravandoore
31
6.3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
38
1.8k
Bootstrapping a Software Product
garrettdimon
PRO
305
110k
How STYLIGHT went responsive
nonsquared
95
5.2k
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