You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/strategies/rate-limiter.md
+43Lines changed: 43 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -345,3 +345,46 @@ new ResiliencePipelineBuilder()
345
345
});
346
346
```
347
347
<!-- endSnippet -->
348
+
349
+
It is also possible to create a rate limiter strategy using [multiple chained rate limiters](https://learn.microsoft.com/aspnet/core/performance/rate-limit#create-chained-limiters)
350
+
to combine multiple rate-limiters with different configurations as shown below.
351
+
352
+
For example, we can configure a rate limit of 100 requests per minute that also includes a rate limit of 10 requests per second.
353
+
The rate limit is partitioned by a key which could, for example, be the user ID associated with an authenticated HTTP request to
354
+
apply the rate limits to each user of the system individually.
0 commit comments