LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: abour persistent connection?

To: "LinuxVirtualServer.org users mailing list." <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: abour persistent connection?
From: Horms <horms@xxxxxxxxxxxx>
Date: Wed, 23 Feb 2005 11:04:15 +0900
On Tue, Feb 15, 2005 at 01:07:28PM +0000, Monty Ree wrote:
> Hello, all.
> 
> I'm a beginner of the LVS.
> 
> I would like to loadbalance two IIS Server using LVS-DR.
> As you know, IIS using session in memory, so I will "ipvsadm -p" option.
> 
> But I guess that (1) if the connection users are very much 
>                        (2) sesstion timeout is very long(over some hours?)
> LVS requires so lots of memory, right?
> 
> So is it possible like below?
> 
> if the number of the RealServer(IIS) is two,
> and if the client IP is ended  even number --> to RealServer 1
>      if the client IP is ended odd number  --> to RealServer 2
> 
> if above, LVS requires little memory, i guess.
> right or wrong?

The memory requirements are something like 128 bytes per
client that has an entry in the persistant-tepmlate cache.
If you had an extreemly large number of clients, then this
might be a reasonable ammount of memory. But I think if
you do the maths you will see that for practical purposes
the memory requirement is quite small.

> I heard that it is possible at commercial L4 switch...
> Any comments so thanks...

Try looking at the sh scheduler, and if that doesn't suit your
needs, think about writing your own. Or starting a discussion
on what a new sheduler may look like.

-- 
Horms

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