---
schema_version: "1"
id: a756a9eb8e1dc42a3790ac0d953bbb68a24e2e20f4b1925eeac8010717fc870a
title: レート制限ポリシー
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/mule-gateway/policies-mule3-apply-rate-limiting.md
canonical_url: https://docs.mulesoft.com/jp/mule-gateway/policies-mule3-apply-rate-limiting
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 39c94903b9d2ecaf4132c66d73df5014697ace0e0b7ada7180a7537038b05d47
description: MuleSoft Documentation Site
latest: true
---
# レート制限ポリシー

\[Apply (適用)\] をクリックしてポリシーを適用すると、ポリシー設定ダイアログが表示されます。要求の数、要求を受信する期間、時間単位を設定します。たとえば、\[policy configuration (ポリシー設定)\] ダイアログの \[Limits (制限)\] セクションでは、次の制限を設定できます。

<table class="tableblock frame-all grid-all" style="width: 50%;">
<colgroup>
<col style="width: 33.3333%;">
<col style="width: 33.3333%;">
<col style="width: 33.3334%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top"># of Reqs (要求数)</th>
<th class="tableblock halign-left valign-top">Time Period (期間)</th>
<th class="tableblock halign-left valign-top">Time Unit (時間単位)</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>123</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">2000</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Millisecond (ミリ秒)</p></td>
</tr>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock"><code>100</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">1000</p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">Millisecond (ミリ秒)</p></td>
</tr>
</tbody>
</table>

レート制限ポリシーの場合、API が 2000 ミリ秒以内に 123 件の要求を受信すると API はそれ以降の要求を拒否し、API が 1000 ミリ秒以内に 100 件の要求を受信すると API はそれ以降の要求を拒否します。調整ポリシーの場合、要求は拒否されずキューに登録されます。

## [](#関連情報)関連情報

- [レート制限 SLA ポリシー](https://docs.mulesoft.com/gateway/latest/policies-included-rate-limiting-sla)