Skip to main content


Side-effect of a popular account on #Mastodon posting a link to your blog post: your web server “visits” spike as hundreds of Mastodon and Pleroma servers retrieve the link metadata, all within a minute. Yes, distributed doesn’t mean efficient…
Do we really, really need link previews across Fedi? Can we live without that extremely informative image next to the link highlighted in a small card? 🤔
OK, I'll try another tactics. From all Fedi users who admire customizable layouts, customizable user bans, customizable-everything-and-my-cat-please: "It's nice to make it optional". ;p
But this is at the server-level, not at the user-level. Servers generally fetch this information only once per link, and cache it locally. But there are so many individual Mastodon/Pleroma servers that it ends up overloading smaller websites for a short time after a link was shared publicly.
I think Socialhome project has a user-level option to turn generating the card off. Though this wouldn't help to handle the overload problem, as there're so many federating servers with different software.
Even if a user turns the card display off, the server will still fetch the link to display the card for any user who has this setting on.
Well, they do help understand what the link is about. But it might be doable in a less disruptive fashion. E.g. the origin server could supply this information, or the servers would agree on a subset of them to get this information for everybody else. 😀

About “the origin server could supply this information”, it’s true, but there is a prevalent web philosophy about getting the content from the source if you have its URI, even if you are provided the content in parallel. It’s true of ActivityPub where retrieving an object from the source server, for a boost for example, is preferred to using the content possibly included in the boost message.

As well as having the most up-to-date content, it helps verifying the authenticity of the message.

There are certainly reasons speaking in favor of the current model. These don’t make it efficient however. If Fediverse continues to grow, it will eventually (and rather soon) reach a point where the current model simply won’t be feasible – and be it because it essentially becomes a DDoS attack. So at least limited centralization will become unavoidable here.

Note that “verifying the authenticity” isn’t quite possible. The server might not see the same thing a user would.

@lightone

I agree this isn't efficient.

And I'm not sure about the exact workings of ActivityPub, but there are ways to retrieve content from a server the way a remote user would see it by providing some form of authentication in the request itself. This is how it is possible to exchange private user content between remote servers.