upstream server and ip hash

kvhdude kvhdude at gmail.com
Mon Aug 6 12:43:49 UTC 2012


Ruslan,
   Thanks for your response.
  -kvh

On Mon, Aug 6, 2012 at 2:08 PM, Ruslan Ermilov [via nginx] <
ml-node+s2469901n7581131h55 at 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 here<http://nginx.2469901.n2.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=7580949&code=a3ZoZHVkZUBnbWFpbC5jb218NzU4MDk0OXwxMDk1NTAyOTQw>
> .
> NAML<http://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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120806/fffe6ccf/attachment.html>


More information about the nginx mailing list