I might take over one of these one-year-free hosted Lemmy instances on my server infrastructure, but I read several times now that Lemmy’s image hosting system Pict-rs is using a lot of storage quickly.

The server I could run this on is limited to 32gb ssd storage with no easy way to expand it.

Is there some way to limit the image storage use and automatically prune old images that are not user or community icons or such?

Aode (He/They)
link
fedilink
18 hilabete

Yes. It uses sha256 rather than perceptual hashing, but that’s Good Enough™️

@Echedenyan@lemmy.ml
link
fedilink
18 hilabete

Why not SHA-512 or SHA3?

Aode (He/They)
link
fedilink
18 hilabete

I chose it at the start of the project 🤷

@Echedenyan@lemmy.ml
link
fedilink
18 hilabete

Maybe is it worthy to make a smooth change to this in the future? https://en.wikipedia.org/wiki/SHA-3#Comparison_of_SHA_functions

Create a post

Support / questions about Lemmy.

  • 0 users online
  • 1 user / day
  • 1 user / week
  • 16 users / month
  • 101 users / 6 months
  • 1 subscriber
  • 205 Posts
  • 1.08K Comments
  • Modlog