[tahoe-dev] Doubts about time taken to upload a file

Ted Rolle Jr. stercor at gmail.com
Tue Jan 4 03:18:51 UTC 2011


There appear to be two issues here:
1.  Mutability/immutability
2.  Changed (newer) files.
These are separate issues.

Tahoe should check modification times of the grid file and the file to be
uploaded and upload the newer file, replacing the older file.

Tahoe could compute a checksum/hash for a file and when the checksum differs
from the one on the grid, upload the file as the latest version?

There is, however, an assumption here that the file with the differing
checksum/hash is in fact, newer.

The checksum/hash is to detect game-playing with the file times.

The checksum/hash can be optional:  let the user take responsibility for
these types of actions.

On Mon, Jan 3, 2011 at 6:07 PM, David-Sarah Hopwood <
david-sarah at jacaranda.org> wrote:

> On 2011-01-03 14:04, Shawn Willden wrote:
> > On Mon, Jan 3, 2011 at 4:47 AM, sreenivasulu velpula <v.sreenu at gmail.com
> >wrote:
> >>
> >> Can any one tell why is there a big difference compared to the initial
> >> upload time and  remaining upload times?
> >
> > You didn't say whether you uploaded the file as mutable.  If not, then
> the
> > reason is very simple:  Tahoe didn't actually have to upload the file the
> > other 11 times.  It noticed the file was already stored in the grid and
> so
> > didn't upload it again.
> >
> > If you used the "tahoe backup" command to upload it, then it was uploaded
> as
> > an immutable file.
>
> Yes, the same is true of other tahoe commands that upload files, except for
> 'tahoe put' with the --mutable option. Similarly, the SFTP frontend always
> writes immutable files, and the WUI uploads files as immutable unless the
> "Mutable?" checkbox is ticked. By default, only directories are stored in
> mutable files.
>
> --
> David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com
>
>
> _______________________________________________
> tahoe-dev mailing list
> tahoe-dev at tahoe-lafs.org
> http://tahoe-lafs.org/cgi-bin/mailman/listinfo/tahoe-dev
>
>


-- 
+-------------------------------------------------------------------------------------------------+
| 3.14159 26535 89793 23846 26433 83279 50288   May the Spirit     |
|   41971 69399 37510 58209 74944 59230 78164      of pi spread      |
|   06286 20899 86280 34825 32411 70679 82148  around the world.  |
|   08651 32823 06647 09384 46095 50582 ...        PI VOBISCUM!    |
+-------------------------------------------------------------------------------------------------+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tahoe-lafs.org/pipermail/tahoe-dev/attachments/20110103/e08cde59/attachment.html>


More information about the tahoe-dev mailing list