Skip to content

Commit

Permalink
Merge pull request #3508 from vespa-engine/frodelu/clarify-idDimension
Browse files Browse the repository at this point in the history
Use same rate.idDimension for the three different clients
  • Loading branch information
bratseth authored Dec 2, 2024
2 parents 8e005da + 79a49a5 commit 42eb15f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions en/performance/rate-limiting-searcher.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,20 +118,20 @@ <h3 id="per-client-quotas">Per Client Quotas</h3>
<!-- default rate limiting; add specific query profile for clientId with other settings -->
<field name="rate.quota">100</field>
<field name="rate.id">default</field>
<field name="rate.idDimension">default</field>
<field name="rate.idDimension">clientID</field>

<!-- rate limiting for requests with &amp;clientId=clientA -->
<query-profile for="clientA">
<field name="rate.quota">200</field>
<field name="rate.id">clientA</field>
<field name="rate.idDimension">clientA</field>
<field name="rate.idDimension">clientID</field>
</query-profile>

<!-- rate limiting for requests with &amp;clientId=clientB -->
<query-profile for="clientB">
<field name="rate.quota">400</field>
<field name="rate.id">clientB</field>
<field name="rate.idDimension">clientB</field>
<field name="rate.idDimension">clientID</field>
</query-profile>
</query-profile>
{% endhighlight %}</pre>
Expand Down

0 comments on commit 42eb15f

Please sign in to comment.