LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: [lvs-users] Fw: Is it possible to completely handoff the connection

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: [lvs-users] Fw: Is it possible to completely handoff the connection to the realserver?
From: Malte Geierhos <malte@xxxxxxxxxxxxx>
Date: Fri, 21 Jan 2011 15:28:52 +0400
Hi, 

you can try introducing more than one director by using an active/active setup 
i.e. with http://security.maruhn.com/iptables-tutorial/x8906.html

so your incoming connections are also spread across 4 directors 

malte

Am 18.01.2011 um 00:07 schrieb Roger Littin:

> I have got it set up using direct routing.
> 
> The connections where the user is viewing the content is ok as the traffic 
> through the the LVS is only small packets and the big video packets are 
> going out directly from the real servers.  When the connection is a 
> broadcasting connection, all the video packets are incoming so go through 
> the LVS to the real servers.  It is these connections that I would like to 
> hand off completely.
> 
> I can set up the media servers to do a redirect. This is how I had the 
> servers set up originally.  One server was acting as a load balancer and 
> redirecting the viewers to the other servers but the problem is that most of 
> the encoders that are used for broadcasting cannot handle the redirect.
> 
> Roger.
> 
> -----Original Message----- 
> From: Malcolm Turnbull
> Sent: Tuesday, January 18, 2011 1:15 AM
> To: LinuxVirtualServer.org users mailing list.
> Subject: Re: [lvs-users] Fw: Is it possible to completely handoff the 
> connection to the realserver?
> 
> Roger,
> 
> The best method is to use Direct Routing which reduces the load on LVS
> by about 50x for streaming media.
> Or get your app server to do a re-direct after the first connection
> (but then you loose all the advantages of a load balancer).
> 
> 
> 
> 
> On 17 January 2011 11:59, Roger Littin <roger@xxxxxxxxxxxxx> wrote:
>> 
>> Hi All,
>> 
>> This is the scenario,
>> 
>> I have a cluster of streaming media servers set up using LVS to load 
>> balance between them.
>> 
>> It works fine when all the clients are viewing videos but with any clients 
>> that are actually broadcasting to the servers, their entire session is 
>> going through the director node before getting to the real server so the 
>> incoming bandwidth on the director is quite high.
>> 
>> Is it possible to handoff the connection completely to the realserver 
>> after the initial connection?  The streaming connections are basically a 
>> single socket connection which stays open for the duration of the session 
>> so there is really no need for it all to go through the director anyway.
>> 
>> Thanks in advance,
>> 
>> Roger.
>> _______________________________________________
>> Please read the documentation before posting - it's available at:
>> http://www.linuxvirtualserver.org/
>> 
>> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
>> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
>> or go to http://lists.graemef.net/mailman/listinfo/lvs-users
> 
> 
> 
> --
> Regards,
> 
> Malcolm Turnbull.
> 
> Loadbalancer.org Ltd.
> Phone: +44 (0)870 443 8779
> http://www.loadbalancer.org/
> 
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
> 
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users 
> 
> 
> _______________________________________________
> Please read the documentation before posting - it's available at:
> http://www.linuxvirtualserver.org/
> 
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://lists.graemef.net/mailman/listinfo/lvs-users

Attachment: smime.p7s
Description: S/MIME cryptographic signature

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

LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
or go to http://lists.graemef.net/mailman/listinfo/lvs-users
<Prev in Thread] Current Thread [Next in Thread>