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/e404/htaccess-for-nginx is a good alternative to nginx-lua-redis-rate-measuring