How resource intensive is the federation part of running a lemmy server?
I ask generally out of curiosity. I was just thinking that as big social media fractures, old school isolated forums might become "cool again", and that one of the achievements of lemmy might be as a nice platform for simply running a forum for whatever community you want all without needing to worry about federation.
If it turns out that work of federating data is a substantial part of the resource overhead, and that an isolated server would actually be quite efficient, that'd be quite a nice feather in the lemmy cap I'd say. Hexbear seems to have been using lemmy this way for a while and it seems to have been successful too.
I have ~160 users and have been up about two months. We have subscribers to pretty much every large community and hundreds of smaller ones, plus media heavy ones like the NSFW communities.
Currently sitting at 6.6GB for Postgres (there was an update recently that drastically reduced the size, dunno exactly what it was at before), 54GB on pictrs/media. (I host the media on object storage, specifically Cloudflare R2)
For memory I'm pushing 3GB now, with Postgres taking about 1.5GB. That's higher than it used to be, might be related to the update that reduced the DB size.
CPU: I have a cheap 2 core x86 virtual server/vps - and haven't seen it go over 10% during normal operations...
To answer your question directly though, the most work is OUTGOING federation. So it really depends on how active your communities are/how many unique instances subscribe.
Lemmy can certainly be used like an old school forum with federation disabled in the settings. The developers even made a phpBB-like front-end for it: https://github.com/LemmyNet/lemmyBB
The main table that all the growth was in is now split and the cached federated content can be dropped with out much work, and there was talk of tuning it to expire at 3 months.
The content on no.lastname.nz (very small instance) is only about 10-15GB including cached images
one of the achievements of lemmy might be as a nice platform for simply running a forum for whatever community you want all without needing to worry about federation.
I'm interested in this question for the inverse reason: being able to run a federated community on a Lemmy server which is not open-invite
People in the Lemmyverse would be able to use the community as normal, but running the community on its own server would not involve opening the door to registration by randos on that server.
More broadly, it might become a story of the fediverse as it grows ... whether it makes sense to move on from an architecture where every node is more or less of the same kind (full instance) to one where nodes take on more specialised and perhaps more optimised roles within the network.
Even with federation the community is bound to an instance, so once the instance goes down the community is down too, at least the federation of the community as far as I understand. So it is already a single point of failure.
Sure. I'm talking about any group of people that want a forum on the internet without bothering about being on the fediverse. Would just spinning up an unfederated lemmy server be a good option for this from a resources/efficiency standpoint?