this post was submitted on 02 Jul 2023
195 points (97.1% liked)

Haupteingang

286 readers
1 users here now

Die Standard-Community von feddit.de

In dieser Community geht es ausschließlich um alles rund um die Instanz!

Hast du Fragen? [email protected]

matrix chat: !feddit:tilde.fun

founded 3 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 10 points 1 year ago (1 children)

Gibt es irgendwo eine Erläuterung zu deren Infrastruktur? Wäre interessant, falls es bei uns irgendwann mal (deutlich) mehr wird.

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

📓 Das ist die Info, die ich gefunden habe:

https://lemmy.world/post/920294

Vermutlich macht es Sinn, sich direkt mit @[email protected] in Verbindung zu setzen. Mein Eindruck ist, dass er ziemlich kooperativ ist.

The solutions

What I had noticed previously, is that the lemmy container could reach around 1500% CPU usage, above that the site got slow. Which is weird, because the server has 64 threads, so 6400% should be the max. So we tried what @[email protected] had suggested before: we created extra lemmy containers to spread the load. (And extra lemmy-ui containers). And used nginx to load balance between them.

Et voilà. That seems to work.

Also, as suggested by him, we start the lemmy containers with the scheduler disabled, and have 1 extra lemmy running with the scheduler enabled, unused for other stuff.

There will be room for improvement, and probably new bugs, but we're very happy lemmy.world is now at 0.18.1-rc. This fixes a lot of bugs.


🖥 Letzte mir bekannte Info zur Hardware:

https://lemmy.world/post/75556

Update The server was migrated. It took around 4 minutes downtime. For those who asked, it now uses a dedicated server with a AMD EPYC 7502P 32 Cores “Rome” CPU and 128GB RAM. Should be enough for now.