Opened at 2008-04-25T00:57:29Z
Closed at 2013-07-17T14:15:33Z
#398 closed task (invalid)
allow users to disable use of helper: direct uploads might be faster — at Version 8
Reported by: | warner | Owned by: | |
---|---|---|---|
Priority: | major | Milestone: | undecided |
Component: | code-encoding | Version: | 1.0.0 |
Keywords: | helper performance upload bandwidth | Cc: | ussjoin@… |
Launchpad Bug: |
Description (last modified by daira)
It occurred to me and Zandr that clients with fast uplinks may achieve faster throughput by not using the helper at all. The protocol improvements in #397 are nice and all, but really it's the helper that's getting overloaded. The purpose of the helper was to allow folks with slow uplinks to avoid paying the 3x expansion penalty on the wrong end of the wire, but folks with multi-megabit uplinks don't really need this help. At those speeds, sending 3x shares directly to the storage servers will get faster uploads than sending 1x ciphertext to an overloaded helper.
We might manage to farm out the helpers enough to improve performance to make this not true, but fundamentally the goal of a distributed system is to reduce centralization and push the work out to the edge. The helper is a concession to improving user experience with slow uplinks, but on fast uplinks it should probably not be used.
So the task is to give advanced end users of the commercial service a way to not use the helper. Simply deleting or renaming BASEDIR/helper.furl and restarting the node would suffice, but it might be nice to have a better UI for this. The goal is to let users with fast uplinks try it both ways and see which gives them better service.
Eventually, we might consider having the node automatically decide whether to use the helper or not, based upon the upload speeds measured by the first few direct uploads.
Change History (8)
comment:1 Changed at 2008-06-01T20:48:08Z by warner
- Milestone changed from eventually to undecided
comment:2 Changed at 2009-12-04T18:50:05Z by zooko
comment:3 Changed at 2009-12-12T20:47:54Z by davidsarah
- Keywords performance upload added
comment:4 Changed at 2009-12-30T00:12:36Z by davidsarah
- Keywords bandwidth added
If you like this ticket, you might also like #613: 'sometimes a helper doesn't help (if you need to upload less than K shares)'.
comment:5 Changed at 2010-02-23T00:11:19Z by USSJoin
- Cc ussjoin@… added
comment:6 follow-up: ↓ 7 Changed at 2010-12-29T14:45:56Z by zooko
#213 was a duplicate of this one.
comment:7 in reply to: ↑ 6 Changed at 2010-12-29T20:17:46Z by davidsarah
comment:8 Changed at 2013-07-17T14:15:33Z by daira
- Description modified (diff)
- Resolution set to invalid
- Status changed from new to closed
This related to Allmydata's service, which is no longer relevant. If anyone thinks it is really important to dynamically choose whether to use a helper (I'm skeptical), then please file another ticket.
If you love this ticket, you might also like #809 (Measure how segment size affects upload/download speed.) and #320 (add streaming (on-line) upload to HTTP interface).