diff options
author | Joey Hess <joeyh@joeyh.name> | 2018-03-07 15:15:23 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2018-03-07 15:38:01 -0400 |
commit | 9f4771eb3c3f29ea38bbfc70eaf78198ca948840 (patch) | |
tree | 254a904d70a593da0c4bcfc4d948d4f9a07d19c2 /doc/todo/accellerate_ssh_remotes_with_git-annex-shell_mass_protocol.mdwn | |
parent | b7aa7445a5d97d6f43fbea26ae2ee1773744ebc9 (diff) |
implemented git-annex-shell p2pstdio
Not yet used by git-annex, but this will allow faster transfers etc than
using individual ssh connections and rsync.
Not called git-annex-shell p2p, because git-annex p2p does something
else and I don't want two subcommands with the same name between the two
for sanity reasons.
This commit was sponsored by Øyvind Andersen Holm.
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 | 11 |
1 files changed, 10 insertions, 1 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 dd6be9a30..ff4b8c59d 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 @@ -23,7 +23,7 @@ letting git-annex-shell on the remote work that out. So, it seems better to not use sftp, and instead roll our own simple file transfer protocol. -So, "git-annex-shell -c multi" would speak a protocol over stdin/stdout +So, "git-annex-shell -c p2pstdio" would speak a protocol over stdin/stdout that essentially contains the commands inannex, lockcontent, dropkey, recvkey, and sendkey. @@ -31,3 +31,12 @@ P2P.Protocol already contains such a similar protocol, used over tor. That protocol even supports resuming interrupted transfers. It has stuff including auth that this wouldn't need, but it would be good to unify with it as much as possible. + +---- + +Implementation todos: + +* git-annex-shell p2pstdio currently always verifies content it receives. + 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? |