Brian Warner
4a4a4f9520
immutable.Downloader: pass StorageBroker to constructor, stop being a Service
...
child of the client, access with client.downloader instead of
client.getServiceNamed("downloader"). The single "Downloader" instance is
scheduled for demolition anyways, to be replaced by individual
filenode.download calls.
2009-08-15 12:25:43 -07:00
Brian Warner
8df15e9f30
big rework of introducer client: change local API, split division of responsibilites better, remove old-code testing, improve error logging
2009-06-22 19:10:47 -07:00
Brian Warner
c9803d5217
switch all foolscap imports to use foolscap.api or foolscap.logging
2009-05-21 17:38:23 -07:00
Brian Warner
2308440fb6
control.py: use get_buckets() instead of get_version() to measure ping time, because the latter changed recently
2008-11-22 23:13:23 -07:00
Brian Warner
0eb6b324a4
#538 : add remote_get_version() to four main Referenceable objects: Introducer Service, Storage Server, Helper, CHK Upload Helper. Remove unused storage-server get_versions().
2008-11-21 17:43:52 -07:00
Brian Warner
3dd9b79e3f
control.py: removed unused testutil.PollMixin
2008-10-28 21:03:59 -07:00
Brian Warner
7394607141
move encode/upload/download/checker.py into a new immutable/ directory. No behavior changes expected.
2008-07-16 13:14:39 -07:00
Zooko O'Whielacronx
fc3bd0c987
use added secret to protect convergent encryption
...
Now upload or encode methods take a required argument named "convergence" which can be either None, indicating no convergent encryption at all, or a string, which is the "added secret" to be mixed in to the content hash key. If you want traditional convergent encryption behavior, set the added secret to be the empty string.
This patch also renames "content hash key" to "convergent encryption" in a argument names and variable names. (A different and larger renaming is needed in order to clarify that Tahoe supports immutable files which are not encrypted content-hash-key a.k.a. convergent encryption.)
This patch also changes a few unit tests to use non-convergent encryption, because it doesn't matter for what they are testing and non-convergent encryption is slightly faster.
2008-03-24 09:46:06 -07:00
Brian Warner
2ef70ab814
mutable.py: split replace() into update() and overwrite(). Addresses #328 .
2008-03-12 18:00:43 -07:00
Brian Warner
66f33ee504
upload: return an UploadResults instance (with .uri) instead of just a URI
2008-02-05 21:01:38 -07:00
Brian Warner
daecca6589
big introducer refactoring: separate publish+subscribe. Addresses #271 .
2008-02-05 13:05:13 -07:00
Brian Warner
909d848071
remove upload.upload_(data,filename,filehandle) convenience functions
2008-01-30 19:03:19 -07:00
Brian Warner
492cb92dc8
speedcheck: track SSK creation time separately
2008-01-29 20:44:32 -07:00
Brian Warner
f6b2072af1
check-speed: test SSK upload/download speed too. SDMF imposes a limit on the file sizes, no 10MB or 100MB test
2007-12-14 02:05:31 -07:00
Brian Warner
406ff52cf9
control.py: hush pyflakes warning
2007-12-06 18:38:42 -07:00
Zooko O'Whielacronx
4923d8dcb5
make control.get_memory_usage() return all zeroes if reading /proc/mem/whatsit raises an exception
2007-12-06 17:27:40 -07:00
Brian Warner
8fa19fa273
check_speed: average multiple pings when measuring RTT
2007-09-26 18:16:15 -07:00
Brian Warner
c301b41f50
control: add measure_peer_response_time(), to estimate RTT for the mesh
2007-09-26 12:21:15 -07:00
Brian Warner
0cfed96796
test_system.py: add coverage for allmydata.control
2007-09-26 12:06:55 -07:00
Brian Warner
d58d794757
check_speed: do both upload and download tests
2007-09-20 18:52:44 -07:00
Brian Warner
2632c0ad8c
check_speed: upload multiple files, measure Ax+B
2007-09-20 16:55:33 -07:00
Brian Warner
3774ce59ea
check_memory: fix race condition for startup of in-process server nodes
2007-09-20 15:33:58 -07:00
Brian Warner
b9d5a4ead4
check_speed.py: run two 1MB uploads and measure the time it takes
2007-09-19 18:40:18 -07:00
Brian Warner
6ff94541a8
control.py: make get_memory_usage() callable from elsewhere
2007-07-08 19:07:54 -07:00
Brian Warner
ea78b4b605
check_memory: getting closer, now we have memusage numbers for uploads of 10kB and 10MB files
2007-05-29 17:39:39 -07:00
Brian Warner
228e17560a
control.py: fix get_memory_usage, add a sample client tool
2007-03-07 20:31:49 -07:00
Brian Warner
d4020fa533
control: add RIControlClient, fix some pyflakes warnings
2007-03-07 19:20:27 -07:00
Brian Warner
a71d83bd8e
add a local foolscap control interface, to upload/download files and check memory usage
2007-03-07 19:16:06 -07:00