this post was submitted on 07 Jul 2023
8 points (100.0% 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
top 2 comments
sorted by: hot top controversial new old
[–] [email protected] 3 points 1 year ago (1 children)

Moving more processes to be asynchronous make sense. As that's also how Reddit's backend works.

Sort of an unrelated question, but are Lemmy instances specifically designed to work on top of Postgres? Or could they technically use "any" database?

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

On GitHub, I specifically saw one of the two leaders comment that they have no intention of supporting anything other that PostgreSQL when a new contributor was asking about portability to another database.... within the last week.