Welcome! Log In Create A New Profile

Advanced

Re: two nginx with ip_hash as a load balancer

Weibin Yao
July 02, 2009 06:34AM
kaktos at 2009-7-2 18:12 wrote:
> Hi,
> I have build a new application behind our hardware load balancer, since we need the 'sticky session' feather that our LB couldn't offer.So I put two nginx as a soft LB behind the hardware LB(that round-robin to nginx). Then I found the two nginx
> always hash the same client IP to different backend server. it's weird if I understood right about the ip_hash that using crc32 hashing the IP address and % the number of server nodes to get the target backend server. So why I got two different backend server? any help?
>
>
You can try my developing module for session sticky:
http://code.google.com/p/nginx-upstream-jvm-route/. And you need a
careful test before using this module in your product environment.

Questions/patches can be directed to me, hope this will help you.

--
Weibin Yao
Subject Author Posted

two nginx with ip_hash as a load balancer

kaktos July 02, 2009 06:12AM

Re: two nginx with ip_hash as a load balancer

Weibin Yao July 02, 2009 06:34AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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