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
Amazon Bedrockの「Too Many Requests」の対策を考える
Search
Sponsored
·
Your Podcast. Everywhere. Effortlessly.
Share. Educate. Inspire. Entertain. You do you. We'll handle the rest.
→
xthixsl_ml
August 11, 2025
200
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Amazon Bedrockの「Too Many Requests」の対策を考える
xthixsl_ml
August 11, 2025
More Decks by xthixsl_ml
See All by xthixsl_ml
State-Aware RAGをAmazon Bedrock とAmazon S3 Vectorsで再現してみた
xthixsl_ml
1
48
制限付きRAGを試してみた
xthixsl_ml
0
29
MLモデル実装にStrategy パターンを導入してみた
xthixsl_ml
0
120
Vibe ML Model Training, Tracking and Kaizen
xthixsl_ml
0
47
Strands Agents Evals SDK 試してみた ~ Experiment Generator編 ~
xthixsl_ml
0
42
TorchServeからFastAPIにした話
xthixsl_ml
0
36
全部をAIエージェントにしない設計: AWS Step Functions × Amazon Bedrock AgentCore × Strands Agents Multiagent Graphで不確実性を考慮するワークフロー
xthixsl_ml
0
220
BentoML使ってみた
xthixsl_ml
0
65
社内AIハッカソンでAmazon Bedrock AgentCore 使ってみた
xthixsl_ml
2
240
Featured
See All Featured
Deep Space Network (abreviated)
tonyrice
0
170
Bash Introduction
62gerente
615
220k
Product Roadmaps are Hard
iamctodd
PRO
55
12k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
254
22k
Facilitating Awesome Meetings
lara
57
7k
What the history of the web can teach us about the future of AI
inesmontani
PRO
1
610
Bridging the Design Gap: How Collaborative Modelling removes blockers to flow between stakeholders and teams @FastFlow conf
baasie
0
580
Jamie Indigo - Trashchat’s Guide to Black Boxes: Technical SEO Tactics for LLMs
techseoconnect
PRO
0
160
Agile that works and the tools we love
rasmusluckow
331
21k
Site-Speed That Sticks
csswizardry
13
1.2k
Unlocking the hidden potential of vector embeddings in international SEO
frankvandijk
0
840
The State of eCommerce SEO: How to Win in Today's Products SERPs - #SEOweek
aleyda
2
11k
Transcript
©Fusic Co., Ltd. 0 Amazon Bedrockの「Too Many Requests」の 対策を考える 2025.08.11
佐藤 礼央奈 X: @xthixsl_ml JAWS-UG佐賀 佐賀の中心でAWSを叫ぶ
©Fusic Co., Ltd. 1 自己紹介 はじめに 佐藤 礼央奈 R E
O N A S AT O 株式会社Fusic エンジニア 東京の大学を卒業。在学中にエンジニアとして3社で約2年半の長期イン ターンを経験。機械学習や生成AIの研究開発に携わる中で、MLモデルの 本番運用に興味を持ちMLOpsに関心を深める。生成AIを取り入れた開発 や、AWSパートナー企業での経験から、同領域に強みを持つFusicに魅力 を感じ、2025年に新卒入社。
©Fusic Co., Ltd. 2 1. 背景 2. 原因 3. 対策
©Fusic Co., Ltd. 3 背景 1
©Fusic Co., Ltd. 4 1.背景 • RAGの精度検証を行っていました • Boto3・RAGASを使ってRAGの検索・回答精度の 検証
• 検証用のデータセット • 質問数 100個
©Fusic Co., Ltd. 5 1.背景 • RAGの精度検証を行っていました • Boto3・RAGASを使ってRAGの検索・回答精度の 検証
• 検証用のデータセット • 質問数 100個
©Fusic Co., Ltd. 6 原因 2
©Fusic Co., Ltd. 7 2.原因 • クォータの上限に達している
©Fusic Co., Ltd. 8 対策 3
©Fusic Co., Ltd. 9 3.対策① • リージョンを変える、またはマルチリージョン運用をする
©Fusic Co., Ltd. 10 3.対策② • Boto3のリトライ構文を使う https://boto3.amazonaws.com/v1/documentation/api/latest/guide/retries.htmlより
©Fusic Co., Ltd. 11 3.対策② • Boto3のリトライ構文を使う https://boto3.amazonaws.com/v1/documentation/api/latest/guide/retries.htmlより adaptive は、APIの混雑状況に応じて
リトライ間隔を動的に延ばすモード
©Fusic Co., Ltd. 12 3.対策② • Boto3のリトライ構文を使う https://boto3.amazonaws.com/v1/documentation/api/latest/guide/retries.htmlより Configに定義する
©Fusic Co., Ltd. 13 3.対策② • Boto3のリトライ構文を使う https://boto3.amazonaws.com/v1/documentation/api/latest/guide/retries.htmlより
©Fusic Co., Ltd. 14 まとめ 4
©Fusic Co., Ltd. 15 まとめ マルチリージョンによって対策 Boto3のリトライ機能を使って対策 Point.01 Point.02
©Fusic Co., Ltd. 16 Thank You We are Hiring! https://recruit.fusic.co.jp/
ご清聴いただきありがとうございました