What happens when you have your own Mastodon instance (just for you) where over 21,000 people follow you and when you’re following over 4,300 people?

You end up paying ~€50/month for Mastodon hosting 👀

It also opens up interesting questions: what happens when a popular account joins your instance (hint: it will probably cost the instance maintainers quite a bit… I don’t envy the mastodon.nu folks right now).

#fediverse #mastodon

in reply to Aral Balkan

This stuff is never free anywhere but the scale of Big Tech insulates you from it somewhat.

I actually think it’s good to be reminded that our ability to communicate comes with a cost – in terms of resources, environmental impact, etc., not just money.

But, equally, it also makes the case that a system optimised to host hundreds of thousands of people on a single instance is not also somehow magically optimised to host just one person.

The latter is the problem I’m exploring with #SmallWeb.

in reply to Aral Balkan

> But, equally, it also makes the case that a system optimised to host hundreds of thousands of people on a single instance is not also somehow magically optimised to host just one person.

IDK; one of the major backends on the #Fediverse is #Pleroma and its cousins, which despite being more efficient (thus scaling better) than #Mastodon, it's largely used for single-instance users.

in reply to Aral Balkan

Great food for thought regarding Fediverse economics. I think it makes for a compelling argument to investigate Mastodon alternatives.

I’m considering starting a Pleroma instance. It seems to be a lighter weight option, and for whatever feature parity it misses with Mastodon, might make up for that fact being compatible with Mastodon client apps. pleroma.social/

in reply to Aral Balkan

You can find much better deals by running your own VPS. I have a 3CPU/2.5GB/40GBSSD/6.5TB-bandwidth-er-month VPS running my instance and it costs me US$24 per *year*. See lowendbox.com/blog/2-usd-vps-c…
in reply to Aral Balkan

One of my first thoughts was to find out how much my use of the system costs the maintainers, then kick back 7-10x of that to do more than just defray costs. Not everyone is in a position to pay, plus turnover, expansion, and resiliency isn't free but nor is it easily factored into costs. I don't know how a system is sustainable without being up front about its costs and needs.
in reply to Aral Balkan

I was just trying to get a handle on where the costs were for your plan. Media storage would normally be the killer, I would have thought, if hosting stuff for others. But if it's just 'busy' because of all your users I guess there's lots of network traffic.

I just thought it a lot of money given the costs of a small OVH VPS self host sort of approach which is less than £5 a month (40Gb storage and unlimited traffic).

in reply to Aral Balkan

it feels like a lot of what it must be doing is the same as all the other instances out there are doing, give or take different overlapping sets of data.

That doesn’t feel very efficient, but it also feels like a space where a cooperative caching layer could sit; one that is contributed to by all, without needing to being owned by anyone. Sort of like a CDN in that it’s used if available, but not required for the server to work.

in reply to Aral Balkan

wouldn't it fit on a 4 GB mem, 2 core VPC? I am considering a lightsail instance with 2 GB mem and 1 core VPC since I do not have that much activity. I plan to install without docker, plain mastodon + postgress DB + hardened_malloc + Nginx reverse procy. See pricing aws.amazon.com/lightsail/prici… which may reduce your montly bill considerably.
in reply to Aral Balkan

one specific tip: create more processes rather than more threads for sidekiq. @joenepraat wrote up what he did (and most scaling instances do): github.com/mastodon/mastodon/d…
in reply to Aral Balkan

I think that this sort of problem scales out much better if you are on a shared instance.

The way I understand it, instances share content with each other when needed. So if you are following 4k people, but 3k of those have already been followed by others on your instance, you share that traffic :>

Plus, instance-internal follows are cheap, and you get a more even usage of your resources rather than "mostly nothing until someone very popular posts"

in reply to Aral Balkan

I think this is the biggest potential problem (very real problem we’re starting to see) with the fediverse in general… a large number of connections grows the federation and communication required exponentially, not linearly. This is difficult enough to deal with in a centralized network, but in a distributed one it becomes an even more complex challenge.

Scaling this thing is going to be fun.

in reply to Aral Balkan

RSS 19.6GB! I've been watching this value on my server as we hit RAM limits recently. The docs say, "Typically a Sidekiq process will start at some relatively small value and reach some steady state value where RAM usage remains flat. If your RSS never stops growing, that can indicate you have a memory leak somewhere!" I wonder, did yours slowly grow to almost 20GB?
in reply to Aral Balkan

Some historical perspective: back in 1998 I had a popular personal website that got 100,000 visitors a month, mostly static content, and it cost me several hundred dollars/month (plus hardware costs in the tens of thousands) to host (I ended up getting a full rack/10megabit feed with about 7 4U servers and then 2 Sun 1U's). The fact that this is even possible now for €50/month is a massive improvement.
in reply to Aral Balkan

Couldn't you have this running on your residential Internet connection? Server under the desk, domain, dynamic DNS?

What's the big deal about having 20,000 followers? If you're the only user on your own node and you Toot to 20,000 followers, doesn't it work similarly to a multi-cast, sending only a tiny amount of traffic to the peer nodes? Surely your node doesn't sit there looping from 0 to 19999, sending a separate toot to every follower.

in reply to Aral Balkan

Yes, running single-user instances of Mastodon is resource-intensive.

I don't think hosting costs scale with followers though. My single-person instance with 1500 accounts has tripled its followers in a week and it's comfortably within the resources available to it with 25 €/month of expenses. Load has barely changed.
respublicae.eu/@praetor/109295…

Moderation and other #MastoAdmin costs however scale with the number of eyeballs, I suppose.

in reply to Nemo_bis 🌈

@nemobis To me the most urgent question is that of (useless) storage consumption. Having started my instance-of-one a little over a week ago and I already collected 10 GB out of the 20 GB @mastohost is providing in his baseplan. It‘s nuts. How do you guys handle that? I thought having 20 GB of storage for myself should work just fine - at least for a longer period of time and not only for two weeks. Or do I miss out on something? Thanks.