rclone/cmd/serve/restic
Nick Craig-Wood ceeac84cfe serve restic: implement object cache
This caches all the objects returned from the List call. This makes
opening them much quicker so speeds up prune and restores. It also
uses fewer transactions. It can be disabled with
`--cache-objects=false`.

This was discovered when using the B2 backend when the budget was
being blown on list object calls which can avoided with a bit of
caching.

For typical 1 million file backup for a latop or server this will only
use a small amount more memory.
2020-11-12 17:58:46 +00:00
..
cache.go serve restic: implement object cache 2020-11-12 17:58:46 +00:00
cache_test.go serve restic: implement object cache 2020-11-12 17:58:46 +00:00
restic-test.sh fichier: 1fichier support - fixes #2908 2019-06-30 18:35:01 +01:00
restic.go serve restic: implement object cache 2020-11-12 17:58:46 +00:00
restic_appendonly_test.go serve/restic: expose interfaces so that rclone can be used as a library from within restic 2020-07-26 12:06:47 +01:00
restic_privaterepos_test.go serve/restic: expose interfaces so that rclone can be used as a library from within restic 2020-07-26 12:06:47 +01:00
restic_test.go serve/restic: expose interfaces so that rclone can be used as a library from within restic 2020-07-26 12:06:47 +01:00
restic_utils_test.go build: drop support for go1.9 2019-09-04 10:23:48 +01:00
stdio_conn.go build: drop support for go1.9 2019-09-04 10:23:48 +01:00