From 583b7ba71741e43f89d5c4f5d090fb51b4497270 Mon Sep 17 00:00:00 2001 From: Joel Turkel Date: Fri, 21 Jun 2019 15:12:31 -0400 Subject: [PATCH] Create RateLimits.md --- RateLimits.md | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 RateLimits.md diff --git a/RateLimits.md b/RateLimits.md new file mode 100644 index 0000000..17c0079 --- /dev/null +++ b/RateLimits.md @@ -0,0 +1,8 @@ +--- +question: "How should GraphQL API rate limiting take into account requests with highly variable cost?" +draft: true +--- + +Add cost based rate limits i.e. aggregate query complexity per unit of time. Request level +rate limits are still useful though e.g. to prevent spamming an API with lots of invalid +GraphQL queries.