[英]Why do Flask rate limiting solutions use Redis?
I want to rate limit my Flask API.我想对我的 Flask API 进行速率限制。 I found 2 solutions.
我找到了 2 个解决方案。
What is the significance of Redis when Flask-Limiter is able to rate limit the request on the basis of remote address without Redis?当 Flask-Limiter 能够在没有 Redis 的情况下基于远程地址对请求进行速率限制时,Redis 的意义是什么?
Redis allows you to store the rate-limiting state in a persistent store. Redis 允许您将限速状态存储在持久存储中。
This means you can:这意味着您可以:
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.