LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Multi director and persistency

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: Multi director and persistency
From: Leonard Soetedjo <Leonard@xxxxxxxxxx>
Date: Tue, 5 Nov 2002 10:12:24 +0800
On Monday 04 November 2002 22:31, Roberto Nibali wrote:
> >>From lvs-users mailing list, I found out that when a realserver's weight
> >> is
> >
> > set to 0, then any new connection would not be forwarded to that
> > realserver,
>
> Yes.
>
> > even though the client has established a session with that realserver.
>
> I don't understand. If you have an established session, how can it be new?

Sorry.  What I meant by session is "https session".  But my question was 
answered in 
http://marc.theaimsgroup.com/?l=linux-virtual-server&m=103169281103492&w=2, 
which states:

----------------------------------------------------------------------------------------------------------------
there is an issue with the current persistence handling when RS weight is set 
to 0: new connections can be scheduled to "stopped" RS if "affinity" for this 
client exists.  It is good for setups that prefer to serve even new 
connections from client that finishes its session (multiple connections) to 
the stopped RS.
----------------------------------------------------------------------------------------------------------------

> > I have decided to implement more than 2 directors (possibly 3 or 4).  The
> > packets are RR-ed using iproute2.  But this would break persistency,
> > wouldn't
>
> Yes, since iproute2 doesn't know about persistency.
>
> > it?  Can anyone advice me on my setup?  The objective of having more than
> > 2 directors (all serving the same realservers) is to have redundancy and
> > higher throughput (the projection is around 10000 clients, doing a http &
> > https every 10 mins or so).
>
> I do not think that there is a problem with one director and LVS-DR
> performance-wise. Could you give us more specific numbers on how big the
> http pages are, which are being fetched and if those 10000 clients all come
> at once or if there is an expected distribution.

I'm currently projecting around 10000 clients coming all at once (although I 
can set them to come at different times, I would rather have 3 or more 
directors, just in case).  Those http requests are php scripts that might 
(not always) do an upload or download of at most 1MB.

>
> Regards,
> Roberto Nibali, ratz

Thank you very much


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