Welcome! Log In Create A New Profile

Advanced

Re: Sticky equivalent

Ruslan Ermilov
June 18, 2014 05:10PM
On Wed, Jun 18, 2014 at 08:46:04PM +0200, Stefanita Rares Dumitrescu wrote:
> Oh god 1350$

Consistent hash is free of charge, it's in open source version.

> On 18/06/2014 16:49, Ruslan Ermilov wrote:
> > On Wed, Jun 18, 2014 at 11:22:24AM -0300, Fabiano Furtado Pessoa Coelho wrote:
> >> Dear Ruslan,
> >>
> >> Can you post an example of using this hash feature?
> >>
> >> Thanks in advance.
> > upstream u {
> > hash $binary_remote_addr consistent;
> > server 10.0.0.1;
> > server 10.0.0.2;
> > server 10.0.0.3;
> > }
> >
> > You can use any expression as the "key", e.g.
> >
> > hash $cookie_uid consistent;
> >
> > It all depends on your needs actually.
> >
> >> On Wed, Jun 18, 2014 at 7:59 AM, Ruslan Ermilov <ru@nginx.com> wrote:
> >>> On Wed, Jun 18, 2014 at 12:24:32PM +0200, Stefanita Rares Dumitrescu wrote:
> >>>> Hi guys,
> >>>>
> >>>> I am running nginx 1.4 right now on a bunch of front end servers, i am
> >>>> running freebsd, and have nginx with sticky patch compiled from ports.
> >>>>
> >>>> I can't upgrade to 1.6 or later, because the sticky port seems to be
> >>>> broken. Was there any similar feature introduced in nginx, or how can we
> >>>> work that one out?
> >>> The latest version of nginx 1.7.2 includes the consistent hash feature [1].
> >>> The commercial version of nginx includes the sticky functionality [2].
> >>>
> >>> [1] http://nginx.org/r/hash
> >>> [2] http://nginx.org/r/sticky
> > _______________________________________________
> > nginx mailing list
> > nginx@nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
>
> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>

--
Ruslan Ermilov

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Sticky equivalent

Stefanita Rares Dumitrescu June 18, 2014 06:26AM

Re: Sticky equivalent

Ruslan Ermilov June 18, 2014 07:00AM

Re: Sticky equivalent

Fabiano Furtado Pessoa Coelho June 18, 2014 10:24AM

Re: Sticky equivalent

Ruslan Ermilov June 18, 2014 10:50AM

Re: Sticky equivalent

Stefanita Rares Dumitrescu June 18, 2014 02:48PM

Re: Sticky equivalent

Ruslan Ermilov June 18, 2014 05:10PM

Re: Sticky equivalent

Aleksandar Lazic June 19, 2014 03:48AM

Re: Sticky equivalent

B.R. June 20, 2014 01:12AM

Re: Sticky equivalent

Aleksandar Lazic June 20, 2014 08:08AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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