Limit Request Rate by Custom Keys in OpenResty Edge - OpenResty Official Blog
Today I’d demonstrate another feature in OpenResty Edge: to limit the request rate by some keys.
Sometimes the clients send requests too fast, like under a denial of service attack. In such cases, we should limit the request rate to protect both the gateway servers and origin servers. Otherwise, the servers may get overloaded.
Let’s go to a web console of OpenResty Edge. This is our sample deployment of the console. Every user would have their own deployment.