git-annex/doc/devblog/day_486__time_to_ditch_rsync.mdwn

15 lines
754 B
Text
Raw Normal View History

2018-03-06 19:26:57 +00:00
I'm excited by this new design
[[todo/accellerate_ssh_remotes_with_git-annex-shell_mass_protocol]].
git-annex's use of rsync got transfers over ssh working quickly early on,
but other than resuming interrupted transfers, using rsync doesn't really
gain git-annex much, since annexed objects don't change over time. And
rsync has always involved a certian amount of overhead that a custom
protocol would avoid.
It's especially handy that such a protocol was already developed for
`git-annex p2p` when using tor. I've not heard of a lot of people using that
feature (but maybe people who do have reason not to talk about it), but
it's a good solid thing, implemented very generically with a free monad,
and reusing it for git-annex-shell would be great.