madhuneal / lusca-cache

Automatically exported from code.google.com/p/lusca-cache
0 stars 0 forks source link

Add option to download object at -fastest- speed #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
The current store forward defer check code (ie, what limits the server-side 
reading speed) will 
read objects as fast as the slowest client.

Add in a config option (onoff for now) which will allow the object to be 
downloaded as fast as the 
-fastest- client allows.

Make sure that memory clients are turned into disk clients aggressively if this 
option occurs (say, 
after x bytes of the object has been downloaded and there is a disk file, just 
make -everyone- a 
disk client.)

This will be needed for the Cacheboy CDN stuff at the very least. It has also 
been pointed out as 
a problem with some Squid users and ex-users.

This may have unintended side effects, so make this a config option!

Original issue reported on code.google.com by adrian.c...@gmail.com on 21 Mar 2009 at 2:24

GoogleCodeExporter commented 9 years ago
Keep Issue #18 in mind - even though the transfer should happen at the fastest 
client speed, it should be 
bounded by how quickly its being written out to disk.

Original comment by adrian.c...@gmail.com on 9 Apr 2009 at 12:44