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
JAWS-UG朝会 #77
Search
i-owo-owo-i
January 19, 2026
230
2
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
JAWS-UG朝会 #77
JAWS-UG朝会 #77 の登壇資料です。
i-owo-owo-i
January 19, 2026
More Decks by i-owo-owo-i
See All by i-owo-owo-i
EventBridge_SchedulerとChange_Calendar_結局どっち使えばいいの_.pdf
1ow0wo1
0
35
Featured
See All Featured
Rails Girls Zürich Keynote
gr2m
96
14k
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
31
10k
Joys of Absence: A Defence of Solitary Play
codingconduct
1
530
Lightning talk: Run Django tests with GitHub Actions
sabderemane
0
270
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
How to Build an AI Search Optimization Roadmap - Criteria and Steps to Take #SEOIRL
aleyda
1
2.2k
Stewardship and Sustainability of Urban and Community Forests
pwiseman
0
540
Practical Orchestrator
shlominoach
192
12k
How to train your dragon (web standard)
notwaldorf
97
6.8k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
31k
The Straight Up "How To Draw Better" Workshop
denniskardys
239
140k
Color Theory Basics | Prateek | Gurzu
gurzu
1
480
Transcript
5分で分かる Lambda無限ループの恐怖 2026/01/20 尾﨑 碧美
• 自己紹介 • Lambda の無限ループとは • 無限ループの何が恐ろしいのか • どうすれば防ぐことができるのか •
余談 ▪ アジェンダ
▪ 自己紹介 氏名 尾﨑 碧美 所属 株式会社スカイアーチネットワークス 保有資格 AWS認定(Professional):Solution Architect、DevOps
Engineer AWS認定(Speciality):Security、Machine Learning、Advanced Networking 2025 Japan All AWS Certifications Engineers 🎉 得意分野 Lambdaを活用したアプリケーション開発 CloudFormationを使用したインフラ環境構築
▪ What is Lambda 無限ループ Lambdaが無限に呼び出され、起動してしまう状態のこと その名の通り
実例1: S3パターン ▪ What is Lambda 無限ループ この画像に対しても Lambda
が反応してしまい、永遠 に画像の加工が行われる
実例2: SQSパターン ▪ What is Lambda 無限ループ メッセージのやり取りが永遠に行われる
実例3: Slack Bot パターン ▪ What is Lambda 無限ループ
分析と送信が永遠に繰り返される
コストの爆増 ▪ 何が恐ろしいのか? 特に DynamoDB や S3 などと連携しているアプリの場合は Lambda
の実行回数 + 実行料金 + PUT や GET等操作 DB料金 etc… 課金要素が大量にあり、危機倍増 数時間で数十万単位の課金がされるケースも …
▪ 終了条件の明示 ▪ どう防ぐか コード内で処理を完結させるようにする ▪ イベントの出力先に気を配る ▪ 保険をかける
ループを防ぐ&それに気が付ける仕組みを用意しておく 自分のイベントを自分でもう一度踏んでしまわないようにする
▪ こういう機能もあります 再帰ループ検出 同じリクエストで関数が 16 回ほど呼び出されたとき、自動的に停止してくれ る。(デフォルトで有効化されています。) ただし… Amazon
SQS、Amazon S3、Amazon SNS のみ対応
おわり ご清聴ありがとうございました。