Ancestors

Written by CMDR Yojimbosan ⁂ on 2025-01-10 at 00:03

A Mastodon server probably shouldn't pre-fetch media in the toots it receives.

Instead, make the clients request the media from their local server, if it isn't present then the client does a direct request to the source, then sends the result back to their local server for other people to use.

Opportunity for shenanigans of course, if this first client decides to hand back something incorrect. However, you could defend against this in a number of ways, such as random client cache misses to make sure your user population converges on truth, or for smaller servers with a community-oriented base, just accept it.

This seems much more "distributed" than having a central server responsible for everything.

=> More informations about this toot | More toots from yojimbo@hackers.town

Written by saxnot on 2025-01-10 at 00:07

@yojimbo what you describe is a hash check

=> More informations about this toot | More toots from saxnot@chaos.social

Written by CMDR Yojimbosan ⁂ on 2025-01-10 at 01:23

@saxnot That's certainly one way to do part of the check.

Things get complicated when you consider that any of the clients submitting their media for local cache might be lying; and when the upstream changes the contents available from the URI.

If upstream only published content using a content hash as an identifier ... that would be interesting.

=> More informations about this toot | More toots from yojimbo@hackers.town

Written by saxnot on 2025-01-10 at 08:11

@yojimbo i'm not saying this

in fact I think it makes no sense what you propose.

=> View attached media

=> More informations about this toot | More toots from saxnot@chaos.social

Toot

Written by CMDR Yojimbosan ⁂ on 2025-01-10 at 08:18

@saxnot /shrug that's OK, I didn't put much longer into thinking about the suggestion than it took me to type. And already I've had a few helpful comments in response, so that's good too. I don't need to be "right" all the time :-)

=> More informations about this toot | More toots from yojimbo@hackers.town

Descendants

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113803073152070960
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
249.858498 milliseconds
Gemini-to-HTML Time
1.358815 milliseconds

This content has been proxied by September (ba2dc).