this post was submitted on 04 Mar 2024
742 points (97.9% liked)

Technology

60080 readers
3331 users here now

This is a most excellent place for technology news and articles.


Our Rules


  1. Follow the lemmy.world rules.
  2. Only tech related content.
  3. Be excellent to each another!
  4. Mod approved content bots can post up to 10 articles per day.
  5. Threads asking for personal tech support may be deleted.
  6. Politics threads may be removed.
  7. No memes allowed as posts, OK to post as comments.
  8. Only approved bots from the list below, to ask if your bot can be added please contact us.
  9. Check for duplicates before posting, duplicates may be removed

Approved Bots


founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 30 points 9 months ago (1 children)

This got me curious on how many images are on all Lemmy instances combined and how much storage it all takes up.

[–] [email protected] 52 points 9 months ago (3 children)

I can tell you that for lemmy.ca we use 778gb

[–] [email protected] 22 points 9 months ago (4 children)

Holy fucking shit balls. I contemplated seeing up an instance on a £5 VPS. Hmmmm, I think my scale is a bit off.

[–] [email protected] 24 points 9 months ago (1 children)

If it's just a private instance, your storage needs will be way less. We use object storage, so it's actually pretty cheap (like $5-10 a month iirc). We're not storing that all on the server disk.

[–] [email protected] 6 points 9 months ago (1 children)

I've been considering a private instance myself so that's good to know.

If you're federating with everything by default, would that not also federate all the images and take up space that way? Or are images always just referenced from their origin instance?

[–] [email protected] 10 points 9 months ago (1 children)

Images come from their origin, but I think thumbnails are cached on your instance.

[–] [email protected] 4 points 9 months ago

This is correct, i have seen in the past images that 404 when clicked but the thumbnails show up fine on my instance

[–] [email protected] 9 points 9 months ago

I'm on a private instance. My lemmy volume as a whole is currently 72G.

5 is probably a bit undersized and liable to cause pool timeouts. But like 15 should give you enough room depending on your provider's affordability. You can always delete old data periodically.

[–] [email protected] 3 points 9 months ago

I'm running a quite small instance and currently the full media storage is 234GB. That being said I pay $3 per month for the storage on Cloudflare R2 so that's fine. You could get more for cheaper probably with a service like Backblaze B2.

The main database (non-media) currently takes up 36GB.

[–] [email protected] 1 points 9 months ago* (last edited 9 months ago)

You can configure the maximum size of image you will federate. You could set it to essentially 0 and you will store like no images. Downside is you will have to fetch images from other instances, whose servers may not be close to you.

For reference, Feddit.dk has a 5MB image limit. My storage is only about ~60 GB

[–] [email protected] 4 points 9 months ago

Huh, less than I expected.