LVS
lvs-users
Google
 
Web LinuxVirtualServer.org

Re: Large HTTP Uploads timeout

To: <lvs-users@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Re: Large HTTP Uploads timeout
From: "Jacob Coby" <jcoby@xxxxxxxxxxxxxxx>
Date: Wed, 12 Feb 2003 12:35:30 -0500
> LVS requires that all realservers be identical.
> This usually means that the realservers are ro.

eh?  The two realservers are identical, just one has more ram and takes the
brunt of the load.  The hardware is identical though.  I'm not actually
changing or uploading anything permanent here (see below).

> I don't know the service you're running, but if

HTTP, like it says in the subject ;).

> a client is going to change anything on a realserver,
> you have to make sure that it's done in one connection
> (you probably will have to set persistence) and you
> have to be aware of problems that will arise if the
> updates are not visible to all realservers.

Persistence is 360 sec (6 min), the upload should take no more than 3 sec
(this is on a 100mbit Base 100-T ethernet).  The file that is being uploaded
will be swizzled on the server and put in the database for both real servers
to serve up.

Its not just image uploads that cause the server to hang, large HTTP GETs
are also problematic.  I haven't quite figured out the magic number yet
though, but its under the HTTP GET limit (couple KB IIRC).

-Jacob



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