question on redundant nginx reverse proxy setup

Simon Cornelius P Umacob simoncpu at gmail.com
Wed Oct 20 16:06:02 MSD 2010


On Wed, Oct 20, 2010 at 7:47 PM, Maxim Dounin <mdounin at mdounin.ru> wrote:
> Hello!
>
> Do you mean "with ip_hash directive"?  Ip hash is calculated
> from client's ip address only (first 3 octets of it), so in most
> cases answer is "yes".
>

Thanks for the info! I guess nginx with ip_hash is the right choice
for our setup.

> You should be prepared to handle any user request on any backend
> server though (possibly less effectively), due to the fact that
> there are users which change their ips frequently (e.g. mobile
> users or users behind large proxy pools).
>
> For this particular setup there are also multihomed hosts to
> consider which may select different ip addreses while connecting
> to different frontends.  But it's unlikely to be big problem
> compared to already mentioned cases unless your clients are very
> specific.

I think this problem is inherent to any user who has multiple IPs, so
this limitation is OK. :)

Thanks!

[ simon.cpu ]



More information about the nginx mailing list