summaryrefslogtreecommitdiff
path: root/src/store.rs
AgeCommit message (Collapse)AuthorFilesLines
2021-01-10feat! use SQLite db for chunk index on serverLars Wirzenius1-29/+2
This speeds startup a lot. However, the backup repository needs to be re-created from scratch and internal APIs have change in incompatible ways.
2020-12-23refactor: use a struct instead of a tupleLars Wirzenius1-2/+22
It seems this is more idiomatic in Rust.
2020-11-25perf: store chunks on disk in a 3-level directory treeLars Wirzenius1-9/+33
git does the same thing. This improves the wall clock time to run benchmark-store with a million chunks from a 40.36 seconds to 18.70, on a system with NVMe and ext4.
2020-10-14refactor: rename Chunk to DataChunkLars Wirzenius1-4/+4
2020-10-14refactor: move chunk metadata out of chunk structLars Wirzenius1-4/+4
2020-09-19feat: search, delete chunks on chunk serverLars Wirzenius1-0/+7
Also heavily refactor the now-long scenario by splitting out a happy path and some unhappy paths.
2020-09-17feat: store chunks persistentlyLars Wirzenius1-0/+47