LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: why connections can continue from master to slave sometimes, andsome

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: why connections can continue from master to slave sometimes, andsometimes not ?
From: Horms <horms@xxxxxxxxxxxx>
Date: Fri, 4 Feb 2005 17:04:53 +0900
On Thu, Feb 03, 2005 at 09:13:18AM -0800, Peter Mueller wrote:
> Hello,
>  
> > according to Connection Synchronization by Horms (Simon 
> > Horman), there seems a patch for this.
> > but what's the difference between ip_vs_user_sync_simple and 
> > sync-daemon within ipvsadm.
> 
> http://www.ultramonkey.org/papers/conn_sync/conn_sync.shtml
> 
> And a more in-depth example of HOWTO-doit:
> http://www.ultramonkey.org/papers/lvs_jan_2004/stuff/lvs_jan_2004.pdf

A very quick summary: ip_vs_user_sync_simple is userspace,
the ipvsadm controled daemon is in the kernel.

Slightly longer summary: I worked on the synchonisation code
for a client, and we decided to make a user space daemon
to match up with some requirements for that client. In a nutshell,
its easier to write user-space code than kernel code. It also
addressed a number of concerns I had with the in-kernel code
at the time. However, they have all been fixed now.
So unless you desparately want to do some hacking, the
in-kernel, ipvsadm-controlled daemon is my recomendation.

-- 
Horms

<Prev in Thread] Current Thread [Next in Thread>