this post was submitted on 06 Jun 2023
22 points (100.0% liked)

Lemmy Support

4651 readers
1 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 6 years ago
MODERATORS
 

I expect lemmy.ml to be hugged to death, but that's just a DoS.

More interestingly would be how the activitypub network reacts under reddit-like loads and behaviour, and as i understand it, things shouldnt be too bad?

Is lemmy scalable?

you are viewing a single comment's thread
view the rest of the comments
[โ€“] PriorProject@lemmy.world 1 points 2 years ago (1 children)

I've tested running multiple instances of pict-rs using distributed storage [and] ran into several weird issues.

Well that's a bummer.

At the very least, a Lemmy install is comprised of at least 4 discrete processes. I have to think that putting lemmy, lemmy-ui, pict-rs (backed by object-storage to provide scaleable I/O and let the pict-rs host focus on CPU), and PG (optionally with additional read-replicas) on separate boxes would result in a hardware platform that outscales the current codebase for a year or two while they clean up perf issues that crop up with large user/post/comment/community counts.

That's basically what I'm doing. A singleton instance for Pict-rs and Postgres. Multiple compute nodes for Lemmy and Lemmy-ui being accessed over load balancers. All of data is placed on distributed storage so I can quickly fail-over Pict-rs or Postgres if needed. It's enough for now, though I don't think it could handle Reddit levels of traffic.