Why Nostr? What is Njump?
2024-04-21 07:16:33

jonny (good kind) on Nostr: Hello fedi. i am trying to solve the "fetch all replies" problem once and for all ...

Hello fedi. i am trying to solve the "fetch all replies" problem once and for all that makes the fedi feel a lot more desolate and with a lot more reply guys in it than it should be. this is take two, where before i had it triggered by a button, but now i think it should happen on the server-side whenever you expand a post. can anyone help me out figure out how to make this more efficient by only fetching posts that the server doesn't already have? i am not sure what the best strategy would be, and if anyone with experience doing efficient rails and SQL stuff could give me some pointers that would be gr8. the patch is actually extremely simple it just needs a few nice things to make it not DDoS everyone.

https://github.com/NeuromatchAcademy/mastodon/pull/44

Issue that describes approach: https://github.com/NeuromatchAcademy/mastodon/issues/43
Wiki page: https://wiki.neuromatch.social/Fetch_All_Replies

#MastoDev #FediDev #FetchAllReplies
Author Public Key
npub1ljmfkwmllavdpnf5tgmrfay6mj4t78c0xryugfw4qka0c4exas0q2pw8tm