this post was submitted on 23 Jul 2023
231 points (99.1% liked)
Lemmy Server Performance
420 readers
1 users here now
Lemmy Server Performance
lemmy_server uses the Diesel ORM that automatically generates SQL statements. There are serious performance problems in June and July 2023 preventing Lemmy from scaling. Topics include caching, PostgreSQL extensions for troubleshooting, Client/Server Code/SQL Data/server operator apps/sever operator API (performance and storage monitoring), etc.
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
Ah Gotcha. That's true, but the cascading issue that causes thousands of inserts happens on a delete.
That table update you're looking at is blazing fast due to the relatively low number of sites, until you run it thousands of times on a delete.