this post was submitted on 08 Jun 2023
16 points (100.0% liked)

Lemmy

12568 readers
1 users here now

Everything about Lemmy; bugs, gripes, praises, and advocacy.

For discussion about the lemmy.ml instance, go to !meta@lemmy.ml.

founded 4 years ago
MODERATORS
 

Hello, all. I'm considering creating a Lemmy instance in order to facilitate migration of a moderately sized reddit community to the fediverse.

The community is about 150k users with around 1.5M pageviews per month.

I don't expect everyone to come with the migration, but I would expect a significant portion to do so. Perhaps half.

How do I go about capacity planning / sizing for such an instance? Is Lemmy designed to operate at this scale?

Thanks for your input.

you are viewing a single comment's thread
view the rest of the comments
[–] poVoq 11 points 1 year ago (3 children)

Lots of unknowns right now. The best might be to look for a VPS provider that allows scaling up relatively easily.

Besides some low hanging fruits that are being worked on right now, it is simply unknown as no Lemmy instance has so far operated at this scale. The techstack (rust and postgres) is relatively performant though. Main bottleneck is likely going to be the database for now.

[–] molo@beehaw.org 3 points 1 year ago (1 children)

Thanks, appreciate your input.

If postgres is the scaling limit on most deployments, I assume normal postgres scaling via replicas and sharding would apply.

Is the frontend amenable to heavy caching for non-logged-in views?

[–] poVoq 5 points 1 year ago (1 children)

Yes horizontal scaling of Postgres probably works especially together with running multiple Lemmy backends behind a load balancer. But I am not aware of anyone running such a setup right now.

Caching is being worked on right now and should be available together with the no-websockets improvement very soon.

[–] molo@beehaw.org 2 points 1 year ago

Thanks, that's helpful. Will keep an eye out for that.

load more comments (1 replies)