Request Deduplication
リクエスト重複排除
リクエスト重複排除により、実行中の同一リクエストを複数の呼び出し元で共有できます。各呼び出し元は同じ結果を受け取ります。
もう一つの例
ヘッダー、アカウント、コメントの各エリアは、同時に同じユーザーにアクセスします。ブラウザは1回のネットワークリクエストを送信し、3回ではありません。
主な部分
- 01安定キー
- 02一致する発信者
- 03フライト中のリクエスト
- 04共有結果
- 05重複排除ウィンドウ
以下の場合に使用します
同時にほぼ同じタイミングで複数の場所が同じリソースを必要とする場合には、1つの安定したキーを使用します。
以下の場合は使用しないでください
ユーザー、権限、パラメータが異なる場合、同じリクエストを共有しないでください。書き込みは、安全に繰り返せる場合を除き、個別に扱ってください。
コードで使用する名前
stable key -> one in-flight promise -> shared result 出荷前に
Check the runtime and version, integration limits, dependencies and licenses, and platform support. Verify security, failure, speed, monitoring, deploy, support owner, upgrade path, and rollback.
Outcome:Complete the task with リクエスト重複排除 (Request Deduplication)。 User context:ヘッダー、アカウント、コメントの各エリアは、同時に同じユーザーにアクセスします。ブラウザは1回のネットワークリクエストを送信し、3回ではありません。 Technology or engineering concept:リクエスト重複排除 (Request Deduplication)。 Why it fits:同時にほぼ同じタイミングで複数の場所が同じリソースを必要とする場合には、1つの安定したキーを使用します。 Do not use it when:ユーザー、権限、パラメータが異なる場合、同じリクエストを共有しないでください。書き込みは、安全に繰り返せる場合を除き、個別に扱ってください。 Engineering fit: Define where it runs and which version to use. Set its job, interfaces, data flow, dependencies, supported systems, security, and speed limits. Explain how it fits the current stack. Lifecycle safeguards: Check dependency health and licenses. Add monitoring and a fallback. Name the upgrade owner. Do not add a second tool for the same job without a measured benefit. Acceptance criteria: A small integration proves the needed behavior. Test compatibility, security, failure, and performance. Document deploy, upgrade, support, and rollback steps. Evidence and limits (evidence boundary):その情報源にとって公式です。他のプラットフォームやチームはその用語を別の方法で使用する場合があります。 Unknowns to confirm: Current stack, runtime and version rules, target systems, dependency owner, performance budget, support period, and migration limits.
このリクエストを確認する
Review how リクエスト重複排除 (Request Deduplication) is used now. Definition: リクエスト重複排除により、実行中の同一リクエストを複数の呼び出し元で共有できます。各呼び出し元は同じ結果を受け取ります。 Release checks: Check the runtime and version, integration limits, dependencies and licenses, and platform support. Verify security, failure, speed, monitoring, deploy, support owner, upgrade path, and rollback. Before changing code, list the evidence, gaps, severity, and the smallest safe fix.