diff options
author | Joey Hess <joeyh@joeyh.name> | 2018-03-08 16:21:16 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2018-03-08 16:56:17 -0400 |
commit | fa3db5c4d3704da5b4a7ffeb0b637f8f5dfda616 (patch) | |
tree | 9d53e0e8e5732b108168121cb7327ca6d5caf952 /doc/todo/accellerate_ssh_remotes_with_git-annex-shell_mass_protocol.mdwn | |
parent | 2fb88331a17b0800dbf7272357e885ceb90da38a (diff) |
use P2P protocol for drop
Not yet used for everything else, but this is enough to
verify that it works, and do some benchmarking.
Some bugfixes included, which got it working. Also fallback to old
actions has been verified to work correctly.
Benchmarked dropping one thousand files from a ssh remote on localhost.
Using the old git-annex 40.867 seconds.
With the P2P protocol 9.905 seconds!
This commit was sponsored by Jochen Bartl on Patreon.
Diffstat (limited to 'doc/todo/accellerate_ssh_remotes_with_git-annex-shell_mass_protocol.mdwn')
-rw-r--r-- | doc/todo/accellerate_ssh_remotes_with_git-annex-shell_mass_protocol.mdwn | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/doc/todo/accellerate_ssh_remotes_with_git-annex-shell_mass_protocol.mdwn b/doc/todo/accellerate_ssh_remotes_with_git-annex-shell_mass_protocol.mdwn index ff4b8c59d..a592e17a9 100644 --- a/doc/todo/accellerate_ssh_remotes_with_git-annex-shell_mass_protocol.mdwn +++ b/doc/todo/accellerate_ssh_remotes_with_git-annex-shell_mass_protocol.mdwn @@ -40,3 +40,7 @@ Implementation todos: git-annex-shell recvkey has a speed optimisation, when it's told the file being sent is locked, it can avoid an expensive verification. * Maybe similar for transfers in the other direction? +* What happens when the assistant is running and some connections are open + and it moves between networks? +* If it's unable to ssh to a host to run p2pstdio, it will fall back to the + old method. What if the host is down, does this double the timeout? |