this post was submitted on 17 Dec 2023
442 points (97.0% liked)

Lemmy.World Announcements

29034 readers
3 users here now

This Community is intended for posts about the Lemmy.world server by the admins.

Follow us for server news ๐Ÿ˜

Outages ๐Ÿ”ฅ

https://status.lemmy.world

For support with issues at Lemmy.world, go to the Lemmy.world Support community.

Support e-mail

Any support requests are best sent to info@lemmy.world e-mail.

Report contact

Donations ๐Ÿ’—

If you would like to make a donation to support the cost of running this platform, please do so at the following donation URLs.

If you can, please use / switch to Ko-Fi, it has the lowest fees for us

Ko-Fi (Donate)

Bunq (Donate)

Open Collective backers and sponsors

Patreon

Join the team

founded 1 year ago
MODERATORS
 

Hi all, We will be attempting to migrate Pict-rs tomorrow starting at 1700 UTC. Between now and 1700, image uploads will be disabled to try and avoid any data loss. You will still be able to like, comment and post until then. During the upgrade window, Pict-rs will be offline, so viewing images might not work. In theory CloudFlares CDN cache should cover us during the window, but YMMV. Hopefully everything should go smooth, but we do our best to make sure we have backups!

You can monitor our site health at https://dash.lemmy.world and https://status.lemmy.world

We will post updates to https://mastodon.world/@LemmyWorld as well.

Cheers, LW Infra Team ๐Ÿ’—

Update This change is done. Images are now hosted on S3 storage and uploads are re-enabled.

top 50 comments
sorted by: hot top controversial new old
[โ€“] MigratingtoLemmy@lemmy.world 82 points 10 months ago (1 children)

Love your work in managing Lemmy's infrastructure at scale. Would like to join you sometime

[โ€“] jelloeater85@lemmy.world 20 points 10 months ago

Feel free to apply https://team.lemmy.world ๐Ÿค“

[โ€“] AlpacaChariot@lemmy.world 53 points 10 months ago (1 children)

Love how openly you guys communicate about the management of LW. It's interesting for anyone with an interest in self hosting things to see how you've scaled up. Keep up the good work!

[โ€“] jelloeater85@lemmy.world 16 points 10 months ago

Thanks so much ๐Ÿ’—

[โ€“] nix@merv.news 31 points 10 months ago (1 children)

Is this migrating from pict-rs to object storage or upgrading pict-ra from 0.4 to 0.5?

[โ€“] jelloeater85@lemmy.world 34 points 10 months ago* (last edited 10 months ago) (3 children)

Object storage. Sorry if that was unclear โค๏ธ

[โ€“] nix@merv.news 10 points 10 months ago (1 children)

Ah nice congrats on the move

[โ€“] jelloeater85@lemmy.world 4 points 10 months ago

Thanks! It's a lot of work for the behind the scenes stuff, but we have a great team that really cares ๐Ÿ‘ผ

[โ€“] rezz@lemmy.world 7 points 10 months ago (2 children)

Where can I read more about why this is happening?

[โ€“] ruud@lemmy.world 17 points 10 months ago (1 children)

Actually 2 reasons why. First and most important, this was needed so we can use tooling to detect and remove CSAM material. Secondly, it's because this is more cheap and scalable than having it on disk.

[โ€“] Quetzalcutlass@lemmy.world 9 points 10 months ago

Thank you for doing what you do.

I've heard that being a content moderator is absolutely soul-crushing work. Here's hoping the new tooling lets you automate away the worst of it.

[โ€“] misterbassman@lemmy.world 8 points 10 months ago (1 children)

I have no insight into why it's being done in this instance, but object storage is typically used when you want to move away from storing things on your web server with "fixed" storage, and instead store it in an "infinitely" expandable storage system. It is also much easier to manage when you have multiple servers as it's separate and shared.

[โ€“] rezz@lemmy.world 8 points 10 months ago (1 children)

Right on. This seems relatively important considering pict-rs is the lemmy default. Seems like a change that should be considered for the core repo.

[โ€“] countvon@lemmy.world 8 points 10 months ago (1 children)

The problem with making S3 config the default is that it would add friction for new admins. If you're just starting to play around with self-hosting Lemmy then it's 100% certain you have a local disk but not nearly as likely that you've got an S3 bucket ready to go. Making S3 the default would force those new admins to either tweak their configs or figure out how to get an S3 bucket before they could get going. Using local disk for images is fine for smaller instances and self-hosts, but for cost and scaling reasons having an option to switch to S3 is really valuable for larger instance like lemmy.world. Only the top 10-20% of instances are likely to really need to make the switch to S3, so Pictrs defaulting to local disk makes sense I think.

[โ€“] magnor@lemmy.magnor.ovh 6 points 10 months ago (1 children)

While I agree on the technical aspects, I'll say that small instances benefit a lot from s3. My single user instance currently has over 25 Gb of media cache... Object storage (hosted on my NAS ) has been a godsend.

[โ€“] jelloeater85@lemmy.world 4 points 10 months ago* (last edited 10 months ago) (1 children)

Have you used MinoIO? I've used that before for local S3 and it works quite well.

[โ€“] magnor@lemmy.magnor.ovh 2 points 10 months ago (1 children)

This is actually what I use. Great piece of software!

[โ€“] jelloeater85@lemmy.world 2 points 10 months ago (1 children)
[โ€“] magnor@lemmy.magnor.ovh 2 points 10 months ago

And surprisingly light on resources (apart from storage space obviously).

[โ€“] ripcord@lemmy.world 5 points 10 months ago (1 children)
[โ€“] jelloeater85@lemmy.world 3 points 10 months ago (1 children)

That we moved to S3 from filesystem

[โ€“] ripcord@lemmy.world 3 points 10 months ago (2 children)

Right, but you said not AWS so I'm curious what either cloud-based S3 service, or baremetal appliance / stack you're using with S3.

load more comments (2 replies)
[โ€“] RickRussell_CA@lemmy.world 30 points 10 months ago

I saw "Pictrs Migration" and I thought was about to open a map porn post regarding the movement of ancient Scots.

[โ€“] cheese_greater@lemmy.world 15 points 10 months ago (1 children)

Guyz, what is Pictr? Is it like Imgur?

Also, [excellent]

[โ€“] Draconic_NEO@lemmy.world 11 points 10 months ago

Kind of like Imgur, it's a barebones Image hosting server which is what Lemmy uses to serve images uploaded to the instance. It makes it easier otherwise people would need to use things like catbox or imgur itself to host images.

I do feel like support could be better with it though, like if it gave us an interface where we could access our images from our account, or at the very least one for admins.

[โ€“] Stamets@lemmy.world 12 points 10 months ago

Was wondering why I couldn't upload anything. Well, 3 more hours to sleep in. Woo!

[โ€“] MigratingtoLemmy@lemmy.world 8 points 10 months ago

Congratulations on the move!

[โ€“] Yoz@lemmy.world 6 points 10 months ago (1 children)

Is it amazon s3 storage? How much are we paying for it?

[โ€“] jelloeater85@lemmy.world 13 points 10 months ago (4 children)

We are not using AWS S3, we try and keep costs down where it makes sense ๐Ÿ˜‰

load more comments (4 replies)
[โ€“] ShitOnABrick@lemmy.world 1 points 10 months ago

Ight awesome

load more comments
view more: next โ€บ