this post was submitted on 23 Jun 2023
189 points (99.0% liked)

Fediverse

28491 readers
637 users here now

A community to talk about the Fediverse and all it's related services using ActivityPub (Mastodon, Lemmy, KBin, etc).

If you wanted to get help with moderating your own community then head over to [email protected]!

Rules

Learn more at these websites: Join The Fediverse Wiki, Fediverse.info, Wikipedia Page, The Federation Info (Stats), FediDB (Stats), Sub Rehab (Reddit Migration), Search Lemmy

founded 2 years ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] fubo 163 points 1 year ago (4 children)

Ruud who runs lemmy.world and mastodon.world publishes financial information on his blog: https://blog.mastodon.world/april-and-may-2023-financial-update

[–] clif 87 points 1 year ago (4 children)

Wow, such transparency... that's awesome. I wonder (hope) if there will be a massive spike in donations in June.

/me sets alarm to remind me to donate after work since I keep thinking about it while I'm away.

[–] LilLetDown 45 points 1 year ago (3 children)

Ya, no kidding. This piqued my interest, but I did not click expecting to see an actual cost basis! I have been looking at potentially setting up my own node, but at the same time... Perhaps contributing here, financially as well, could be the best option.

Still fun to play around with my own stuff though :) Thanks guys!

[–] [email protected] 11 points 1 year ago (1 children)

He is a Dutchie, that must be why.

[–] ruud 17 points 1 year ago (2 children)
[–] LUHG_HANI 6 points 1 year ago (1 children)

Iirc, Isn't the lemmy.world vps around €200 PM?

Thanks for the instance and good work btw, I know it's not easy running this stuff.

[–] ruud 25 points 1 year ago (1 children)

Yeah 180, for now it's overkill but I prefer that over scaling up every day.

[–] ikidd 6 points 1 year ago* (last edited 1 year ago)
[–] AtHeartEngineer 3 points 1 year ago

Thanks for giving us a home

[–] [email protected] 4 points 1 year ago (1 children)

I have a small, private Lemmy site, a personal Calckey site, and some blogs that I run off of a VPS that I pay like $13/month for. The server is overkill by an order of magnitude for what I'm using it for. Based on current usage, I could support a few hundred active users without ever taking a dime from anyone, though I'm sure media expenses don't scale well. That said, there are collective media projects like Jortage out there that have the potentially to significantly reduce media hosting costs for small sites.

[–] V4uban 1 points 1 year ago

Jortage looks interesting, thanks for mentioning it

[–] AtHeartEngineer 2 points 1 year ago

I was also thinking of starting my own node, but if you look at how many instances there are, it's crazy. I think there should be some balance of consolidation and federation

[–] [email protected] 17 points 1 year ago

This sort of openness and transparency around finances and the need for donations should become the norm (however awesome it is to see from ruud).

IMO, with more transparency, the more normal it will seem to donate and the less grating it will be to ask for donations.

[–] s38b35M5 6 points 1 year ago

Don't forget to consider donating to developers of lemmy and/or your mobile app of choice!

[–] sumofchemicals 3 points 1 year ago

Just as an aside, when you started your post with "wow, such ..." I thought your were talking like a doge meme

[–] CitizenKong 8 points 1 year ago (2 children)

How is it possible to donate?

[–] mo_ztt 11 points 1 year ago (2 children)

Opencollective has a page. Recurring donations are usually more useful than one-time, but both are excellent.

[–] acchariya 1 points 1 year ago (4 children)

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)?

[–] [email protected] 1 points 1 year ago

As far as I can tell, the software just wasn't built with that in mind, so I would expect some kind of bugs or weird behavior like race conditions, etc. Nothing is stopping anyone from trying it to see what happens though I guess.

[–] mo_ztt 1 points 1 year ago

I am trying to start a project with a fairly ambitious goal, trying to take load off the central instance to reduce hosting costs (whether that comes in the form of a single powerful server or multiples pointed at the same DB). It's still in early form, but the core (trying to make it so running a Lemmy node is not too punishing on the main instance server) is an attempt to do the engineering to help accomplish exactly this.

[–] kabe 1 points 1 year ago* (last edited 1 year ago)

Both are possible. The server admin of lemm.ee chose to scale horizontally, although it seems that most go vertical.

https://lemm.ee/comment/154925

[–] [email protected] 1 points 1 year ago (1 children)

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.

[–] acchariya 1 points 1 year ago

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.

[–] cashews_win 1 points 1 year ago (1 children)

Why do you have a tick next to your name?

[–] mo_ztt 2 points 1 year ago* (last edited 1 year ago)

I subscribed to Ruud's Patreon, and it had a note that part of the benefits at the $8/month tier is you now get a checkmark next to your name (* if you go and edit your name to have a check mark next to it). I obeyed, partly because that's funny to me and partly in the hopes that more people subscribe. I've seen a couple other people with it as well.

[–] [email protected] 1 points 1 year ago

Cool info. Thanks for posting that.

[–] WhoRoger 1 points 1 year ago