Sharing rate limiting data between multiple nginx LB’s

Quintin Par quintinpar at gmail.com
Mon Feb 13 07:41:13 UTC 2012


I have multiple nginx machines running and proxy LB through a round robin
DNS mechanism.

I do rate limiting as follows

   limit_req_zone $binary_remote_addr zone=pw:30m rate=20r/m;

        location / {

                    limit_req zone=pw burst=5 nodelay;

But this is per machine. Can this data be shared between the load balancers
so that rate limiting is global and I can scale out.

-Quintin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120213/d21a0ff5/attachment.html>


More information about the nginx mailing list