rits Wrote:
-------------------------------------------------------
> Thanks.
>
> I tried it. sessions are sticking to the same server but It is not
> doing round robin, My all requests are going only to first upstream
> server configured in nginx config.
Round robin and sticking to one member do NOT go together (unless a member has failed).
ea. you want to go from A to B and have to choose between a tunnel and a bridge, you can't use both.
Sticky sticks to the first available member and any subsequent call is routed via the cookie to the same member, ip_hash is what comes the closest to what sticky does.
-------------------------------------------------------
> Thanks.
>
> I tried it. sessions are sticking to the same server but It is not
> doing round robin, My all requests are going only to first upstream
> server configured in nginx config.
Round robin and sticking to one member do NOT go together (unless a member has failed).
ea. you want to go from A to B and have to choose between a tunnel and a bridge, you can't use both.
Sticky sticks to the first available member and any subsequent call is routed via the cookie to the same member, ip_hash is what comes the closest to what sticky does.