this post was submitted on 23 Jul 2023
12 points (92.9% liked)

Lemmy

12508 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to [email protected].

founded 4 years ago
MODERATORS
 

I'm running a small instance just for myself and a friend. We basically use it to access the Lemmy fediverse.

I was under the impression that our instance would not download imagery that was not hosted on it but the pict-rs "files" directory ended up with 45 gig of data which ultimately filled up the VPS storage space.

Is there a command that I can automate to prune this regularly or does anyone have a solution?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] RunAwayFrog 4 points 1 year ago (1 children)

Imagine if media in Lemmy was all hosted in a distributed network filesystem like Iroh, where instances only function as inserters and exit nodes for that media.

This way, smaller instances can have a smaller cache corresponding to the media that was actually needed by it (recently). And independent peers can help by participating in the distributed file-system network without running instances themselves.

[โ€“] [email protected] 2 points 1 year ago

Woah, that seems really neat! What would be the cons to doing this (other than the implementation time and effort of course)?