Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Lambdaのパフォーマンス改善
Search
Sponsored
·
Ship Features Fearlessly
Turn features on and off without deploys. Used by thousands of Ruby developers.
→
mick
February 22, 2024
Technology
550
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Lambdaのパフォーマンス改善
「ゆるSRE勉強会 #4」の資料となります。
https://yuru-sre.connpass.com/event/306649/
mick
February 22, 2024
Other Decks in Technology
See All in Technology
パスキーの自動テストはどこまでいけるのか
teamlab
PRO
0
100
組み立てて楽しむ AWS Blocks 入門
kmiya84377
0
230
AIにシークレットを見せない、WSL2で安全な開発環境
yazm
0
160
「事実」を「計測」して、「解釈」する 〜AWS Lambdaのメモリ最適解の見つけ方〜
maimyyym
0
140
Persisting Massive Data with Rails ~Designing for 60 billion rows, and fighting the bottlenecks~ Railsで挑む大量データ永続化 〜600億件を永続化するための設計とボトルネックとの戦い〜
occhi
0
500
DWH の限界突破! AI エージェント向け爆速リアルタイムデータ基盤 ClickHouse
jozono
1
400
USB PDを使ってスマホを労わりたい
raspython3
0
160
Getting Started with Google Antigravity
glaforge
0
250
味覇で作るパスタが美味い - 20261001_yabaubuki.dev
livesense
PRO
0
130
SREでアラート疲れを 解決しよう!
kairim0
1
230
ハードウェアコンペでもAI駆動開発が進んでいる話
iotengineer22
1
710
JAWSUG TOHOKU 青森支部 「LoGoチャット」のAWS移行で 乗り越えたこと
taketakekaho
0
120
Featured
See All Featured
Making Projects Easy
brettharned
120
6.8k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.4k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
4
4.4k
Embracing the Ebb and Flow
colly
88
5.2k
Effective software design: The role of men in debugging patriarchy in IT @ Voxxed Days AMS
baasie
1
570
Optimizing for Happiness
mojombo
378
71k
Bootstrapping a Software Product
garrettdimon
PRO
306
120k
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
2
410
First, design no harm
axbom
PRO
2
1.3k
A Tale of Four Properties
chriscoyier
163
24k
Producing Creativity
orderedlist
PRO
348
41k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
56
3.5k
Transcript
1 Lambdaのパフォーマンス改善 プラットフォーム戦略部 堤 亮介 株式会社メタップスホールディングス 2024年2⽉22⽇ ゆるSRE勉強会 #4 ©
Metaps Holdings, Inc.
2 © Metaps Holdings, Inc. ⾃⼰紹介 名前:堤 亮介(mick) 会社:株式会社メタップスホールディングス 仕事:社内の複数サービスで横断的にSREをやっています。
twitter:https://twitter.com/sre_tsutsumi
3 © Metaps Holdings, Inc. イベントログ⼀元監視サービス • イベントログ一元監視サービス「srest」をリリースしました。 • AWSやDatadogなどのイベントログをダッシュボードで管理できます。
• Lambdaを主要なサービスとして採用しています。 • srestのLPです。
4 © Metaps Holdings, Inc. Lambdaとは︖srestの中でLambdaの役割 • Lambdaとは? • AWSのサーバーレスでイベント駆動型のコンピューティングサービス
• srestの構成
5 © Metaps Holdings, Inc. 開発中の課題 ダッシュボードのレスポンスが遅い
6 © Metaps Holdings, Inc. 計測 • DatadogでLambdaのパフォーマンス計測 • APMで実行ごとの処理時間の内訳が確認可能
7 © Metaps Holdings, Inc. cold startが起きている
8 © Metaps Holdings, Inc. 対策︓Lambdaを定期実⾏する /health_check
9 © Metaps Holdings, Inc. 対策2︓Provisioned Concurrencyの有効化
10 © Metaps Holdings, Inc. まとめ • 計測と改善を繰り返すことで、Lambdaのパフォーマンス改善ができました。 • Lambdaの裏側の構成についても学ぶことが出来ました。