>
> Hi,
>
> The only option then for sticky sessions is ip_hash, not cookies.
>
No, it's also possible to direct traffic to particular backend servers using
cookies too.
In fact there are more ways of directing traffic to backends/clusters with
Nginx than there are with HAProxy - in the sense of the number of ways of
choosing a cluster (which could just be one server) - but AFAIK there are
currently fewer ways of hashing / distributing over the servers in a
particular cluster of backends with Nginx than HAProxy (even if you include
the non-core modules).
If you did want high redundancy as well as sticky sessions, though, then
you'd probably want to store your key application data in something like
memcached and get your backend application to quiz that.
Marcus.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx