Welcome! Log In Create A New Profile

Advanced

Sharing rate limiting data between multiple nginx LB’s

Quintin Par
February 13, 2012 02:42AM
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
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Sharing rate limiting data between multiple nginx LB’s

Quintin Par February 13, 2012 02:42AM

Re: Sharing rate limiting data between multiple nginx LB’s

Quintin Par February 13, 2012 02:46AM

Re: Sharing rate limiting data between multiple nginx LB’s

Quintin Par February 13, 2012 09:10PM

Re: Sharing rate limiting data between multiple nginx LB’s

Quintin Par February 28, 2012 07:38AM

Re: Sharing rate limiting data between multiple nginx LB’s

Maxim Dounin February 28, 2012 08:00AM

Re: Sharing rate limiting data between multiple nginx LB’s

Quintin Par February 28, 2012 10:34PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 182
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