Welcome! Log In Create A New Profile

Advanced

Rate limting in a distributed setup

Saurav Sarkar
December 03, 2022 09:22AM
Hi All,



I am newbie to NGINX and want to use NGINX as a reverse proxy for my cloud
foundry apps.



I am using NGINX cloudfoundry buildpack.

https://docs.cloudfoundry.org/buildpacks/nginx/index.html



I was exploring the rate limiting options and was able to achieve basic
rate limiting using NGINX limit_req_zone



Now I want to run NGINX in distributed mode/multiple instances.



I want to save the rate limiting counters in a shared cache like Redis.



I was exploring nginxjs for extension.



Is it possible to do so using the NGINX rate limiting module
"limit_req_zone" in nginxjs ? Or I have to write a complete implementation
of my own in java script?



I checked some openresty lua modules with rate limtiing in redis are
avaialble. But was looking for some examples in javascript.



Any other hints for this topic will be also highly appreciated.





Best Regards,

Saurav
_______________________________________________
nginx mailing list -- nginx@nginx.org
To unsubscribe send an email to nginx-leave@nginx.org
Subject Author Posted

Rate limting in a distributed setup

Saurav Sarkar December 03, 2022 09:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 192
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready