Ticket #798: 798-docs.dpatch

File 798-docs.dpatch, 3.9 KB (added by davidsarah, at 2010-08-30T03:46:28Z)

docs/performance.txt, architecture.txt: updates taking into account new downloader. refs #798

Line 
11 patch for repository davidsarah@dev.allmydata.org:/home/darcs/tahoe/trunk:
2
3Mon Aug 30 04:26:05 GMT Daylight Time 2010  david-sarah@jacaranda.org
4  * docs/performance.txt, architecture.txt: updates taking into account new downloader. refs #798
5
6New patches:
7
8[docs/performance.txt, architecture.txt: updates taking into account new downloader. refs #798
9david-sarah@jacaranda.org**20100830032605
10 Ignore-this: 8c6bd16174d4544157df6f602908426f
11] {
12hunk ./docs/architecture.txt 235
13 When downloading a file, the current version just asks all known servers for
14 any shares they might have. Once it has received enough responses that it
15 knows where to find the needed k shares, it downloads the shares from those
16-servers. (This means that it tends to download shares from the fastest
17-servers.)
18+servers. This means that it tends to download shares from the fastest
19+servers. It will prefer to take shares from the first k distinct servers, if
20+they respond fast enough.
21 
22   *future work*
23 
24hunk ./docs/performance.txt 43
25 
26 == Downloading B bytes of an A-byte immutable file ==
27 
28-network: A
29+network: B
30 memory footprint: 128KiB
31 
32hunk ./docs/performance.txt 46
33-notes: When asked to read an arbitrary range of an immutable file,
34-       Tahoe-LAFS will download from the beginning of the file up until
35-       it has enough of the file to satisfy the requested read.
36-       Depending on where in the file the requested range is, this can
37-       mean that the entire file is downloaded before the request is
38-       satisfied. Tahoe-LAFS will continue to download the rest of the
39-       file even after the request is satisfied, so in any case where the
40-       file actually has to downloaded from the grid, reading part of an
41-       immutable file will result in downloading all of the immutable
42-       file. Ticket #798 is a proposal to change this behavior.
43+notes: When Tahoe-LAFS 1.8.0 or later is asked to read an arbitrary range
44+       of an immutable file, only the 128-KiB segments that overlap the
45+       requested range will be downloaded.
46 
47hunk ./docs/performance.txt 50
48-       Tahoe-LAFS will cache files that are read in this manner for a
49-       short while, so subsequent reads of the same file may be served
50-       entirely from cache, depending on what part of the file they need
51-       to read, what part of the file was read by previous reads, and
52-       how much time has elapsed since the last read.
53+       (Earlier versions would download from the beginning of the file up
54+       until the end of the requested range, and then continue to download
55+       the rest of the file even after the request was satisfied.)
56 
57 == Downloading B bytes of an A-byte mutable file ==
58 
59}
60
61Context:
62
63[_auto_deps.py: change pycrypto version requirement to avoid https://bugs.launchpad.net/pycrypto/+bug/620253
64david-sarah@jacaranda.org**20100829230038
65 Ignore-this: e58f98ef262444067fc4b31fad23e40b
66] 
67[web: refactor rate computation, fixes #1166
68francois@ctrlaltdel.ch**20100815141933
69 Ignore-this: d25491858e137894142eaa67c75b0439
70] 
71[docs: update NEWS a bit about New-Downloader
72zooko@zooko.com**20100819021446
73 Ignore-this: 31a6e2fb0a6e3d19f73481e99070da7a
74] 
75[misc: add benchmarking tool for spans
76zooko@zooko.com**20100819021420
77 Ignore-this: 569327a1908a07e5fb634526bed515b2
78] 
79[docs: doc of the download status page
80zooko@zooko.com**20100814054117
81 Ignore-this: a82ec33da3c39a7c0d47a7a6b5f81bbb
82 ref: http://tahoe-lafs.org/trac/tahoe-lafs/ticket/1169#comment:1
83] 
84[docs: NEWS: edit English usage, remove ticket numbers for regressions vs. 1.7.1 that were fixed again before 1.8.0c2
85zooko@zooko.com**20100811071758
86 Ignore-this: 993f5a1e6a9535f5b7a0bd77b93b66d0
87] 
88[docs: NEWS: more detail about new-downloader
89zooko@zooko.com**20100811071303
90 Ignore-this: 9f07da4dce9d794ce165aae287f29a1e
91] 
92[TAG allmydata-tahoe-1.8.0c2
93david-sarah@jacaranda.org**20100810073847
94 Ignore-this: c37f732b0e45f9ebfdc2f29c0899aeec
95] 
96Patch bundle hash:
9760cb0a0c6f5e5b9a1c654602d153acbaaf3c3b22