Rate limiting

    The rate limit HTTP middleware allows restricting the maximum number of allowed HTTP requests per second. Rate limiting can protect your application from denial of service (DOS) attacks. DOS attacks can be initiated by malicious 3rd parties but also by bugs in your software (a.k.a. a “friendly fire” DOS attack).

    Once the limit is reached, the request will return HTTP Status code 429: Too Many Requests.

    To be applied, the middleware must be referenced in . See middleware pipelines.

    1. apiVersion: dapr.io/v1alpha1
    2. name: appconfig
    3. spec:
    4. handlers: