96
submitted 1 year ago* (last edited 1 year ago) by yay@lemmynsfw.com to c/lemmynsfw@lemmynsfw.com

I was waiting for new versions, but the disk filled up faster than I expected. I'm moving 400GB image archive from local disk to object-storage. Unfortunately the process is very slow. It will take several hours.

Update: Migration finished ๐ŸŽ‰

you are viewing a single comment's thread
view the rest of the comments
[-] whyIs@lemmynsfw.com 2 points 1 year ago

I wanted to ask if you are storing images after transcoding them or not. 400GB image archive seems quite a bit High to me.

If you are no,t I highly recommend that you transcode the images that the users upload, it will significantly reduce the size of your image library.

I recommend that you transcode to webp format. I tried making avif work but it wouldn't and jxl is still ways of.

[-] yay@lemmynsfw.com 2 points 1 year ago

Images are transcoded but thats not the problem. The problem is lemmy literally downloading every remote posts thumbnails to our archive. There is no option to opt out.

[-] whyIs@lemmynsfw.com 10 points 1 year ago

I looked at the images now and I will tell you for a fact that they are not being transcoded and saved. to transcode and save image to desired format you have to have set the following environment variable for the pictrs service in the docker-compose file: PICTRS__MEDIA__FORMAT=

When I look at your communities, I find images saved as png, jpeg, jpg, but not as webp. Saving images as webp/avif/jxl will result in an incredible reduction of storage requirements.

[-] yay@lemmynsfw.com 6 points 1 year ago

oh shit you are right! It used to be default but probably removed in new versions. I added it back. Thanks!

this post was submitted on 03 Aug 2023
96 points (98.0% liked)

Lemmy NSFW

11711 readers
16 users here now

Updates about lemmynsfw.com

founded 1 year ago
MODERATORS