[tahoe-lafs-trac-stream] [Tahoe-LAFS] #2376: Don't use helper for local nodes, only remote ones

Tahoe-LAFS trac at tahoe-lafs.org
Fri Feb 6 17:42:09 UTC 2015


#2376: Don't use helper for local nodes, only remote ones
-------------------------+---------------------------
 Reporter:  zooko        |          Owner:
     Type:  enhancement  |         Status:  new
 Priority:  normal       |      Milestone:  undecided
Component:  unknown      |        Version:  1.10.0
 Keywords:               |  Launchpad Bug:
-------------------------+---------------------------
 I (Zooko) rescued this from the spam filter. I didn't write it — wilruvvo
 did:

 When sending data to storage nodes on the same network (or even on the
 same computer), it is clearly more efficient to transfer the data directly
 rather than uploading it to a helper which then sends it back. The helper
 should only be used for nodes at remote locations.

 Possible heuristics for deciding if a node is 'local'

 * localhost
 * same subnet
 * reachable on a RFC1918 address
 * user-specified address range


 Here are some related tickets:

 #610 upload should take better advantage of existing shares
 #613 sometimes a helper hurts instead of helping (if you need to upload
 less than K shares)
 #868 use helper to bypass NAT/firewall
 #1207 Detect RFC1918/invalid addresses somehow


 Having a heuristic for detecting which nodes are local/remote would also
 help the following use cases:
 * Ensure at least K shares are 'local' so data remain available if the
 internet connection is down.
 * Ensure at least K shares are 'remote' so data remain available if all
 nodes on one site are lost.

 helper upload

--
Ticket URL: <https://tahoe-lafs.org/trac/tahoe-lafs/ticket/2376>
Tahoe-LAFS <https://Tahoe-LAFS.org>
secure decentralized storage


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