Its "community" (on Lemmy), or "magazine" (on kbin) scaling that seems hard.
But since each server has a local-copy of the community that its serving out, maybe the hardest part has already been solved by the Federation model. Each federated-instance is effectively a proxy / front-end for the users on that instance.
---------
I guess Mastodon is way larger than Lemmy though and they haven't had issues yet.
Can we please drop the "number must go up" mentality? The whole point of federated systems is to avoid concentration of power in a handful of servers. I'm sure that the people doing there have good intentions, but why can't we just let things just a little bit dispersed?
Besides, that's not the point. The point is that you don't need to have a Gmail account to reach and be reached by Gmail users.
2TB RAM is common in commodity servers, albeit expensive ones ($1000ish/month). Somewhere between 4TB to 20TB RAM is the pragmatic limit (where costs for vertical scaling start to get far worse)
No one knows for sure until we reach those caps.
The way I read the article is that they didn't upgrade every time the load was (almost) too high, but instead opted immediately for the beefy dedicated server (considering the price it makes sense – it's on par with beefy VMs that have less power). They probably have resources to spare right now, but no need to go through the hassle of an upgrade soon (although 4 mins downtime sounds like they have things under control).
Having said that, I'm sure there's plenty to improve in Lemmy, given it's used at a bigger scale now.
> The current VPS couldn't be resized that much anymore, and load was going up with all the new users. So I bought the same server at Hetzner: a 32-core/64 thread 128GB RAM dedicated server. (For Mastodon, I doubled the RAM. For Lemmy I don't think it's needed yet.) I migrated the Lemmy software and database there, and moved over. This took 4 minutes of downtime.
So 32-core/64-threads with 128GB of RAM is running Lemmy.world, which is supporting ~36.7k users at the moment.
---------
A brief look at Hertzner comes up with: https://www.hetzner.com/dedicated-rootserver/ax161
A 32-core/64 thread + 128GB RAM server in Germany for 142 EUR / month.