Peripli / service-manager

Service Manager Core
Apache License 2.0
69 stars 28 forks source link

Enable rate limiter by http method #772

Closed nirbenrey closed 1 year ago

nirbenrey commented 2 years ago

Motivation

The request volume with http.method PATCH/DELTE/POST is much lower than the request volume with http.method GET. To improve SM stability and avoid denial of service attacks we need to enable rate limiting by http.method

Approach

inhance the current implementation of sm rate limter, and allow configuring the limter by "{rate}:{path}:{method}".

Pull Request status