this post was submitted on 31 Jul 2023
192 points (89.0% liked)

Fediverse

17677 readers
27 users here now

A community dedicated to fediverse news and discussion.

Fediverse is a portmanteau of "federation" and "universe".

Getting started on Fediverse;

founded 4 years ago
MODERATORS
 

Ugh.

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 2 points 1 year ago* (last edited 1 year ago) (1 children)

It’s mostly DDOS attacks though, not the influx of normal users.

Really? As site_aggregates table getting 1500 rows updated on every single new comment and post local insert is just the tip of the iceberg of how nobody has scrutinized the PostgreSQL performance. Thank you to lemmy.ca last weekend for looking at AUTO_EXPLAIN on their data.

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

As site_aggregates table getting 1500 rows updated on every single new comment

Is this accurate?

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

Huh? I'm not an instance operator (yet). I was actually asking you a question, does this actually happen? Have you seen this on your own instance?

Was hoping to get some discussion going on this.

Edit: do you have any example logs from your postgres instance demonstrating this?

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

do you have any example logs from your postgres instance demonstrating this?

I've exposed raw data from my PostgreSQL tables. And every single new comment and post you could see +1 going on every known server. I haven't updated to 0.18.3 yet, so it's still there: https://lemmyadmin.bulletintree.com/query/raw_site_aggregates?output=table