[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-virtual-server
Subject:    Re: [lvs-users] LVS and Squid client with persistent connection
From:       Peter Viskup <skupko.sk () gmail ! com>
Date:       2018-12-12 7:57:38
Message-ID: CAPa6PsF6g+y5fs0SJ=gQcQ_j8rLcOXedtAU--+yFU9amdVSxzQ () mail ! gmail ! com
[Download RAW message or body]

Hello Thomas,

On Wed, Dec 5, 2018 at 3:26 PM Thomas Bätzler <t.baetzler@bringe.com> wrote:
> > Having client of Squid server with opened persistent connection causing
> the
> > LVS balancing forwarding new connections to the other node only.
>
> Yeah, while there's an established connection over ipvs all subsequent new
> connections from the same source ip are routed to the same backend server.

The lblcr algorithm should not balance on source-ip, but on "dh with
wlc", but the algorithm is not clear to me. Would not expect the
described situation to happen.

>
> I hate to suggest this, but have you considered using haproxy to distribute
> requests to your squid servers?

Would like to stay with LVS and not going to user-level balancing if possible.

-- 
Peter

_______________________________________________
Please read the documentation before posting - it's available at:
http://www.linuxvirtualserver.org/

LinuxVirtualServer.org mailing list - lvs-users@LinuxVirtualServer.org
Send requests to lvs-users-request@LinuxVirtualServer.org
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic