this post was submitted on 09 Jul 2023
7 points (100.0% liked)

Lemmy Support

4650 readers
17 users here now

Support / questions about Lemmy.

Matrix Space: #lemmy-space

founded 5 years ago
MODERATORS
 

With vlemmy disappearing, I’m considering spinning up a VM and sticking it in a DMZ for my own personal use (and any friends who wish to use Lemmy).

I believe there is caching involved, so does anybody have a good idea of how much disk space an instance for say ~10 users would require?

top 9 comments
sorted by: hot top controversial new old
[–] throwaway_OT05wZjv@lemmy.world 2 points 1 year ago* (last edited 1 year ago) (1 children)

For micro/personal server runners, I built a tool to automatically discover and add communities to your local instance :)

https://github.com/lflare/lemmy-subscriber-bot

Just for context, subscribing to about ~800 communities, of which have about more than 50 users/month, my metrics have indicated a disk space usage of about 2GiB/day, 20% of a single CPU core, and about 8~10GiB/traffic a day.

Unfortunately, it seems that most of the disk space used is by a single database table used primarily for debugging, thus once that issue is fixed, the disk space usage should drop dramatically into maybe just a hundred MiB a day or less.

EDIT: For support requests, I've created https://lemmy.world/c/lsbsupport as well.

[–] devdad@programming.dev 1 points 1 year ago

Awesome, thanks! That's really helpful.

[–] InverseParallax@lemmy.world 1 points 1 year ago (1 children)

It's not based on users really, it's based on unique communities followed, so if you have 2 users who both follow the same communities you only pay for each community once.

But apparently storage is the main requirement, so you'll need a bit, think the numbers were like 5gb/day for a mid-sized server.

[–] devdad@programming.dev 2 points 1 year ago

Ah ok, that makes sense. Thanks, appreciate it.

[–] Shortbus@lemmy.world 1 points 1 year ago* (last edited 1 year ago) (1 children)

I've been wondering this myself but haven't asked/looked into it yet. I'm starting to wrap my head around how this works. If I understand correctly you would obviously have the communities you host and would also cache the communities the users of your instance subscribe to or interact with.

Does "interact" mean any interaction is what I'm not sure of. Simply upvoting a post? Simply viewing it? Is viewing it from /all considered viewing it?

I may be completely wrong... So looking forward to someone who does know to respond or link you to something that explains it.

Having a homelab myself and running quite a few services I'm still so iffy on allowing anything out on the wider web in such a public way.

[–] devdad@programming.dev 1 points 1 year ago

Having a homelab myself and running quite a few services I’m still so iffy on allowing anything out on the wider web in such a public way.

Yeah, this would be the first that would be so openly accessible (I do host other things but they are severely locked down). That's why, if I do it, I'll create another VLAN, with zero access to my network/other VLANs.

That's why I was asking about disk space, as I wouldn't connect it to my NAS. If I do it, I'll probably do it on dedicated hardware with it's own drive.

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

Sorry, I can't help you, but what is vlemmy? A special kind of lemmy (different frontend etc)? Or was it a special community?

[–] devdad@programming.dev 1 points 1 year ago

No worries! It was just an instance of Lemmy (same way that lemmy.world and lemmy.ml are different instances).

Rather than rely on someone else, I am thinking of just spinning up my own as I already have a home lab / know how to look after stuff etc etc

[–] throwaway_OT05wZjv@lemmy.world 0 points 1 year ago* (last edited 1 year ago)
load more comments
view more: next ›