4 ms·
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 j
by UncleEntity 4y ago
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.
- stnmtn 4y agoWhy 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
- dylan604 4y agoIf. 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.
- smcl 4y agoRemember 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
- maegul 4y agoOh 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?
- mariusor 4y agoThe 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.
- maegul 4y agoYes that makes sense! Thanks!
- dpkirchner 4y agoReminds 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.
- dylan604 4y agoMaybe 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.
- cratermoon 4y ago> 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_Siegel https://en.wikipedia.org/wiki/Laurence_Canter_and_Martha_Sie...
- librexpr 4y agoI 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-delivery https://www.w3.org/TR/activitypub/#x7-1-3-shared-inbox-deliv... [1] https://github.com/mastodon/mastodon/blob/a5a00d7f7adff5e0afbd23ac1e1b16120137509a/app/models/account.rb#L385 https://github.com/mastodon/mastodon/blob/a5a00d7f7adff5e0af...