this post was submitted on 01 Aug 2023
38 points (100.0% liked)

Lemmy

12519 readers
93 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
 

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.

all 27 comments
sorted by: hot top controversial new old
[–] jeena@jemmy.jeena.net 16 points 1 year ago (1 children)

I run a single user instance and I subscribe to 47 communities from 12 servers.

Most of the time I see 3 requests per second from the other servers.

I'm running on the cheapest Hetzner VPS with aditional storage, because the 20 GB are not enough for lemmy and the OS.

The load is most of the time at 0.2

[–] bdonvr@thelemmy.club 7 points 1 year ago* (last edited 1 year ago)

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.

[–] chrisbit@leminal.space 6 points 1 year ago (1 children)

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

[–] maegul@lemmy.ml 4 points 1 year ago

Yea ... but I like the reddit-like interface. It's richer with more options than an old school forum.

Also ... they're running an instance of this somewhere too.

[–] Tibert@compuverse.uk 4 points 1 year ago (2 children)

On my instance, the owner said that just the cached text content is something like 25GB.

So it's very storage intensive as it seems Lemmy doesn't delete the cached content.

[–] maegul@lemmy.ml 6 points 1 year ago (1 children)

Some storage optimisation came in the latest version ... it may have been to do with what you describe.

[–] Blaze@sopuli.xyz 5 points 1 year ago

Indeed, especially looking at the other coment with 2.8 GB

[–] BlueEther@no.lastname.nz 2 points 1 year ago

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

[–] ThorrJo@lemmy.sdf.org 3 points 1 year ago (1 children)

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.

[–] maegul@lemmy.ml 2 points 1 year ago

I think that's interesting too!

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.

[–] vamp07@lemm.ee 1 points 1 year ago (2 children)

Not sure about resource usage but a single instance for a given community mean a single point of failure.

[–] jeena@jemmy.jeena.net 3 points 1 year ago (2 children)

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.

[–] bram@lemm.ee 1 points 1 year ago

Why is that? That shouldn't be necessary, should it?

[–] vamp07@lemm.ee 1 points 1 year ago

Ah, interesting. I did not know that, but it makes sense.

[–] maegul@lemmy.ml 2 points 1 year ago (1 children)

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?

[–] jeena@jemmy.jeena.net 3 points 1 year ago

Yes it would. Another one written in elixir and no federation stuff in is https://github.com/ckruse/cforum_ex