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
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
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
36
Featured
See All Featured
Six Lessons from altMBA
skipperchong
29
4.5k
So, you think you're a good person
axbom
PRO
2
2.2k
The Illustrated Children's Guide to Kubernetes
chrisshort
51
53k
What the history of the web can teach us about the future of AI
inesmontani
PRO
2
750
Joys of Absence: A Defence of Solitary Play
codingconduct
1
550
The agentic SEO stack - context over prompts
schlessera
0
970
XXLCSS - How to scale CSS and keep your sanity
sugarenia
250
1.3M
Bash Introduction
62gerente
615
220k
Cheating the UX When There Is Nothing More to Optimize - PixelPioneers
stephaniewalter
287
14k
Docker and Python
trallard
47
4.2k
Designing Experiences People Love
moore
143
24k
A Guide to Academic Writing Using Generative AI - A Workshop
ks91
PRO
1
530
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 のみ対応
おわり ご清聴ありがとうございました。