LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: lvs, squid and efficiency

To: lvs-users@xxxxxxxxxxxxxxxxxxxxxx
Subject: Re: lvs, squid and efficiency
From: David Ruwoldt <David.Ruwoldt@xxxxxxxxxxxxxxx>
Date: Tue, 20 Mar 2001 11:11:00 +1030
Dear Florin,

If it does'nt fail then the server simply gets the data from the other
server and places it in its own cache. Example

User Request for Web Addres -> Server 1

Server 1 peered with Server 2

Server 1 does not have information and asks Server 2. Server 2 has
information and so passes it back to Server 1. Server 1 then has
information cached and also passes it on to user.

Server 1 does not have information and asks Server 2. Server 2 reply's
that it does not have information. Server 1 goes out and gets
information from web caches it and passes it back to user.

Server 1 has information cached and so just passes it back to user.

User Request for Web Addres -> Server 2

Server 2 peered with Server 1

Server 2 does not have information and asks Server 1. Server 1 has
information and so passes it back to Server 2. Server 2 then has
information cached and also passes it on to user.

Server 2 does not have information and asks Server 1. Server 1 reply's
that it does not have information. Server 2 goes out and gets
information from web caches it and passes it back to user.

Server 2 has information cached and so just passes it back to user.

So you would want each server to peer with the other. If you lose a
server then the server that is still up will just go direct to the web
as it could not contact the other server. Hope this makes sense.

Yours sincerely

David Ruwoldt

Florin Andrei wrote:
> 
> On 20 Mar 2001 09:10:20 +1030, David Ruwoldt wrote:
> > Dear Florin,
> >
> > I would suggest that you peer the two servers. If a cache miss occurs on
> > one server then with peering it will first contact the other server to
> > see if it has the item in it's cache. If that fails the first server
> 
> But what if that *doesn't* fail?
> I'm not sure what peering does.
> 
> --
> Florin Andrei
> 
> _______________________________________________
> LinuxVirtualServer.org mailing list - lvs-users@xxxxxxxxxxxxxxxxxxxxxx
> Send requests to lvs-users-request@xxxxxxxxxxxxxxxxxxxxxx
> or go to http://www.in-addr.de/mailman/listinfo/lvs-users

-- 
David Ruwoldt
Senior Systems Specialist
Information Technology Services
Level 7, 10 Pulteney St
ADELAIDE UNIVERSITY SA 5005
AUSTRALIA

----------------------------------------------------------- 
This email message is intended only for the addressee(s) 
and contains information which may be confidential and/or
copyright.  If you are not the intended recipient please
do not read, save, forward, disclose, or copy the contents
of this email. If this email has been sent to you in error,
please notify the sender by reply email and delete this 
email and any copies or links to this email completely and
immediately from your system.  No representation is made
that this email is free of viruses.  Virus scanning is 
recommended and is the responsibility of the recipient.

Attachment: David.Ruwoldt.vcf
Description: Card for David Ruwoldt

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