News for hackers. Stuff that matters.
Re:We tried to run a social media site and it was awful by JPLeRouzic on Wednesday January 25, 2023 @08:41AM (#34518111)
> "After just a month our barely visible Fediverse presence was taking up 160 gigabytes"
Re:We tried to run a social media site and it was awful by jherskovic on Wednesday January 25, 2023 @09:11AM (#34518427)
Federated content is copied to every instance, so yes, follow a few people and you can see your instance's disk usage explode. I run an instance for some friends.

The usage can be contained with a few cron jobs to purge old cached content aggressively. Running

`tootctl statuses remove && tootctl media remove` once a week is enough to make it sane in my case.

Re:We tried to run a social media site and it was awful by jherskovic on Wednesday January 25, 2023 @09:49AM (#34518857)
To add to this, you can also set it up so entire federated servers are followed, and it may be that way by default. So follow ONE person on mastodon.social, and suddenly your toy instance is trying to copy a significant chunk of the Fediverse to its hard drive in real time.
Re:We tried to run a social media site and it was awful by asmor on Wednesday January 25, 2023 @10:25AM (#34519300)
That's done via relay servers, you can't just firehose an entire server without its cooperation.
Re:We tried to run a social media site and it was awful by jherskovic on Wednesday January 25, 2023 @10:37AM (#34519480)
You're correct. I forgot about that. I did try relaying for a while, that's what made the usage REALLY explode.
Re:We tried to run a social media site and it was awful by smcl on Wednesday January 25, 2023 @08:53AM (#34518213)
The "160 gigabytes" text was linked to the Johnny Mnemonic wikipedia page, so it it possible they're just exaggerating and meant "it was growing at a rate we didn't expect or couldn't really sustain"?

This got me wondering, I created a Mastodon user @ defcon.social and my first couple of posts were images, just to test things out and get started with my chosen client - Ivory by Tapbots (the creators of Tweetdeck, RIP) after tptacek spoke glowingly of it here. Then I realised that by posting those I'm basically taking up space on a community service without paying for it, and I wasn't sure exactly what the etiquette was. On a commercial, monetised service like Twitter it's different as there are advertisers (or at least there were...) but afaik "defcon.social" is just a non-profit and I'd really like not to be a big cost sink.

Also I wondered if there's any overhead involved in following users across many different instances - if my @defcon.social user follows a bunch of users on various other instances does that place additional burden on their mastodon instance or just on my local client?

Might be time for me to read the defcon.social fine print and T&Cs (I only glanced over it) or even about Mastodon/ActivityPub generally...

Re:We tried to run a social media site and it was awful by UncleEntity on Wednesday January 25, 2023 @09:01AM (#34518310)
From what I can gather every follower gets an individual copy of every post sent to their server who either deduplicates it and stores it in their database or just stores the message per subscriber.

So if 10,000 people on server A subscribe to someone on server B then server B will send 10,000 duplicate messages to server A.

I hope I’m wrong but that’s what I’ve heard.

Re:We tried to run a social media site and it was awful by dpkirchner on Wednesday January 25, 2023 @09:07AM (#34518369)
Reminds me of:

> This program posts news to thousands of machines throughout the entire civilized world. You message will cost the net hundreds if not thousands of dollars to send everywhere. Please be sure you know what you are doing.

From the rn usenet client, back in the day.

Re:We tried to run a social media site and it was awful by dylan604 on Wednesday January 25, 2023 @10:35AM (#34519454)
Maybe if more people thought this, a lot less posts would be made. I'm guessing that would be a net positive for society in general.
Re:We tried to run a social media site and it was awful by cratermoon on Wednesday January 25, 2023 @10:49AM (#34519684)
> Maybe if more people thought this, a lot less posts would be made

This is why we can't have nice things: https://en.wikipedia.org/wiki/Laurence_Canter_and_Martha_Sie...

Re:We tried to run a social media site and it was awful by maegul on Wednesday January 25, 2023 @09:06AM (#34518360)
Oh my! I’d heard ActivityPub was chatty but haven’t looked into the details. This, if true, sounds … not good.

Anyone with expertise here who can speak to the scaling of ActivityPub?

Re:We tried to run a social media site and it was awful by mariusor on Wednesday January 25, 2023 @11:21AM (#34520180)
The size of an ActivityPub payload overhead is minimal.

On each individual server they are ideally saved based on their unique identifier (which are RFC3987 IRIs) and I doubt that there is any software that will do it individually for each inbox instead of storing one copy to which each inbox links to.

To minimize even this, each server can store just the IRI(which is mandated to be de-referenceable) and load the payload when prompted by UI. I doubt that anyone does this also.

Re:We tried to run a social media site and it was awful by maegul on Wednesday January 25, 2023 @05:53PM (#34525296)
Yes that makes sense! Thanks!
Re:We tried to run a social media site and it was awful by stnmtn on Wednesday January 25, 2023 @10:02AM (#34519037)
Why are tech people so behind mastodon? If this is true this sounds incredibly worrying to scale; to the point where mastodon is limiting it's own growth potential
Re:We tried to run a social media site and it was awful by dylan604 on Wednesday January 25, 2023 @10:36AM (#34519470)
If. Did you research if this was true before posting a knee jerk reaction to something that might not be true? If not, you are no better than the person that posted the misleading comment.
Re:We tried to run a social media site and it was awful by smcl on Wednesday January 25, 2023 @10:48AM (#34519672)
Remember there's a fair bit of speculation here, I just thoughtlessly blasted my question here without researching (not sure where to start, tbh) and UncleEntity didn't seem too sure about the duplicated/redundant requests. It's entirely possible that Mastodon doesn't have this problem
Re:We tried to run a social media site and it was awful by librexpr on Wednesday January 25, 2023 @10:06AM (#34519092)
I wish people wouldn't spread rumors like this. ActivityPub does have shared inboxes[0] and Mastodon does use them[1], so no duplicate messages will be sent in your example.

[0] https://www.w3.org/TR/activitypub/#x7-1-3-shared-inbox-deliv...

[1] https://github.com/mastodon/mastodon/blob/a5a00d7f7adff5e0af...

Re:We tried to run a social media site and it was awful by jabroni_salad on Wednesday January 25, 2023 @10:06AM (#34519094)
I mainly use twitter to keep tabs on some artists and none of them want to move. Reading this, maybe it is for the best. My follows would create a lot of overhead for wherever it is I park my account compared to someone who just participates in text.
Re:We tried to run a social media site and it was awful by KaiserPro on Wednesday January 25, 2023 @12:28PM (#34521247)
I have my own instance, and it eats disk space, in a fun and sometimes difficult to recover way.

It caches all media that you view, and I assume it might prefetch stuff to. It has a tool that prunes out old cached images and such. However that script isn't setup to run automatically (or if it is, its far too loosey-goosey)

However the biggest killer is that it doesn't clear cached user page header images. Here is the output of my cache. Headers are not cleaned, and need to be deleted manually.

  Attachments: 1.43 GB (8.19 MB local)
  Custom emoji: 61.9 MB (0 Bytes local)
  Preview cards: 344 MB
  Avatars: 3.01 GB (71.7 KB local)
  Headers: 6.69 GB (172 KB local)
  Backups: 0 Bytes
  Imports: 0 Bytes
  Settings: 36.2 KB
Re:We tried to run a social media site and it was awful by ceejayoz on Wednesday January 25, 2023 @08:55AM (#34518241)
That's $3/month on S3.

My personal instance has been up two months with 12 GB space used, but only 88 MB of that is my stuff; the rest is just the cache of others' posts. That can be fairly aggressively cleared out, and I think Mastodon lets you configure an automatic purging of this data.

Re:We tried to run a social media site and it was awful by smcl on Wednesday January 25, 2023 @09:02AM (#34518327)
I was very tempted to create and operate an instance for me and my friends, since Digital Ocean have a nice pre-built image that's ready to go, but it never left the "that would be fun, I should read into that" phase. I hope you don't mind but I'm about to fire off a bunch of questions - if you're too busy to answer just don't feel like answering, I won't feel offended :) How are you finding it, is it just yourself or do you have a few more users? Do you have to deal with abuse/spam much? Also what kind of hardware do you have it on - is it pretty memory/cpu hungry ever or is it quite well-behaved?
Re:We tried to run a social media site and it was awful by ceejayoz on Wednesday January 25, 2023 @09:05AM (#34518348)
Mine's on masto.host, so it's managed; costs me a few bucks a month and I'm happy with it. It's just for me, so all my follows are federated; as such, spam/abuse has been non-existent.
Re:We tried to run a social media site and it was awful by smcl on Wednesday January 25, 2023 @09:13AM (#34518438)
Ah I hadn't heard of masto.host, ok that's another thing to look into. Thanks!
Re:We tried to run a social media site and it was awful by yabones on Wednesday January 25, 2023 @09:30AM (#34518640)
2 cores and 4 GB memory is more than adequate for a <10 users. My instance runs on an old Celeron NUC sitting on the shelf above the litter box and connects to the internet through a cloudflare tunnel. Works great, and is basically free to run.
Re:We tried to run a social media site and it was awful by smcl on Wednesday January 25, 2023 @09:50AM (#34518869)
Ah funny, I didn't think to look if there was tunneling that let me serve local stuff publicly (I have a NUC tucked away somewhere in my flat, I had it serving some stuff thru SSH tunneling to a Digital Ocean droplet until I realised "why am I not just running this on my droplet?")
Re:We tried to run a social media site and it was awful by asmor on Wednesday January 25, 2023 @10:27AM (#34519322)
Akkoma is a very good option if you're concerned about resource usage. I proxy media from other servers and then let it hit a managed CDN (bunny.net in this case). My CDN bill is less than 10 cents per month.