From e16900a29d388fc332fd48a141ac994d1096aeef Mon Sep 17 00:00:00 2001 From: k1LoW Date: Sun, 27 Aug 2023 19:21:51 +0900 Subject: [PATCH] bonsai --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index 3d2be28..f759479 100644 --- a/README.md +++ b/README.md @@ -31,6 +31,13 @@ func main() { } ``` +## Rate limiting approach + +`rl` uses the Sliding Window Counter pattern same as [go-chi/httprate](https://github.com/go-chi/httprate). + +- https://blog.cloudflare.com/counting-things-a-lot-of-different-things/ +- https://www.figma.com/blog/an-alternative-approach-to-rate-limiting/ + ## Reference - [go-chi/httprate](https://github.com/go-chi/httprate)