Welcome! Log In Create A New Profile

Advanced

Re: upstream server and ip hash

kvhdude
August 06, 2012 08:44AM
Ruslan,
Thanks for your response.
-kvh

On Mon, Aug 6, 2012 at 2:08 PM, Ruslan Ermilov [via nginx] <
ml-node+s2469901n7581131h55@n2.nabble.com> wrote:

> On Sun, Aug 05, 2012 at 10:10:39PM -0700, kvhdude wrote:
> > Folks,
> > Can anyone help me out?
> > To clarify: I am just looking for confirmation as i add an upstream
> > server, will hash change for existing users (these are using XMPP
> sessions
> > so they will suffer disruption of service).
>
> Yes, it will. The hashing implemented by ip_hash is not consistent.
>
> There's limited support for preserving hash values when a server in
> an upstream goes down, in the form of the "down" parameter, please
> see http://nginx.org/r/ip_hash for details.
>
> Adding consistent hashing is planned in future versions of nginx.
>
> > kvhdude wrote
> > >
> > > Hi,
> > >
> > > I need a clarification regarding ip_hash directive :
> > > Would adding a new upstream server affect existing users that are
> bound to
> > > some other servers?
> > > I am trying to dynamically scale up the servers (using scalr) in EC2
> > > setting.
> > >
> > > I am guessing it won't, but i needed to be sure.
>
> _______________________________________________
> nginx mailing list
> [hidden email] http://user/SendEmail.jtp?type=node&node=7581131&i=0
> http://mailman.nginx.org/mailman/listinfo/nginx
>
>
> ------------------------------
> If you reply to this email, your message will be added to the discussion
> below:
>
> http://nginx.2469901.n2.nabble.com/upstream-server-and-ip-hash-tp7580949p7581131.html
> To unsubscribe from upstream server and ip hash, click herehttp://nginx.2469901.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7580949&code=a3ZoZHVkZUBnbWFpbC5jb218NzU4MDk0OXwxMDk1NTAyOTQw
> .
> NAMLhttp://nginx.2469901.n2.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml
>




--
View this message in context: http://nginx.2469901.n2.nabble.com/upstream-server-and-ip-hash-tp7580949p7581133.html
Sent from the nginx mailing list archive at Nabble.com._______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Re: upstream server and ip hash

kvhdude August 06, 2012 01:12AM

Re: upstream server and ip hash

Ruslan Ermilov August 06, 2012 04:40AM

Re: upstream server and ip hash

kvhdude August 06, 2012 08:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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