[tahoe-lafs-trac-stream] [tahoe-lafs] #1543: rearrange share format to make downloads faster

tahoe-lafs trac at tahoe-lafs.org
Mon Sep 26 07:26:55 PDT 2011


#1543: rearrange share format to make downloads faster
-------------------------------+-------------------------
     Reporter:  warner         |      Owner:
         Type:  enhancement    |     Status:  new
     Priority:  major          |  Milestone:  undecided
    Component:  code-encoding  |    Version:  1.9.0a1
   Resolution:                 |   Keywords:  performance
Launchpad Bug:                 |
-------------------------------+-------------------------

Comment (by zooko):

 Replying to [comment:3 zooko]:
 > We could write out the 32 leafs, followed by the 12 uncles, followed by
 space sufficient for 52 more uncles (in case the file grows). Each of
 these 64-hashvalue-wide records would take a total of 2048 bytes, and a
 typical reader would need to slurp only (part of) one or two of these
 records in order to validate up to 32 or 64 blocks of data, which would be
 around 1.3 or 2.6 MiB.

 Anybody who followed this idea closely may have noticed a minor error here
 -- the records would be 96 hashvalues wide, not 64, so to download an
 entire record would take 3072 bytes, not 2048 bytes.

-- 
Ticket URL: <http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1543#comment:4>
tahoe-lafs <http://tahoe-lafs.org>
secure decentralized storage


More information about the tahoe-lafs-trac-stream mailing list