A lua library to provide distributed rate measurement using nginx + redis, you can use it to do a throttling system within many nodes.
Why do you think that https://github.com/zmartzone/lua-resty-openidc is a good alternative to nginx-lua-redis-rate-measuring