add note about default app-max-concurrency

Signed-off-by: Hannah Hunter <hannahhunter@microsoft.com>
This commit is contained in:
Hannah Hunter 2024-08-08 14:31:30 -04:00
parent e42b521238
commit d05d081072
1 changed files with 2 additions and 0 deletions

View File

@ -8,6 +8,8 @@ description: "Learn how to control how many requests and events can invoke your
Typically, in distributed computing, you may only want to allow for a given number of requests to execute concurrently. Using Dapr's `app-max-concurrency`, you can control how many requests and events can invoke your application simultaneously.
Default `app-max-concurreny` is set to `-1`, meaning no rate limits are set.
## Different approaches
While this guide focuses on `app-max-concurrency`, you can also limit request rate per second using the **`middleware.http.ratelimit`** middleware. However, it's important to understand the difference between the two approaches: