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

Quintin Par quintinpar at gmail.com
Wed Feb 29 03:32:43 UTC 2012


Thanks Maxim.

On Tue, Feb 28, 2012 at 6:28 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:

> Hello!
>
> On Tue, Feb 28, 2012 at 06:05:51PM +0530, Quintin Par wrote:
>
> > Hi,
> >
> > Bumping up an old thread. Can someone please help me with this?
>
> There is no good solution.  Simpliest one is to just use
> per-frontend limits.
>
> Maxim Dounin
>
> >
> > -Quintin
> >
> > On Tue, Feb 14, 2012 at 7:38 AM, Quintin Par <quintinpar at gmail.com>
> wrote:
> >
> > > Can someone help please...
> > > -Quintin
> > >
> > > On Mon, Feb 13, 2012 at 1:11 PM, Quintin Par <quintinpar at gmail.com>
> wrote:
> > >
> > >> 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 at nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120229/235301cd/attachment.html>


More information about the nginx mailing list