application-research / autoretrieve

A server to make GraphSync data accessible on IPFS
22 stars 7 forks source link

Automatically prune local blockstore #13

Closed hannahhoward closed 2 years ago

hannahhoward commented 2 years ago

Goals

If I run autoretrieve, especially with FullRT on, I'm going to make a lot of requests. It would be great to be able to set a maximum size for the local blockstore cache, and start to prune it (perhaps the least recently requested block first?) once it reaches that size and I need to make room for more data.