this post was submitted on 02 Oct 2023
158 points (98.2% liked)

Lemmy.World Announcements

28381 readers
1 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 [email protected] 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
 

Edit : OK so the outage was less brief than expected. The upgrade of the 3GB pictrs database took over 1 hour, and the version 0.4 database is now 14.5 GB... But anyway, it seems to be working alright now!

We will upgrade pictrs today, from 0.3.1 to 0.4.4. This will enable us to switch to S3 storage later on, and is needed for more anti-CSAM tools. Outage should only involve picture uploads, and should be brief.

all 27 comments
sorted by: hot top controversial new old
[–] [email protected] 28 points 1 year ago (1 children)

Awesome that pict-rs has postgres and full s3 support now. Lemmy is getting really scalable!

[–] [email protected] 9 points 1 year ago (2 children)

I think the postgres support will come in 0.5?

[–] [email protected] 1 points 1 year ago (1 children)

How will the postgres support look like? They are not storing actual images in the database I hope?

[–] [email protected] 1 points 1 year ago (1 children)

No. Just like now , they store the metadata there, the images are on disk or S3

[–] [email protected] 1 points 1 year ago

Very good, thank you.

[–] [email protected] 1 points 1 year ago

Ah, right. I was aware of the ability to use S3 for 0.4, but this post made me go check out Asonix's Forgejo. The fact that you can get rid of sled in 0.5 and go fully stateless/scalable is a game changer.

[–] [email protected] 19 points 1 year ago

Yeah we can upload pictures again!

[–] [email protected] 18 points 1 year ago (1 children)

OK, the pictrs database upgrade is taking it's time... please wait.. ;-)

pictrs_1     | {"timestamp":"2023-10-02T16:31:44.746467Z","level":"WARN","fields":{"message":"new"},"target":"pict_rs::repo","span":{"name":"Migrating Database from 0.3 layout to 0.4 layout"},"spans":[]}
[–] [email protected] 10 points 1 year ago (1 children)
[–] [email protected] 10 points 1 year ago (1 children)

It's building a 0.4 database, which is already twice as big as the 0.3 one

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

It's grown from 3.1 GB to over 8GB and still running...

[–] [email protected] 8 points 1 year ago (2 children)
[–] [email protected] 16 points 1 year ago (1 children)

And that's just his personal collection of feet pics

[–] [email protected] 13 points 1 year ago

Don't tell them about the feetish

[–] [email protected] 13 points 1 year ago (3 children)

That's not the pictures... The picture take up 1.2 TB.. it's just the database with the metadata about the pictures. (11.8 GB now...)

[–] [email protected] 5 points 1 year ago* (last edited 1 year ago) (2 children)

I'm curious, how much storage in total is needed for a Lemmy instance like this one currently?

[–] [email protected] 7 points 1 year ago

1.2 TB for pictures and 100GB for Postgres

[–] [email protected] 5 points 1 year ago

For reference I run a pretty small instance. I'm at 34GB for the main database, and about 120GB of media. (Doesn't count backups)

My instance is much, much smaller though. A few hundred users, and probably only a couple dozen actually active.

[–] [email protected] 4 points 1 year ago (2 children)

Who pays for that s3 storage?

[–] [email protected] 9 points 1 year ago

The people that donate to lemmy.world

[–] [email protected] 6 points 1 year ago

But it’s not in S3 yet. Still on disk.

[–] [email protected] 2 points 1 year ago

I know. Giant database = Giant Γ— 10Β² amount of Pictures

[–] [email protected] 2 points 1 year ago (1 children)

Are you manually updating Pictrs or is this included in the new lemmy update?

[–] [email protected] 3 points 1 year ago

Newest update defaults to 0.4, but the latest version is 0.4.4. I don't think there's a significant difference.

But it looks like ruud stayed on 0.3.x until now because there's a pretty serious migration between 0.3.x and 0.4.x

[–] [email protected] -1 points 1 year ago