I’m pretty new to the fediverse, and I find the idea amazing. But one thing concerns me though. How will server owners be able to afford to run servers with massive amounts of data coming through them? Theoretically speaking, if a Reddit migration were to happen how would server upkeep costs look like?
I run a personal instance with only two human users and a couple of accounts each (admin and daily use). I use a DigitalOcean droplet with 2gb of memory and 80Gb of storage. With a dozen or so communities, my disk usage since July 4 is at about 12gb.
My total monthly cost with weekly backups is about $14 USD. If the storage demands keep going up, my cost will increase to about $19/month
I see four options:
- Server owner assumes all costs of the server. Possible if instance is not huge (ideal on a federated environment) or owner has money and will to do it.
- Accept donations from users
- Require paid subscription to access (and thus becoming private otherwise anyone could still access the server from a free instance)
- Run ads on site. Same as 3, users would migrate.
So I only see 1 and 2 possible
My personal (extremely small) instance with only a few users currently costs around $8 / month on a VPS. Still have plenty of headroom for more users as well I believe.
Yeah, I have wondered also… Just like if I wanted Usenet access I would expect to pay for it… There are costs involved, so how much?
That really depends on how many users and communities you have. It can be in single digits for small servers and hundreds (or even thousands) for the bigger ones. And everything in between for medium-size servers.
Ruud who runs lemmy.world and mastodon.world publishes financial information on his blog: https://blog.mastodon.world/april-and-may-2023-financial-update
How is it possible to donate?
Opencollective has a page. Recurring donations are usually more useful than one-time, but both are excellent.
Just reading through this it seems crazy to me that lemmy.world is being scaled vertically, is there something about how it works that prevents horizontal scaling (like, load balancing across a number of servers all using the same db)?
From what I understand, Lemmy is just using a PostgreSQL database, and there’s many ways to load balance and horizontally scale it. You could use something like HAProxy for load balancing, and for horizontal scaling, you could add multiple PostgreSQL slave nodes and if you want to manage the scaling automatically, you could use a tool like ClusterControl or w/e. There’s plenty of doco on the web around this and it’s not specific to Lemmy.
You can scale app servers surprisingly far before you need to shard a decently sized single master postgres cluster. Like, probably 20-50+ times the current write traffic it seems this instance has. It was probably due to the websockets thing, thinking about it. With 0.18, that goes away and requests can be stateless, cached, and you can throw a load balancer and n app servers at it.