docs/frontends/FTP-and-SFTP.txt: docs/performance.txt, architecture.txt: updates taking into account new downloader (revised). refs #798

This commit is contained in:
david-sarah 2010-09-10 12:54:22 -07:00
parent 7d8e17c443
commit f32dddbced
2 changed files with 13 additions and 19 deletions

View File

@ -231,9 +231,12 @@ sense to set servers_of_happiness = N.
When downloading a file, the current version just asks all known servers for
any shares they might have. Once it has received enough responses that it
knows where to find the needed k shares, it downloads the shares from those
servers. (This means that it tends to download shares from the fastest
servers.)
knows where to find the needed k shares, it downloads at least the first
segment from those servers. This means that it tends to download shares from
the fastest servers. If some servers had more than one share, it will continue
sending "Do You Have Block" requests to other servers, so that it can download
subsequent segments from distinct servers (sorted by their DYHB round-trip
times), if possible.
*future work*

View File

@ -40,25 +40,16 @@ notes: Tahoe-LAFS generates a new RSA keypair for each mutable file that
== Downloading B bytes of an A-byte immutable file ==
network: A
network: B
memory footprint: 128KiB
notes: When asked to read an arbitrary range of an immutable file,
Tahoe-LAFS will download from the beginning of the file up until
it has enough of the file to satisfy the requested read.
Depending on where in the file the requested range is, this can
mean that the entire file is downloaded before the request is
satisfied. Tahoe-LAFS will continue to download the rest of the
file even after the request is satisfied, so in any case where the
file actually has to downloaded from the grid, reading part of an
immutable file will result in downloading all of the immutable
file. Ticket #798 is a proposal to change this behavior.
notes: When Tahoe-LAFS 1.8.0 or later is asked to read an arbitrary range
of an immutable file, only the 128-KiB segments that overlap the
requested range will be downloaded.
Tahoe-LAFS will cache files that are read in this manner for a
short while, so subsequent reads of the same file may be served
entirely from cache, depending on what part of the file they need
to read, what part of the file was read by previous reads, and
how much time has elapsed since the last read.
(Earlier versions would download from the beginning of the file up
until the end of the requested range, and then continue to download
the rest of the file even after the request was satisfied.)
== Downloading B bytes of an A-byte mutable file ==