Fixed window rate limiting #338
Labels
Community 👨👧
Something initiated by a community
Discussion 💬
Brainstorm about the idea
Enhancement 🆕
New feature or request
Milestone
Query cost/complexity validation/analysis is not enough. See the following thread for more info: ravangen/graphql-rate-limit#48.
TL;DR: Cost analysis won't care if you receive one request per second or a thousand. A malicious actor could craft an operation that remains under a cost limit, but send a large number of requests.
@19majkel94 Could you please add an example how to use the fixed window rate limiting in addition to query cost/complexity validation/analysis in
type-graphql
?PTAL at https://github.com/ravangen/graphql-rate-limit and https://github.com/teamplanes/graphql-rate-limit.
The text was updated successfully, but these errors were encountered: