File: day_486__time_to_ditch_rsync.mdwn

package info (click to toggle)
git-annex 10.20250416-2
  • links: PTS, VCS
  • area: main
  • in suites: trixie
  • size: 73,572 kB
  • sloc: haskell: 90,656; javascript: 9,103; sh: 1,469; makefile: 211; perl: 137; ansic: 44
file content (14 lines) | stat: -rw-r--r-- 754 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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.